fix sh command

This commit is contained in:
Karol Cyganik 2024-04-03 08:53:46 +02:00
parent cce7868f93
commit 84e7651884

View File

@ -32,7 +32,7 @@ pipeline {
steps { steps {
// run python3 main.py inside docker created from dockerfile in iumKC directory // run python3 main.py inside docker created from dockerfile in iumKC directory
sh "docker build -t iumkc ." sh "docker build -t iumkc ."
sh "docker run -v $(pwd):/app iumkc python3 main.py" sh "docker run -v ${PWD}:/app iumkc python3 main.py"
} }
} }
} }