This plugin allows you to define "weight" on each job,
and making each job consume that many executors
Change-Id: Iee49229b0d3c909f320caa9bd6c1ebb6bc37ddcb
In order for the conditional step plugin to work properly, a more
detailed status is required otherwise the current build status is not
evaluated properly and is set to SUCCESS in all cases.
A local mapping of the java hudson.model.Result class was created to
unify build statuses names, ordinal and color scheme.
Change-Id: If8a0090b7cd51551ef6756361f6e45af3df1218d
It was not clear that the project-specific parameters are actually a variables.
Improving the example to make it more clear.
Change-Id: I919562d4df53542ff0d4d60cf0fafc81b69aff1a
Recent version of Zuul no more pass GERRIT_* parameters to job. So I
guess we can stop configuring jenkins jobs to use them.
jenkins_jobs/openstack/common/setup.py stills reference GERRIT_REFNAME.
It seems that file got imported from another repository but I have not
found the original repository :(
Change-Id: Ia97319f96a00394b3321a484310975a10f574f13
The values map to these GUI choices
* default -> Default
* local-to-executor -> Local to the executor
* local-to-workspace -> Local to the workspace
This is on the project level what the similar option is on the builder
level.
Change-Id: I90ee3385ee12a46b5ab1eb26e3af1bdbfc36946a
Test full build job XML produced by the YamlParser object which exposed
differences in how the XML was being written on python 2.6 versus newer
versions of python.
Differences were whitespace only, but made testing and validating the
xml outputted across multiple versions of python difficult.
Code now patches the python 2.6 writexml method on the Element class in
the xml.dom.minidom module, with a version of the method taken from
python 2.7.5.
Removed the now obsolete regex that was reformatting the output on
python 2.6.
Change-Id: I26c100b6adfbcb9b197bb06cd162855adaaf24c5
So far it wasn't possible to test the prameters of the
project itself. While If7b749dae7631e8714a9416dfbd82d2443c0302c
already made the job creation consistent this goes one step further
and creates the root_xml using the project's root_xml method.
Change-Id: Ieba4203d3d23ad68df5a1246e90ea8c03ddd54d4
Defining a project (in yaml) without setting any other parameters should
generate a basic jenkins job (in xml). While this works for freestyle jobs,
jjb will throw an error for maven and flow projects. The behavior should be
consistent across all types of projects. This patch just makes it so
that the behavior is consistent.
Change-Id: If7b749dae7631e8714a9416dfbd82d2443c0302c