lp:~allanlesage/jenkins-launchpad-plugin/force-source-in-upload

Created by Allan LeSage on 2013-04-02 and last modified on 2013-04-02
Get this branch:
bzr branch lp:~allanlesage/jenkins-launchpad-plugin/force-source-in-upload
Only Allan LeSage can upload to this branch. If you are Allan LeSage please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Allan LeSage
Project:
jenkins-launchpad-plugin
Status:
Development

Recent revisions

97. By Allan LeSage on 2013-04-02

Force inclusion of source package in upload.

96. By Martin Mrazik on 2013-03-22

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 on 2013-03-20

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 on 2013-03-20

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 on 2013-03-19

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 on 2013-03-13

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 on 2013-03-13

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 on 2013-03-12

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 on 2013-03-08

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 on 2013-03-06

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