Update dummy Jenkinsfile.new to consdider GERRIT_BRANCH
Change-Id: I8d5b6ce1297ea29a97623b2a141c3c6547a8736f
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
diff --git a/Jenkinsfile.new b/Jenkinsfile.new
index 34b3eb9..b5ba695 100644
--- a/Jenkinsfile.new
+++ b/Jenkinsfile.new
@@ -16,7 +16,7 @@
pipeline {
agent none
parameters {
- string(defaultValue: env.BRANCH_NAME, description: '', name: 'GERRIT_BRANCH')
+ string(defaultValue: env.GERRIT_BRANCH, description: '', name: 'GERRIT_BRANCH')
string(defaultValue: 'osm/LCM', description: '', name: 'GERRIT_PROJECT')
string(defaultValue: env.GERRIT_REFSPEC, description: '', name: 'GERRIT_REFSPEC')
string(defaultValue: env.GERRIT_PATCHSET_REVISION, description: '', name: 'GERRIT_PATCHSET_REVISION')