Skip to content

Commit 7b87109

Browse files
committed
dad
1 parent 83d76fd commit 7b87109

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

Jenkinsfile

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,27 @@ pipeline {
1111
tools {
1212
maven 'mvn3.6.3'
1313
}
14+
15+
stages {
16+
stage("deploy to dev") {
17+
when {
18+
branch 'dev'
19+
steps {
20+
echo 'deploy to dev'
21+
}
22+
}
23+
}
24+
25+
stage("deploy to uat") {
26+
when {
27+
branch 'master'
28+
steps {
29+
echo 'deploy to uat'
30+
}
31+
}
32+
}
33+
}
34+
1435
stages {
1536
stage ('Initialize') {
1637
steps {

0 commit comments

Comments
 (0)