Skip to content

Commit

Permalink
ci: Update Jenkinsfile (#1805)
Browse files Browse the repository at this point in the history
Signed-off-by: 梦里不知身是客 <liang.tang.cx@gmail.com>
  • Loading branch information
unknowIfGuestInDream authored Nov 10, 2024
1 parent aebb7c8 commit 51e07f3
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ pipeline {

stage('Prepare Windows Build') {
steps {
sh "$M2_HOME/bin/mvn -f pom.xml -s $M2_HOME/conf/settings.xml -Djavafx.platform=win -Dmaven.test.skip=true -Dmaven.javadoc.skip=true clean install"
timeout(time: 10, unit: 'MINUTES') {
sh "$M2_HOME/bin/mvn -f pom.xml -s $M2_HOME/conf/settings.xml -Djavafx.platform=win -Dmaven.test.skip=true -Dmaven.javadoc.skip=true clean install"
}
}
}

Expand Down Expand Up @@ -144,7 +146,9 @@ rm -r license'''

stage('Prepare Mac Build') {
steps {
sh "$M2_HOME/bin/mvn -f pom.xml -s $M2_HOME/conf/settings.xml -Djavafx.platform=mac -Dmaven.test.skip=true -Dmaven.javadoc.skip=true clean install"
timeout(time: 10, unit: 'MINUTES') {
sh "$M2_HOME/bin/mvn -f pom.xml -s $M2_HOME/conf/settings.xml -Djavafx.platform=mac -Dmaven.test.skip=true -Dmaven.javadoc.skip=true clean install"
}
}
}

Expand Down Expand Up @@ -234,7 +238,9 @@ rm -r license'''

stage('Prepare Linux Build') {
steps {
sh "$M2_HOME/bin/mvn -f pom.xml -s $M2_HOME/conf/settings.xml -Djavafx.platform=linux -Dmaven.test.skip=true -Dmaven.javadoc.skip=true clean install"
timeout(time: 10, unit: 'MINUTES') {
sh "$M2_HOME/bin/mvn -f pom.xml -s $M2_HOME/conf/settings.xml -Djavafx.platform=linux -Dmaven.test.skip=true -Dmaven.javadoc.skip=true clean install"
}
}
}

Expand Down

0 comments on commit 51e07f3

Please sign in to comment.