2022-01-08 20:23:08 +00:00
|
|
|
pipeline {
|
|
|
|
agent any
|
|
|
|
stages {
|
|
|
|
stage('setup') {
|
|
|
|
steps {
|
|
|
|
sh 'git checkout delta'
|
|
|
|
sh 'git reset --hard origin/delta'
|
2022-01-20 02:01:43 +00:00
|
|
|
sshagent(['359ebf7c-e2b9-45ec-992c-ff8d5549deb6']) {
|
2022-01-08 20:23:08 +00:00
|
|
|
sh 'git fetch --prune --prune-tags'
|
|
|
|
sh 'git pull --force origin delta'
|
|
|
|
}
|
|
|
|
sh 'git clean -fd'
|
|
|
|
}
|
|
|
|
}
|
2022-01-09 06:04:25 +00:00
|
|
|
stage('test') {
|
2022-01-08 20:23:08 +00:00
|
|
|
steps {
|
|
|
|
sh './testrun.sh'
|
|
|
|
logParser failBuildOnError: true, projectRulePath: 'Jenkinsparse', parsingRulesPath: 'Jenkinsparse', showGraphs: true, unstableOnWarning: true, useProjectRule: true
|
|
|
|
sh 'git reset --hard'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|