fix
This commit is contained in:
parent
181da9d9dc
commit
ef06772389
@ -30,7 +30,7 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage('Archive file') {
|
stage('Archive file') {
|
||||||
steps {
|
steps {
|
||||||
sh "docker cp \$(docker ps -l -q):/app/output.txt ${env.WORKSPACE}"
|
sh "docker cp $(docker ps -aq -f status=exited -f ancestor=nbrt10/ium:v1 | head -n 1):/app/output.txt ${env.WORKSPACE}"
|
||||||
archiveArtifacts artifacts: 'output.txt', fingerprint: true
|
archiveArtifacts artifacts: 'output.txt', fingerprint: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user