Skip to content
This repository was archived by the owner on Oct 8, 2020. It is now read-only.

Commit bd169fa

Browse files
Update Jenkinsfile
1 parent 6859e01 commit bd169fa

File tree

1 file changed

+6
-17
lines changed

1 file changed

+6
-17
lines changed

Jenkinsfile

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!groovy
2-
31
pipeline {
42
agent any
53
tools {
@@ -17,10 +15,11 @@ pipeline {
1715
}
1816

1917
stage('Prepare') {
20-
checkout scm
18+
2119
}
2220

2321
stage ('Build') {
22+
echo 'Building..'
2423
steps {
2524
sh 'mvn clean package'
2625
}
@@ -32,26 +31,16 @@ pipeline {
3231
}
3332

3433
stage('Test') {
34+
echo 'Testing..'
3535
steps {
3636
sh 'mvn test'
3737
}
3838
}
3939

4040
stage ('Deploy') {
41-
steps {
42-
sh 'mvn -Dmaven.test.failure.ignore=true install'
43-
}
44-
post {
45-
success {
46-
junit 'target/surefire-reports/**/*.xml'
47-
}
48-
}
41+
echo 'Deploying..'
42+
4943
}
5044

51-
52-
53-
stage('Release') {
54-
55-
}
5645
}
57-
}
46+
}

0 commit comments

Comments
 (0)