fixing build trigger
Change-Id: Idd4350f05c8e3b6d5c8303cd345821ae44ef24a1
diff --git a/Jenkinsfile b/Jenkinsfile
index a55a4b8..88b1871 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -97,7 +97,7 @@
}
stage 'Trigger Build'
- url = 'https://jenkins.opencord.org/job/release-build/job/' + env.BRANCH_NAME + '/build'
+ url = 'https://jenkins.opencord.org/job/release-build/job/' + params.branch + '/build'
httpRequest authentication: 'auto-release', httpMode: 'POST', url: url, validResponseCodes: '201'
currentBuild.result = 'SUCCESS'