dodanie metryk do jenkinsfile
This commit is contained in:
parent
0fb1f18541
commit
dd50228f6c
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -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'
|
||||||
|
Loading…
Reference in New Issue
Block a user