[JIRA] (JENKINS-58230) how to disable automatic build by default?

0 views
Skip to first unread message

downsidemoon@foxmail.com (JIRA)

unread,
Jun 26, 2019, 11:40:01 PM6/26/19
to jenkinsc...@googlegroups.com
rock luo created an issue
 
Jenkins / Improvement JENKINS-58230
how to disable automatic build by default?
Issue Type: Improvement Improvement
Assignee: Unassigned
Components: gitea-plugin
Created: 2019-06-27 03:39
Priority: Minor Minor
Reporter: rock luo

I use gitea plugin and import an organization ,the plugin always trigger a build automatically after any push,but I don't want this. Where can I disable this featuer?

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

jan.breuer@jaybee.cz (JIRA)

unread,
Sep 25, 2019, 2:49:02 AM9/25/19
to jenkinsc...@googlegroups.com
Jan Breuer commented on Improvement JENKINS-58230
 
Re: how to disable automatic build by default?

At the bottom of the configuration page, there is  "Branch names to build automatically" so just specify pattern you need.

This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

schmitt@semvox.de (JIRA)

unread,
Oct 29, 2019, 5:26:01 AM10/29/19
to jenkinsc...@googlegroups.com

I have a slightly different use case.

Problem is that filtering "Branch names to build automatically" would also disable the trigger at SCM changes (e.g. pushes) which we like to keep. I'm just trying to supress the initial build right after the branch discovery.

Is there a way to achive this?

tl;dr=: We are using a multi repo setup for a single product with many related maven builds (which have dependencies from each other). For creating feature/release/hotfix branches we like to use a seed job in jenkins (using jgitflow). In our tests this job created the branch in every related repo but then unfortunately executed the build for the new branch automatically. Problem is that at this point the depended artifacts are not yet available on our central maven repository because depended builds have not finished yet. We need to find a way to execute the branch creation + initial build sequencially for each repo. Supressing the initial build after branch discovery would be the easiest way. 

Reply all
Reply to author
Forward
0 new messages