6307ba2225
This change updates the gearman-plugin to build against Jenkins LTS ver 1.565.3. This is required to support later versions of Jenkins because there have been changes to Jenkins events in core. This change adds the ItemListener to re-register gearman functions on changes to jenkins projects. Using the ItemListener is better because it provides more details on the item that's been changed and the events are more grandular. There was also a change to ComputerListener events (onTemporaryOffline and onTemporaryOnline) that needed to be handled seperately in this change. The SaveableListener is still needed due to a bug in ItemListener. The most notable change to function registration is that the gearman plugin will no longer register functions containing a node's self label. For example: Assume you have the following setup: a node: named 'trusty-slave1' and labeled 'trusty' a job: named 'my-job' that targets the 'trusty' label The gearman plugin used to register the following functions: 'build:my-job', 'build:my-job:trusty' and 'build:my-job:trusty-slave1' With this update the gearman plugin will only register 'build:my-job' and 'build:my-job:trusty'. It will no longer register functions containing the implicit node name (trusty-slave1). If your gearman client has been using explicit labels to execute builds then this change will not affect your workflow. Closes-Bug: #1353891 Change-Id: I9e57ec9f24bf303989a4df1fc4f1a0c4b6d001bc |
||
---|---|---|
.settings | ||
src | ||
.classpath | ||
.gitignore | ||
.gitreview | ||
.project | ||
.pydevproject | ||
LICENSE | ||
README.rst | ||
bsd.txt | ||
debug | ||
install-fast | ||
pom.xml | ||
run-fast |
README.rst
Overview
This plugin uses Gearman to support multiple Jenkins masters. More info can be found at https://wiki.jenkins-ci.org/display/JENKINS/Gearman+Plugin
Contributing
If you would like to contribute to the development of OpenStack, you must follow the steps in the "If you're a developer, start here" section of this page:
Once those steps have been completed, changes to OpenStack should be submitted for review via the Gerrit tool, following the workflow documented at:
Pull requests submitted through GitHub will be ignored.
Project site:
Patches are submitted via Gerrit at:
Bugs should be filed on Launchpad, not GitHub:
Cloning:
License
Copyright 2013 Hewlett-Packard Development Company, L.P.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.