Skip to content

Commit 41f864e

Browse files
committed
Add a clone stage in case of no codes over there
1 parent f38eb65 commit 41f864e

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Jenkinsfile-junit-k8s

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ pipeline {
99

1010

1111
stages{
12+
stage('Clone'){
13+
steps{
14+
//checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://gitee.com/devops-workspace/learn-pipeline-java']]])
15+
}
16+
}
17+
1218
stage('Build & Test'){
1319
steps{
1420
script{

0 commit comments

Comments
 (0)