Commit 5f661d33 authored by Raphael Defosseux's avatar Raphael Defosseux
Browse files

fix(ci): typo in tutorials' checking pipeline


Signed-off-by: Raphael Defosseux's avatarRaphael Defosseux <raphael.defosseux@eurecom.fr>
parent 76f2e547
......@@ -59,10 +59,11 @@ pipeline {
JOB_TIMESTAMP = JOB_TIMESTAMP.trim()
sh "git clean -x -d -f > /dev/null 2>&1"
sh 'git log -n1'
if (params.CheckAnotherBranch != null) {
if (params.CheckAnotherBranch) {
if (params.BranchToCheck != null) {
sh 'git checkout params.BranchToCheck'
sh 'git checkout '+ params.BranchToCheck
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