Skip to content

Commit

Permalink
Fix jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
luigidellaquila committed Jan 27, 2022
1 parent 26a57db commit 5098746
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,6 @@ def fetch(module) {

def fetchInternal(module) {
echo "checkout for $module"
checkout([$class: 'GitSCM', branches: [[name: env.BRANCH_NAME]], doGenerateSubmoduleConfigurations: false, extensions: [[$class: 'RelativeTargetDirectory', relativeTargetDir: "${module}"]], submoduleCfg: [], userRemoteConfigs: [[credentialsId: '38719b3f-e300-4fe5-9d50-cfe2c10ce1f0', url: "https://github.com/orientdb-enterprise-agent/${module}.git"]]])
checkout([$class: 'GitSCM', branches: [[name: env.BRANCH_NAME]], doGenerateSubmoduleConfigurations: false, extensions: [[$class: 'RelativeTargetDirectory', relativeTargetDir: "${module}"]], submoduleCfg: [], userRemoteConfigs: [[credentialsId: '38719b3f-e300-4fe5-9d50-cfe2c10ce1f0', url: "https://github.com/SAP/${module}.git"]]])
sh "git -C $module checkout ${env.BRANCH_NAME}"
}

0 comments on commit 5098746

Please sign in to comment.