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

test

Signed-off-by: default avatarBoris Djalal <boris.djalal@eurecom.fr>
parent c754cc28
...@@ -79,6 +79,9 @@ pipeline { ...@@ -79,6 +79,9 @@ pipeline {
stage ("Verify Parameters") { stage ("Verify Parameters") {
steps { steps {
script { script {
JOB_TIMESTAMP = sh returnStdout: true, script: 'date --utc --rfc-3339=seconds | sed -e "s#+00:00##"'
JOB_TIMESTAMP = JOB_TIMESTAMP.trim()
echo '\u2705 \u001B[32mVerify Parameters\u001B[0m' echo '\u2705 \u001B[32mVerify Parameters\u001B[0m'
def allParametersPresent = true def allParametersPresent = true
...@@ -141,8 +144,6 @@ pipeline { ...@@ -141,8 +144,6 @@ pipeline {
if (allParametersPresent) { if (allParametersPresent) {
echo "then 2" echo "then 2"
echo "All parameters are present" echo "All parameters are present"
sh "git fetch"
sh "git checkout -f ${eNB_CommitID}"
} else { } else {
echo "else 2" echo "else 2"
echo "Some parameters are missing" echo "Some parameters are missing"
......
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