jenkinsfile: restore everything
This commit is contained in:
parent
f95d59a02c
commit
e4c60903e4
|
@ -6,25 +6,23 @@ pipeline {
|
|||
stages {
|
||||
stage('Unit Tests') {
|
||||
steps {
|
||||
echo "sh 'tox -rv'"
|
||||
sh 'tox -rv'
|
||||
}
|
||||
post {
|
||||
always {
|
||||
script {
|
||||
utils = new Utils()
|
||||
// utils.publish_coverage('coverage.xml')
|
||||
// utils.publish_coverage_native('index.html')
|
||||
// utils.publish_pylint('pylint.out')
|
||||
utils.publish_coverage('coverage.xml')
|
||||
utils.publish_coverage_native('index.html')
|
||||
utils.publish_pylint('pylint.out')
|
||||
}
|
||||
echo "junit '*_results.xml'"
|
||||
junit '*_results.xml'
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Packaging') {
|
||||
steps {
|
||||
script {
|
||||
echo "current job: ${env.JOB_NAME}"
|
||||
echo "current branch: ${env.GIT_BRANCH}"
|
||||
if (env.JOB_NAME == 'combo' && env.GIT_BRANCH == 'origin/master') {
|
||||
sh 'sudo -H -u eobuilder /usr/local/bin/eobuilder -d stretch combo'
|
||||
} else if (env.GIT_BRANCH.startsWith('hotfix/')) {
|
||||
|
|
Loading…
Reference in New Issue