Change root for the repo URL.
This commit is contained in:
parent
5fc01b09bc
commit
e0d5dcdb0b
|
@ -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([
|
||||||
|
|
Loading…
Reference in New Issue