fix
This commit is contained in:
parent
dc90bec6be
commit
f9789a944f
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -61,13 +61,13 @@ pipeline {
|
|||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
// Uruchamia instancje obrazu ium i uruchomienie skryptu w kontenerze
|
// 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') {
|
stage('Archive file') {
|
||||||
steps {
|
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
|
archiveArtifacts artifacts: 'output.txt, diamonds.csv', fingerprint: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user