Skip to content

Commit

Permalink
Manifest management fixes (#55)
Browse files Browse the repository at this point in the history
* Obtain manifests via simple clone
* Remove submodule clone
* Fix copy syntax
  • Loading branch information
rendinam committed Jan 12, 2018
1 parent 8471485 commit fdf28dc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions jenkins/job-suite-generator.groovy
Expand Up @@ -29,7 +29,9 @@ node("master") {
deleteDir()

// Clone the manifests repository.
git url: manifest_repo, relativeTargetDir: "manifests"
dir ("manifests") {
git url: manifest_repo
}

// Get the git repo and branch values used to obtain this and other
// build_control scripts so they may be passed to the jobDSL script
Expand Down Expand Up @@ -102,7 +104,7 @@ node("master") {
// (handled by the job that reads this pipeline script) into the actual
// workspace of this job so the jobDsl call below will be able to find
// what it needs.
sh "cp -r ${env.WORKSPACE}@script/* ."
sh "cp -r ${env.WORKSPACE}@script/. ."
}

stage("Spawn job definition") {
Expand Down

0 comments on commit fdf28dc

Please sign in to comment.