diff --git a/Jenkinsfile b/Jenkinsfile index 798ad3f..1a01387 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -70,7 +70,7 @@ def gitMerge(fromBranch, toBranch, msg) { sh(""" -git checkout ${toBranch} +git checkout -b ${toBranch} git merge ${fromBranch} -m '${msg}' """) }