Build through API

Nolan Ramsden's Avatar

Nolan Ramsden

17 Jan, 2016 01:09 AM

Is there any way to not build on git commits, yet build when called from the API? Currently putting the skip_commit = * will mean the build wont run even when called from API

  1. Support Staff 1 Posted by Feodor Fitsner on 17 Jan, 2016 01:13 AM

    Feodor Fitsner's Avatar

    You can just remove/disable webhook on GitHub?

    -Feodor

  2. 2 Posted by Nolan Ramsden on 17 Jan, 2016 01:15 AM

    Nolan Ramsden's Avatar

    The issue is driven from my scenario:
    One project builds, runs unit tests and deploys to CI (triggered by git commit), and then triggers the second project.

    The Second project runs integration tests against CI and deploys to PROD.

    If i disable the git webhook then the firstproject will never trigger..

  3. Support Staff 3 Posted by Feodor Fitsner on 17 Jan, 2016 01:24 AM

    Feodor Fitsner's Avatar

    So second project don't have to be triggered by commit?

    -Feodor

  4. 4 Posted by Nolan Ramsden on 17 Jan, 2016 01:26 AM

    Nolan Ramsden's Avatar

    Exactly.

  5. Support Staff 5 Posted by Feodor Fitsner on 17 Jan, 2016 01:28 AM

    Feodor Fitsner's Avatar

    Then remove webhook of second project from the repo.

    -Feodor

  6. 6 Posted by Nolan Ramsden on 17 Jan, 2016 01:31 AM

    Nolan Ramsden's Avatar

    My mistake, thought they were both operating off the same webbhook. Thanks for the prompt replies!

    Great tool.

  7. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:03 AM.

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

Keyboard shortcuts

Generic

? 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