You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jenkinsfile_play/Jenkinsfile

39 lines
620 B

6 years ago
pipeline {
agent any
6 years ago
parameters {
booleanParam(defaultValue: true, description: 'blabla?', name: 'userFlag')
}
6 years ago
stages {
stage("foo") {
steps {
echo "flag: ${params.userFlag}"
}
6 years ago
post {
always {
echo 'One way or another, I have finished'
}
success {
echo 'I succeeeded!'
}
unstable {
echo 'I am unstable :/'
}
failure {
echo 'I failed :('
}
changed {
echo 'Things were different before...'
}
}
}
6 years ago
stage('archiving test results') {
junit: 'testresults.xml'
6 years ago
}
6 years ago
}
}