jenkinsfile: restore everything

This commit is contained in:
Frédéric Péters 2019-07-02 12:24:54 +02:00
parent f95d59a02c
commit e4c60903e4
1 changed files with 5 additions and 7 deletions

12
Jenkinsfile vendored
View File

@ -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/')) {