Commit 8cb6c42a authored by Boris Djalal's avatar Boris Djalal

Setting eNB_Branch and eNB_CommitID.

Signed-off-by: default avatarBoris Djalal <boris.djalal@eurecom.fr>
parent 80ba5b1f
......@@ -89,6 +89,24 @@ pipeline {
if (params.pythonExecutor != null) {
echo "eNB CI executor node : ${pythonExecutor}"
}
if (params.eNB_Repository == null) {
eNB_Repository = GIT_URL
} else {
eNB_Repository = params.eNB_Repository
}
echo "eNB_Repository = ${eNB_Repository}"
if (params.eNB_Branch== null) {
eNB_Branch = GIT_BRANCH
} else {
eNB_Branch = params.eNB_Branch
}
echo "eNB_Branch = ${eNB_Branch}"
if (params.eNB_CommitID == null) {
eNB_CommitID = GIT_COMMIT
} else {
eNB_CommitID = params.eNB_CommitID
}
echo "eNB_CommitID = ${eNB_CommitID}"
// If not present picking a default XML file
if (params.pythonTestXmlFile == null) {
// picking default
......@@ -129,16 +147,6 @@ pipeline {
if (params.UE_Credentials == null) {
allParametersPresent = false
}
echo "begin if 1"
if (params.eNB_Repository == null) {
echo "then 1"
eNB_Repository = GIT_URL
} else {
echo "else 1"
eNB_Repository = params.eNB_Repository
}
echo "end if 1"
echo "eNB_Repository = ${eNB_Repository}"
echo "allParametersPresent = ${allParametersPresent}"
echo "begin if 2"
if (allParametersPresent) {
......
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