Zaktualizuj 'Jenkinsfile_evaluate'
This commit is contained in:
parent
3df3df27ba
commit
06c10fa617
@ -10,10 +10,11 @@ pipeline {
|
||||
}
|
||||
stage('Archive metrics') {
|
||||
steps{
|
||||
script {
|
||||
def containerId = sh(script: 'docker ps -l -q', returnStdout: true).trim()
|
||||
sh "docker cp ${containerId}:/app/metrics.txt ."
|
||||
archiveArtifacts 'metrics.txt'
|
||||
}
|
||||
} }
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user