如何执行原子指令集?

时间:2019-02-22 15:03:01

标签: groovy atomic jenkins-groovy

在下面的代码中:

    print "Checkout report:"
    print "Commit hash is $treeMapData.GIT_COMMIT"
    print "Branch is $treeMapData.GIT_BRANCH"

在执行上述指令的过程中,背景线程被交错

Checkout report:
[Pipeline] echo
Commit hash is 111111111111111111111111111
[Pipeline] echo
Branch is origin/develop
[Pipeline] }

如何使指令集自动执行?

0 个答案:

没有答案