Change root for the repo URL.

This commit is contained in:
Manuele Simi 2021-01-16 16:13:31 -05:00
parent 5fc01b09bc
commit e0d5dcdb0b
1 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -61,7 +61,7 @@ pipeline {
''' '''
} }
} }
stage('clone and tag') { stage('clone and exec') {
steps { steps {
script { script {
for (int i = 0; i < projects.size(); i++) { for (int i = 0; i < projects.size(); i++) {
@ -111,7 +111,7 @@ pipeline {
* NOTE: 'credentialsId' be manually configured in Jenkins to access all the repos * NOTE: 'credentialsId' be manually configured in Jenkins to access all the repos
*/ */
def checkout_and_exec(repo_name, actions) { def checkout_and_exec(repo_name, actions) {
def repo_url = "https://code-repo.d4science.org/gCubeSystem/{$repo_name}" def repo_url = "https://code-repo.d4science.org/manuele.simi/{$repo_name}"
echo "Checkout SHA from reference $commit" echo "Checkout SHA from reference $commit"
sh(script: "rm -r ${repo_name} || true", returnStdout: true)?.trim() sh(script: "rm -r ${repo_name} || true", returnStdout: true)?.trim()
checkout([ checkout([