Commit 71c1e46e authored by Boris Djalal's avatar Boris Djalal

Adding Jenkins branch parameter.

Signed-off-by: default avatarBoris Djalal <boris.djalal@eurecom.fr>
parent f9b090b8
...@@ -84,7 +84,7 @@ pipeline { ...@@ -84,7 +84,7 @@ pipeline {
stage ('Retrieve latest from branch') { stage ('Retrieve latest from branch') {
steps { steps {
script { script {
checkout([$class: 'GitSCM', branches: [[name: '*/gNB-nrUE-USRP']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://gitlab.eurecom.fr/oai/openairinterface5g.git']]]) checkout([$class: 'GitSCM', branches: [[name: "${params.Branch}"]], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://gitlab.eurecom.fr/oai/openairinterface5g.git']]])
sh "git clean -x -d -ff" sh "git clean -x -d -ff"
sh "git log -n1" sh "git log -n1"
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment