How to trigger Multibranch Pipeline Jenkins Job within regular pipeline job?

久未见 提交于 2021-01-27 05:30:31

问题


I want to trigger a specific multibranch pipeline job 'maven-release-workflow-test' (specific branch) within a regular pipeline job. Is there a special build() command pattern that i need to specify?

The snippet generator just prints:

no such job maven-release-workflow-test


回答1:


Found the right pattern via trial and error:

build 'maven-release-workflow-test/master'


来源:https://stackoverflow.com/questions/37322143/how-to-trigger-multibranch-pipeline-jenkins-job-within-regular-pipeline-job

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!