Skip to content
Snippets Groups Projects
Commit 5f661d33 authored by Raphael Defosseux's avatar Raphael Defosseux
Browse files

fix(ci): typo in tutorials' checking pipeline

parent 76f2e547
No related branches found
No related tags found
No related merge requests found
......@@ -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'
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment