File tree Expand file tree Collapse file tree 1 file changed +14
-19
lines changed
Expand file tree Collapse file tree 1 file changed +14
-19
lines changed Original file line number Diff line number Diff line change 11#! /usr/bin/env groovy
22
3- /* Only keep the 10 most recent builds. */
4- properties([[$class : ' BuildDiscarderProperty' ,
5- strategy : [$class : ' LogRotator' , numToKeepStr : ' 10' ]]])
6-
7-
83node(' java' ) {
9- timestamps {
10- stage(' Checkout' ) {
11- checkout scm
12- }
4+ timestamps {
5+ stage(' Checkout' ) {
6+ checkout scm
7+ }
138
14- stage(' Build' ) {
15- withEnv([
16- " JAVA_HOME=${ tool 'jdk17'} " ,
17- " PATH+MVN=${ tool 'mvn'} /bin" ,
18- ' PATH+JDK=$JAVA_HOME/bin' ,
19- ]) {
20- timeout(30 ) {
21- sh ' mvn clean install versions:display-plugin-updates'
9+ stage(' Build' ) {
10+ withEnv([
11+ " JAVA_HOME=${ tool 'jdk25'} " ,
12+ " PATH+MVN=${ tool 'mvn'} /bin" ,
13+ ' PATH+JDK=$JAVA_HOME/bin' ,
14+ ]) {
15+ timeout(30 ) {
16+ sh ' mvn clean install versions:display-plugin-updates'
17+ }
18+ }
2219 }
23- }
2420 }
25- }
2621}
You can’t perform that action at this time.
0 commit comments