@@ -12,7 +12,6 @@ def boolean onlyDocumentationFilesChangedIn(String workDirectory) {
1212}
1313
1414node {
15-
1615 properties([
1716 disableConcurrentBuilds(abortPrevious : true ),
1817 buildDiscarder(logRotator(artifactDaysToKeepStr : ' ' , artifactNumToKeepStr : ' 2' , daysToKeepStr : ' ' , numToKeepStr : ' 5' )),
@@ -37,16 +36,11 @@ node {
3736 return
3837 }
3938
40- def buildType = ' install'
41- if (" ${ env.BRANCH_NAME} " . equals(' develop' )) {
42- buildType = ' deploy'
43- }
44-
4539 stage(' Build target-platform' ) {
4640 timeout(time : 1 , unit : ' HOURS' ) {
4741 dir(" kura" ) {
4842 withMaven(jdk : ' temurin-jdk17-latest' , maven : ' apache-maven-3.9.6' ) {
49- sh " mvn -f target-platform/pom.xml clean ${ buildType } -Pno-mirror -Pcheck-exists-plugin"
43+ sh " mvn -f target-platform/pom.xml clean install -Pno-mirror -Pcheck-exists-plugin"
5044 }
5145 }
5246 }
5650 timeout(time : 2 , unit : ' HOURS' ) {
5751 dir(" kura" ) {
5852 withMaven(jdk : ' temurin-jdk17-latest' , maven : ' apache-maven-3.9.6' ) {
59- sh " mvn -f kura/pom.xml -Dsurefire.rerunFailingTestsCount=3 clean ${ buildType } -Pcheck-exists-plugin"
53+ sh " mvn -f kura/pom.xml -Dsurefire.rerunFailingTestsCount=3 clean install -Pcheck-exists-plugin"
6054 }
6155 }
6256 }
7670 timeout(time : 1 , unit : ' HOURS' ) {
7771 dir(" kura" ) {
7872 withMaven(jdk : ' temurin-jdk17-latest' , maven : ' apache-maven-3.9.6' ) {
79- sh " mvn -f kura/examples/pom.xml clean ${ buildType } -Pcheck-exists-plugin"
73+ sh " mvn -f kura/examples/pom.xml clean install -Pcheck-exists-plugin"
8074 }
8175 }
8276 }
0 commit comments