p2
This commit is contained in:
@@ -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 ."
|
||||
|
||||
Reference in New Issue
Block a user