force manifest on host machine
Change-Id: I445f7139951b3b6b8c36fc8fa94081ec27ee6af5
diff --git a/Jenkinsfile b/Jenkinsfile
index 88b1871..ae8863f 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -1,14 +1,18 @@
def filename = 'manifest-${branch}.xml'
+node ('master') {
+ 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
+ sh returnStdout: true, script: 'cp ' + filename + ' ' + env.JENKINS_HOME + '/tmp'
+}
+
timeout (time: 240) {
node ('build') {
stage 'Checkout cord repo'
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
- sh returnStdout: true, script: 'cp ' + filename + ' ' + env.JENKINS_HOME + '/tmp'
-
dir('build') {
stage 'Redeploy head node and Build Vagrant box'
try {