branch spec
Change-Id: Ib55633abb786ab06e2384ce5b23970cfedc191e8
diff --git a/Jenkinsfile b/Jenkinsfile
index 80ea4a2..a55a4b8 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -3,7 +3,7 @@
timeout (time: 240) {
node ('build') {
stage 'Checkout cord repo'
- checkout changelog: false, poll: false, scm: [$class: 'RepoScm', currentBranch: true, manifestBranch: ${branch}, manifestRepositoryUrl: 'https://gerrit.opencord.org/manifest', quiet: true]
+ checkout changelog: false, poll: false, scm: [$class: 'RepoScm', currentBranch: true, manifestBranch: params.branch, manifestRepositoryUrl: 'https://gerrit.opencord.org/manifest', quiet: true]
stage 'Generate and Copy Manifest file'
sh returnStdout: true, script: 'repo manifest -r -o ' + filename