dodanie metryk do jenkinsfile

This commit is contained in:
alicja.m.musial 2020-04-03 14:07:46 +02:00
parent 0fb1f18541
commit dd50228f6c

6
Jenkinsfile vendored
View File

@ -21,6 +21,12 @@ pipeline {
sh label: 'count', script: './count.sh' sh label: 'count', script: './count.sh'
} }
} }
stage('Run metrics counter'){
steps{
sh('chmod +x ./metrics.sh')
sh label: 'count', script: './metrics.sh'
}
}
stage('Archive artifacts') { stage('Archive artifacts') {
steps { steps {
archiveArtifacts 'wynik.txt' archiveArtifacts 'wynik.txt'