Skip to content

Commit cabae51

Browse files
committed
update jenkinsFile
1 parent c22c590 commit cabae51

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

JenkinsFile

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,8 @@ pipeline {
1212
stages {
1313
stage('Checkout repository') {
1414
steps {
15-
checkout([
16-
$class: 'GitSCM',
17-
branches: [[name: 'main']],
18-
doGenerateSubmoduleConfigurations: false,
19-
extensions: [
20-
[$class: 'CloneOption', shallow: false, depth: 0]
21-
],
22-
userRemoteConfigs: [[
23-
url: 'https://github.com/Jingjia01/elasticsearch.git'
24-
]]
25-
])
15+
git branch: 'main',
16+
url: 'https://github.com/Jingjia01/elasticsearch.git'
2617
}
2718
}
2819

0 commit comments

Comments
 (0)