rsemcs/Jenkinsfile

25 lines
770 B
Groovy

pipeline {
agent any
stages {
stage('startup and shutdown check') {
steps {
sh './testrun.sh'
logParser failBuildOnError: true, projectRulePath: 'Jenkinsparse', parsingRulesPath: 'Jenkinsparse', showGraphs: true, unstableOnWarning: true, useProjectRule: true
sh 'git reset --hard'
}
}
stage('queue') {
when {
branch '**/delta'
}
steps {
sh 'git checkout master'
sh 'git merge --strategy-option theirs origin/delta'
sshagent(['359ebf7c-e2b9-45ec-992c-ff8d5549deb6']) {
sh 'git push origin master'
}
}
}
}
}