summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2019-07-02 10:24:54 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2019-07-02 10:24:54 (GMT)
commite4c60903e491e0a5cd05cf209bf495e8c1c56173 (patch)
treea41ed9b26b883452e2b082cbc4393426d2292618
parentf95d59a02c1d3196eddd685d77ecbded0f7af5fd (diff)
downloadcombo-e4c60903e491e0a5cd05cf209bf495e8c1c56173.zip
combo-e4c60903e491e0a5cd05cf209bf495e8c1c56173.tar.gz
combo-e4c60903e491e0a5cd05cf209bf495e8c1c56173.tar.bz2
jenkinsfile: restore everything
-rw-r--r--Jenkinsfile12
1 files changed, 5 insertions, 7 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index faee6ec..ceb105c 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -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/')) {