Zaktualizuj 'Jenkinsfile_evaluate'

This commit is contained in:
Michał Dudziak 2023-05-10 17:53:58 +02:00
parent d72ce5076a
commit 26c43b6b17

View File

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