Zaktualizuj 'Jenkinsfile_evaluate'
This commit is contained in:
parent
d72ce5076a
commit
26c43b6b17
@ -10,11 +10,8 @@ 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