Skip to content

Commit

Permalink
try splitting deploy goal
Browse files Browse the repository at this point in the history
Signed-off-by: Cai Yufei <Yufei.Cai@bosch-si.com>
  • Loading branch information
yufei-cai committed Dec 29, 2017
1 parent 3f9a0fa commit c9266f0
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions Jenkinsfile
Expand Up @@ -22,9 +22,21 @@ node {
maven: 'maven-3.5.2',
mavenLocalRepo: theMvnRepo) {

sh "mvn clean javadoc:jar source:jar install deploy:deploy" +
sh "mvn clean install" +
" -T16 --batch-mode --errors" +
" -Pbuild-documentation,internal-repos -DcreateJavadoc=true"
" -Pinternal-repos"
}
}

stage('Deploy') {
withMaven(
maven: 'maven-3.5.2',
mavenLocalRepo: theMvnRepo) {

sh "mvn javadoc:jar source:jar package deploy:deploy" +
" --batch-mode --errors" +
" -Pbuild-documentation,internal-repos -DcreateJavadoc=true" +
" -DskipTests=true -DskipITs=true"
}
}
}

0 comments on commit c9266f0

Please sign in to comment.