22 lines
403 B
Plaintext
22 lines
403 B
Plaintext
pipeline {
|
|
agent {
|
|
docker {
|
|
image 'kubakonieczny/ium'
|
|
}
|
|
}
|
|
stages {
|
|
stage('docker') {
|
|
steps {
|
|
sh '''
|
|
./script.sh >> stats.txt
|
|
'''
|
|
}
|
|
}
|
|
stage('archive artifacts') {
|
|
steps {
|
|
archiveArtifacts 'stats.txt'
|
|
}
|
|
}
|
|
}
|
|
}
|