File tree 1 file changed +7
-9
lines changed
1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -3,35 +3,33 @@ pipeline {
3
3
4
4
tools {
5
5
// Install the Maven version configured as "M3" and add it to the path.
6
- maven " M3 "
6
+ maven " maven "
7
7
}
8
8
9
9
// environment {
10
10
// // This can be nexus3 or nexus2
11
- // NEXUS_VERSION = "nexus3"
11
+ NEXUS_VERSION = " nexus3"
12
12
// // This can be http or https
13
- // NEXUS_PROTOCOL = "http"
13
+ NEXUS_PROTOCOL = " http"
14
14
// // Where your Nexus is running
15
- // NEXUS_URL = "localhost:8081"
15
+ NEXUS_URL = " localhost:8081"
16
16
// // Repository where we will upload the artifact
17
- // NEXUS_REPOSITORY = "nexus-repository"
17
+ NEXUS_REPOSITORY = " nexus-repository"
18
18
// // Jenkins credential id to authenticate to Nexus OSS
19
- // NEXUS_CREDENTIAL_ID = "nexus-credentials"
19
+ NEXUS_CREDENTIAL_ID = " nexus-credentials"
20
20
// }
21
21
22
22
stages {
23
23
stage(' CHECKOUT' ) {
24
24
steps {
25
- git ' https://github.com/pavel-lucik/gw- spring-boot.git'
25
+ git ' https://github.com/allainmoyo/ spring-boot.git'
26
26
}
27
27
}
28
28
stage(' BUILD' ) {
29
29
steps {
30
30
sh " mvn clean install -f ./spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-web-ui/pom.xml"
31
31
}
32
32
}
33
- // To run Maven on a Windows agent, use
34
- // bat "mvn -Dmaven.test.failure.ignore=true clean package"
35
33
36
34
37
35
// post {
You can’t perform that action at this time.
0 commit comments