This commit is contained in:
Ionel Andrei Cataon
2026-02-12 16:52:15 +02:00
parent b58666ead4
commit dc045aeb94
2 changed files with 20 additions and 20 deletions

View File

@@ -23,7 +23,7 @@ pipeline {
dir('project2') {
try {
// 3. Rulăm cu DNS forțat pentru a evita "NameResolutionError"
sh "docker run --name quotes-worker --network host --dns 8.8.8.8 quotes-app"
sh "docker run --name quotes-worker --dns 8.8.8.8 quotes-app"
// 4. Extragem rezultatul
sh "docker cp quotes-worker:/app/quote.txt ."