lp:~mrazik/jenkins-launchpad-plugin/lp1154185
- Get this branch:
- bzr branch lp:~mrazik/jenkins-launchpad-plugin/lp1154185
Branch merges
- Francis Ginther: Approve
- PS Jenkins bot: Approve (continuous-integration)
- Michael Zanetti (community): Approve
-
Diff: 87 lines (+46/-5)2 files modifiedlaunchpad.py (+13/-3)
tests/test_launchpadTrigger.py (+33/-2)
Related bugs
Bug #1154185: links to test runs should point to test results instead of command line output | Undecided | Fix Released |
Related blueprints
Branch information
Recent revisions
- 95. By Martin Mrazik
-
fixed IP addresses in the test to resemble real ones and striped a trailing "/" in urls
- 94. By Martin Mrazik
-
Link to the build instead of console output in case the result is UNSTABLE or STABLE
- 93. By Martin Mrazik
-
autoland.py should exit with 0 if it was called with --test-
result= FAILED. The script itself works just fine so there is no need to indicate a failure by exiting with 1. Approved by Sergio Schvezov, PS Jenkins bot.
- 92. By Martin Mrazik
-
deb artifacts were revealing the real IP address of our jenkins server. This is fixing it + changing the tests to test if the IP address is really hidden.
Approved by Michael Zanetti, PS Jenkins bot.
- 91. By Martin Mrazik
-
Look for any artifacts in work/output (the directory where pbuilderjenkins stores the resulting *deb files) and if there are any provide a link to a zip file with the full directory.
This is how the final message will look like (the links from this example should work):
------------snip- ------- -----
http://s-jenkins: 8080/job/ unity-phablet- ci/1/
Executed test runs:
SUCCESS: http://s-jenkins: 8080/job/ unity-phablet- quantal- armhf-ci/ 1/console
deb: http://s-jenkins: 8080/job/ unity-phablet- quantal- armhf-ci/ 1/artifact/ work/output/ *zip*/output. zip
SUCCESS: http://s-jenkins: 8080/job/ unity-phablet- quantal- i386-ci/ 1/console Click here to trigger a rebuild:
http://s-jenkins: 8080/job/ unity-phablet- ci/1/rebuild
------------snip- ------- ----- I also fixed the weird URLs with double slashes by introducing normalize_url (it actually fixes only our specific problem; it turns out that normalizing URLs in python is not very easy). Fixes: https:/
/bugs.launchpad .net/bugs/ 1154201. Approved by PS Jenkins bot, Michael Zanetti.
- 90. By Martin Mrazik
-
This implements a -L (--lock-name) option which can be used to specify the name of the launchpadlib cache and the associated lock. Using this option it is possible to run more instances of launchpadTrigger.py in parallel.
Approved by Francis Ginther, PS Jenkins bot.
- 89. By Martin Mrazik
-
When compiling list of executed test-runs, do it for all downstream jobs recursively.
Lets assume we have the following job structure:
camera-app-ci
\- camera-app-ci- builder (matrix job with two configs)
\- generic-mediumtests
\- generic-mediumtests- builder
\- generic-mediumtests- runner The message on a merge proposal will look like this:
Executed test runs:
SUCCESS: http://s-jenkins: 8080/job/ camera- app-ci- builder/ ./build= panda-pbuilder, distribution= quantal, flavor= armhf/122/ console
SUCCESS: http://s-jenkins: 8080/job/ camera- app-ci- builder/ ./build= pbuilder- master, distribution= quantal, flavor= i386/122/ console
UNSTABLE: http://s-jenkins: 8080/job/ generic- mediumtests/ 32//console
SUCCESS: http://s-jenkins: 8080/job/ generic- mediumtests- builder/ 38//console
UNSTABLE: http://s-jenkins: 8080/job/ generic- mediumtests- runner/ 8//console If we add generic-mediumtess and generic-
mediumtests- builder into the blacklist it will look like this:
Executed test runs:
SUCCESS: http://s-jenkins: 8080/job/ camera- app-ci- builder/ ./build= panda-pbuilder, distribution= quantal, flavor= armhf/122/ console
SUCCESS: http://s-jenkins: 8080/job/ camera- app-ci- builder/ ./build= pbuilder- master, distribution= quantal, flavor= i386/122/ console
UNSTABLE: http://s-jenkins: 8080/job/ generic- mediumtests- runner/ 8//console. Approved by Michael Zanetti, PS Jenkins bot.
- 88. By Martin Mrazik
-
Fixes a bug with the new release_only option for autolanding/dput.
Approved by Francis Ginther, PS Jenkins bot.
- 87. By Martin Mrazik
-
Adding a "--release-only" flag for autolanding and release_only environment variable for dput. With this option the dput doesn't change the changlog and only does "dch --release".
. Fixes: https://bugs.launchpad .net/bugs/ 1135629. Approved by PS Jenkins bot, Francis Ginther.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)