diff --git a/Jenkinsfile b/Jenkinsfile index c30d3ae..e0c8921 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -61,13 +61,13 @@ pipeline { steps { script { // Uruchamia instancje obrazu ium i uruchomienie skryptu w kontenerze - sh "docker run --name ium -e CUTOFF=${params.CUTOFF} ium python3 /app/s487175-create-dataset-script.py >> output.txt" + sh "docker run -e CUTOFF=${params.CUTOFF} ium python3 /app/s487175-create-dataset-script.py >> output.txt" } } } stage('Archive file') { steps { - sh "docker cp ium:/app/diamonds.csv ${env.WORKSPACE}" + sh "docker cp \$(docker ps -l -q):/app/diamonds.csv ${env.WORKSPACE}" archiveArtifacts artifacts: 'output.txt, diamonds.csv', fingerprint: true } }