Zaktualizuj 'Jenkinsfile_evaluate'

This commit is contained in:
Michał Dudziak 2023-05-10 17:35:53 +02:00
parent 3df3df27ba
commit 06c10fa617

View File

@ -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'
}
} }
}
}
}