rsemcs/Jenkinsfile

20 lines
571 B
Groovy

pipeline {
agent any
stages {
stage('setup') {
steps {
sh 'git checkout delta'
sh 'git reset --hard origin/delta'
sh 'git clean -fd'
}
}
stage('startup check') {
steps {
sh './testrun.sh'
logParser failBuildOnError: true, projectRulePath: 'Jenkinsparse', parsingRulesPath: 'Jenkinsparse', showGraphs: true, unstableOnWarning: true, useProjectRule: true
sh 'git reset --hard'
}
}
}
}