Skip to content

Commit f6a792f

Browse files
committed
1414
1 parent b969fa8 commit f6a792f

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

Jenkinsfile

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
pipeline {
22
agent any
3+
4+
tools {
5+
maven 'my-maven' // 젠킨스에서 설치한 이름
6+
}
37

48
stages {
5-
stage('0. 연결 확인') {
9+
stage('0. 연결 확인') { steps { echo '스테이지 출발' } }
10+
11+
stage('1. Build') {
612
steps {
7-
echo '스테이지 출발'
13+
echo 'Maven으로 빌드 시작'
14+
sh 'mvn clean package'
815
}
9-
}
16+
}
1017
}
1118
}
12-

0 commit comments

Comments
 (0)