diff --git a/Jenkinsfile b/Jenkinsfile index d4a9414..a0d8323 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -61,9 +61,9 @@ pipeline { steps { script { // Uruchamia instancje obrazu ium - sh "docker run -v ${env.WORKSPACE}/artifacts:/app/artifacts ium" + sh "docker run -d -v ${env.WORKSPACE}/artifacts:/app/artifacts ium" // Uruchomienie skryptu w kontenerze - sh "python3 ./s487175-create-dataset-script.py >> output.txt" + sh "docker exec ium python3 /app/s487175-create-dataset-script.py >> /app/artifacts/output.txt" } } }