We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3c1a73 commit 44dcaecCopy full SHA for 44dcaec
Jenkinsfile
@@ -12,6 +12,7 @@ pipeline {
12
stage('Build') {
13
steps {
14
script {
15
+ env.JAVA_HOME = tool('JDK 8')
16
def mvnHome = tool 'Maven'
17
sh "${mvnHome}/bin/mvn clean install -Dmaven.test.failure.ignore=true"
18
junit '**/target/*-reports/*.xml'
@@ -27,6 +28,7 @@ pipeline {
27
28
29
configFileProvider([configFile(fileId: 'maven-settings-with-deploy-snapshot', variable: 'MAVEN_SETTINGS')]) {
30
31
32
33
sh "${mvnHome}/bin/mvn deploy -s $MAVEN_SETTINGS -DskipTests"
34
}
0 commit comments