Fix syntax.
This commit is contained in:
parent
e003718e68
commit
e16e832f5a
|
@ -116,7 +116,7 @@ pipeline {
|
|||
* NOTE: 'credentialsId' be manually configured in Jenkins to access all the repos
|
||||
*/
|
||||
def checkout_and_exec(repo_name, actions) {
|
||||
def repo_url = "${repo_root}/{$repo_name}"
|
||||
def repo_url = "${repo_root}/${repo_name}"
|
||||
sh(script: "rm -r ${repo_name} || true", returnStdout: true)?.trim()
|
||||
checkout([
|
||||
$class : 'GitSCM',
|
||||
|
|
Loading…
Reference in New Issue