lp:~mrazik/jenkins-launchpad-plugin/allowed_contributors

Created by Martin Mrazik and last modified
Get this branch:
bzr branch lp:~mrazik/jenkins-launchpad-plugin/allowed_contributors
Only Martin Mrazik can upload to this branch. If you are Martin Mrazik please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Martin Mrazik
Project:
jenkins-launchpad-plugin
Status:
Development

Recent revisions

97. By Martin Mrazik

initial version of allowed_contributors

96. By Martin Mrazik

Making the jenkins job locking a bit more robust by doing the lock just before the job is started. Also fixed a bug which happens when diff is not yet generated. Fixes: https://bugs.launchpad.net/bugs/1158412.

Approved by Francis Ginther, PS Jenkins bot.

95. By Martin Mrazik

The rebuild link shall not point to public jenkins but to the real one for jobs that are configured to publish on jenkins.qa.ubuntu.com. Fixes: https://bugs.launchpad.net/bugs/1149232.

Approved by PS Jenkins bot, Michael Zanetti.

94. By Martin Mrazik

In case the build result is STABLE or SUCCESS provide a link directly to the build instead of console output. The build main page has the summary of failed tests which is what you are interested in, in these two cases.
If the build result is FAILURE then keep the current functionality and link to console output as it is most likely a build error (merge error, etc). Fixes: https://bugs.launchpad.net/bugs/1154185.

Approved by Francis Ginther, PS Jenkins bot, Michael Zanetti.

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.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:~private-ps-quality-team/jenkins-launchpad-plugin/trunk
This branch contains Public information 
Everyone can see this information.

Subscribers