Skip to content

Commit 9c84ea9

Browse files
authored
Merge pull request spring-projects#1 from aurcame/patch-1
Update Jenkinsfile
2 parents 5019fe9 + b010053 commit 9c84ea9

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

Jenkinsfile

+7-9
Original file line numberDiff line numberDiff line change
@@ -3,35 +3,33 @@ pipeline {
33

44
tools {
55
// Install the Maven version configured as "M3" and add it to the path.
6-
maven "M3"
6+
maven "maven"
77
}
88

99
// environment {
1010
// // This can be nexus3 or nexus2
11-
// NEXUS_VERSION = "nexus3"
11+
NEXUS_VERSION = "nexus3"
1212
// // This can be http or https
13-
// NEXUS_PROTOCOL = "http"
13+
NEXUS_PROTOCOL = "http"
1414
// // Where your Nexus is running
15-
// NEXUS_URL = "localhost:8081"
15+
NEXUS_URL = "localhost:8081"
1616
// // Repository where we will upload the artifact
17-
// NEXUS_REPOSITORY = "nexus-repository"
17+
NEXUS_REPOSITORY = "nexus-repository"
1818
// // Jenkins credential id to authenticate to Nexus OSS
19-
// NEXUS_CREDENTIAL_ID = "nexus-credentials"
19+
NEXUS_CREDENTIAL_ID = "nexus-credentials"
2020
// }
2121

2222
stages {
2323
stage('CHECKOUT') {
2424
steps {
25-
git 'https://github.com/pavel-lucik/gw-spring-boot.git'
25+
git 'https://github.com/allainmoyo/spring-boot.git'
2626
}
2727
}
2828
stage('BUILD') {
2929
steps {
3030
sh "mvn clean install -f ./spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-web-ui/pom.xml"
3131
}
3232
}
33-
// To run Maven on a Windows agent, use
34-
// bat "mvn -Dmaven.test.failure.ignore=true clean package"
3533

3634

3735
// post {

0 commit comments

Comments
 (0)