如何远程触发标签的Jenkins多分支管道项目构建?

时间:2020-10-06 08:45:29

标签: jenkins build tags jenkins-pipeline multibranch-pipeline

在这篇文章中:How to remotely trigger Jenkins multibranch pipeline project build?描述了如何远程启动分支的构建。现在,我想对标签执行相同的操作。对于分支机构,它起作用:

curl -X POST http://user:token@jenkins:8080/job/Frameworks%20development%20pipeline/job/develop/build

其中“ develop”是分支名称。现在,我想对标记(例如“ v2”)执行相同的操作,但是怎么做?

...job/Frameworks%20development%20pipeline/tags/v2/build无效,...job/Frameworks%20development%20pipeline/tags/job/v2/build也无效。这些都给出404的

0 个答案:

没有答案