From 8e2c16db7a286a837283e3f114f6e402a73594ab Mon Sep 17 00:00:00 2001 From: Gabriele C Date: Sun, 18 Mar 2018 20:15:56 +0100 Subject: [PATCH] Keep it simple for now --- Jenkinsfile | 32 +------------------------------- 1 file changed, 1 insertion(+), 31 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 33ed87483..3a74c1c00 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -38,37 +38,7 @@ pipeline { always { junit 'target/surefire-reports/*.xml' jacoco(execPattern: '**/**.exec', classPattern: '**/classes', sourcePattern: '**/src/main/java') - } - } - } - stage ('sources') { - when { - branch "master" - } - steps { - sh 'mvn source:jar' - } - post { - success { - archiveArtifacts artifacts: 'target/*-souces.jar', fingerprint: true - } - } - } - stage ('javadoc') { - when { - branch "master" - } - steps { - sh 'mvn javadoc:javadoc javadoc:jar' - } - post { - success { - step([ - $class: 'JavadocArchiver', - javadocDir: 'target/site/apidocs', - keepAll: true - ]) - archiveArtifacts artifacts: 'target/*-javadoc.jar', fingerprint: true + archiveArtifacts artifacts: 'target/*.jar', fingerprint: true } } }