github Jenkins Hook - multiple endpoints and API
I wanted to trigger multiple jenkins servers from a github hook.
I found this pull request which led me to look at the API
Technical information on this site may be out of date : no updates since 2015
I wanted to trigger multiple jenkins servers from a github hook.
I found this pull request which led me to look at the API
To have a jenkins job which acts on a remote server via ssh - and has a parameter to choose which server(s) to use.
My build script has been getting more complex lately and I’m quite pleased with it.
We tend to have several versions of code on the go, version x is live, x+1 is in UAT, and x+2 is in development. With all these versions around it’s important to keep track of changelogs, and to upgrade correctly x to x+1, and then x+1 to x+2 as we have found that going direct from x to x+2 can fail to uncover some bugs. Specifically this happens if a drupal update hook gets edited after it has been released to the client, but before it has run on live. Our builds always start from a copy of the live site.
It took me an unreasonable amount of guesswork to figure out how to get jenkins to archive files at multiple folder levels
In the end this line worked for me
Webdriver-framework/target/surefire-reports/*,Webdriver-framework/target/surefire-reports/**/*.png
Historical note : Hudson is what Jenkins was called a long time ago.
I want the drupal user uploaded files to be manageable by both apache and a non-root user
In my case I’m using hudson to rebuild the site with data and “files” from live periodically.