mirror of https://github.com/apache/maven.git
parent
b4476a300f
commit
13cf1aa119
|
@ -54,12 +54,12 @@ node(jenkinsEnv.nodeSelection(osNode)) {
|
||||||
"PATH+MAVEN=${ tool "$jdkName" }/bin:${tool "$mvnName"}/bin",
|
"PATH+MAVEN=${ tool "$jdkName" }/bin:${tool "$mvnName"}/bin",
|
||||||
"MAVEN_OPTS=-Xms2g -Xmx4g -Djava.awt.headless=true"]) {
|
"MAVEN_OPTS=-Xms2g -Xmx4g -Djava.awt.headless=true"]) {
|
||||||
sh "mvn clean ${MAVEN_GOAL} -B -U -e -fae -V -Dmaven.test.failure.ignore -PversionlessMavenDist -Dmaven.repo.local=${WORK_DIR}/.repository"
|
sh "mvn clean ${MAVEN_GOAL} -B -U -e -fae -V -Dmaven.test.failure.ignore -PversionlessMavenDist -Dmaven.repo.local=${WORK_DIR}/.repository"
|
||||||
sh "mv apache-maven/target/apache-maven-*-bin.zip apache-maven-dist.zip"
|
sh "mv apache-maven/target/apache-maven-bin.zip apache-maven-dist.zip"
|
||||||
stash includes: 'apache-maven-dist.zip', name: 'dist'
|
stash includes: 'apache-maven-dist.zip', name: 'dist'
|
||||||
}
|
}
|
||||||
} finally {
|
} finally {
|
||||||
junit testResults: '**/target/surefire-reports/*.xml', allowEmptyResults: true
|
junit testResults: '**/target/surefire-reports/*.xml', allowEmptyResults: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
2
pom.xml
2
pom.xml
|
@ -24,7 +24,7 @@ under the License.
|
||||||
<groupId>org.apache.maven</groupId>
|
<groupId>org.apache.maven</groupId>
|
||||||
<artifactId>maven-parent</artifactId>
|
<artifactId>maven-parent</artifactId>
|
||||||
<version>38</version>
|
<version>38</version>
|
||||||
<relativePath/>
|
<relativePath />
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<artifactId>maven</artifactId>
|
<artifactId>maven</artifactId>
|
||||||
|
|
Loading…
Reference in New Issue