Jenkins - how to build a specific branch

前端 未结 6 2097
一向
一向 2020-11-28 23:46

This isn\'t as simple as just doing a parametrized build. I\'ve already got a specific build process that will build and deploy whenever any of these branches are pushed to

6条回答
  •  情书的邮戳
    2020-11-29 00:12

    I don't think you can both within the same jenkins job, what you need to do is to configure a new jenkins job which will have access to your github to retrieve branches and then you can choose which one to manually build.

    Just mark it as a parameterized build, specify a name, and a parameter configured as git parameter

    and now you can configure git options:

提交回复
热议问题