Commit after build but don't trigger another build

its.the.doc's Avatar


15 May, 2015 03:21 AM

I would like to clone a branch, change some details(version numbers), build it, commit and push it to the same branch, and then not have that build trigger another build. I was searching to see if there was some script I could hook into to kind of filter the details of the environment and decide not to build, but I didn't see anything.

Any ideas?

  1. Support Staff 1 Posted by Feodor Fitsner on 15 May, 2015 04:04 AM

    Feodor Fitsner's Avatar

    The simplest solution is to add [skip ci] into commit message:

  2. 2 Posted by its.the.doc on 15 May, 2015 09:24 PM

    its.the.doc's Avatar

    Ok thanks. As an aside, now that I push back after the build is over, if I try to rebuild that, it'll go off of an old commit. What's the workflow to handle this situation?

    My guess was
    1) pull on start(technically it's not on a branch so the command is a little more complicated)
    2) use the api and set the commit information for that build based on the current head of the branch in question
    3) probably set the appropriate environmental variables as well

    If that's right, then great. I also have more questions then though. So, if I change that info, does it spawn a different build in the build history? Or does it change the info related to the current build, kind of associating it with some other commit instead of the initial commit that created the build? What are the implications for changing those things(again if that's the proper workflow to handle this issue)?

  3. Support Staff 3 Posted by Feodor Fitsner on 15 May, 2015 09:39 PM

    Feodor Fitsner's Avatar

    What do you mean by "rebuild"?

  4. 4 Posted by its.the.doc on 15 May, 2015 09:50 PM

    its.the.doc's Avatar

    There's the rebuild button after you finish a build

  5. Support Staff 5 Posted by Feodor Fitsner on 15 May, 2015 11:23 PM

    Feodor Fitsner's Avatar

    Re-build button rebuilds current build commit or PR. New build button builds the latest commit of default branch.

    Whatever you modify in build details it overrides original data.

    - Feodor

  6. its.the.doc closed this discussion on 18 May, 2015 05:59 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac