소스 검색

更新 'Jenkinsfile'

sifu-gogs 2 년 전
부모
커밋
cf23e8cf90
1개의 변경된 파일7개의 추가작업 그리고 0개의 파일을 삭제
  1. 7 0
      Jenkinsfile

+ 7 - 0
Jenkinsfile

@@ -2,9 +2,16 @@ pipeline {
     agent any
 
     stages {
+		stage('pullCode'){
+            steps{
+                echo 'This is a pullCode step'
+                checkout scm
+            }
+        }
         stage('Build') {
             steps {
                 echo 'Building..'
+				sh 'mvn clean package -Dmaven.test.skip=true'
             }
         }
         stage('Test') {