The http://ci.openstack.org/ documentation site has been deprecated,
replaced by redirects to corresponding paths within
http://docs.openstack.org/infra/ where other Project Infrastructure
documentation already resides.
Change-Id: Iafe263b9e4dddd25358f74edda03eb72781890b2
waynr fixed a bug but explained in concat_defaults002
This bug happens when some values are specified in an other defaults
namespace then global.
This causes JJB to fail that its unable to find the required keys
becasue these were not merged correctly
Change-Id: Id0df24ba7cf8281389c2ed7af7ee716047d0e4a5
This plugin integrates gatling, an open source strees tool,
with Jenkins and allows you to:
* Keep track of a Gatling simulation, providing performance trends across
builds
* Publish detailed reports for each build
Change-Id: Id58337012cd867cc019515e58c86a33d806fbd2a
Tox 2.0 does not pass the environment from the caller through anymore.
THis means your locale LANG setting is not set which makes the utf8
tests unhappy in JJB. Correct this by explicitly setting a LANG of
en_US.UTF-8. The important bit is the UTF-8 specification, en_US was
chosen somewhat arbitrarily.
Change-Id: I0fc5b5ab80414b392b7cebe9b4e0ebc5cc42c61c
Anchors and aliases were expanded internally within JJB's yaml loading
calls so they were limited to individual documents. Now, included files
will have access to aliases of anchors already defined at previously
processed files.
Example:
- default:
name: default-timeout-wrapper
timeout: &timeout
fail: true
elastic-percentage: 150
elastic-default-timeout: 90
type: elastic
- wrapper: !include include002_1.yaml.inc
Previously was not possible to use '*timeout' alias inside
include002_1.yaml.inc file
Closes-Story: 2000173
Change-Id: Ic031ddbb0310bd11748183fbde9502735c3b7169
Instead of doing an individual api call each time,
to check if a job exists, do an initial jenkins get_jobs()
call on init, and use that list as a cache, to speed
up job queries.
If a job is not found in cache, we still will be querying
jenkins directly as a fallback.
Change-Id: Ie3eff875f4d832a42c9e38478f62055bc135a7e0
This reverts commit 7100a7f225e60936f23d24c757c1b14c9b136ec4.
The referenced commit, in addition to what it advertises, also
filters the result of update_jobs to include only changed jobs.
If there are no change jobs, then, if the user specifies
--delete-old, there are no jobs in the list of jobs to keep
which comes from the result of update_jobs. In that case, all
jobs are deleted. Or in other words, the logic in this change
is that all jobs not updated are deleted.
Proposing as a revert because this is currently causing serious
problems for continuously deployed JJB instances, and the very
common --delete-old code path should be properly tested with
this change before it lands again.
Change-Id: I98443f0c085e27ed8dfece6409434015ac24b306
'raw' allow users to have a fallback in case
a plugin is not yet supported or the plugin is not generating the
expected result.
Only intended as a last fallback, but useful when waiting for
review to complete.
Change-Id: If0d22d7d43d35649e78aa7481e1c0f1ed21a6025
* Only update_jobs uses the parallel features right now
* --workers N
- if set to 0, it will use parallel execution and
use the number of cores in the machine as thread count
- Any other value enables the paralllel extensions and sets the
number of concurrent threads to that value
- Will use 1 by default
Added some tests to make sure the parallel execution helpers work as
expected
Change-Id: Iee8426ff2dc4c5b4ebec4c15bdd21cae5b47eb83
Signed-off-by: David Caro <dcaroest@redhat.com>
The goal of this patch is simply to move some classes out of
jenkins_jobs.builder into more appropriately-named modules. This started with
simply moving YamlParser into jenkins_jobs.parser but led to other moves in
order to avoid cyclic imports since YamlParser uses other classes previously
defined in jenkins_jobs.builder.
That said, this patch doesn't intend to address all of the clutter in
jenkins_jobs.builder, mostly just what is necessary to get started working on
YamlParser independent of other classes in that module.
Change-Id: Ie88bf683e495033eb0b670fe29c256a70282735f
Remove unnecessary calls to matches() and ensure that delete_job() is
correctly passing the jobs_glob argument to the expandYaml() method call
since it uses a string whereas update_job() is using a sequence of
strings.
Once the bug with how delete_job is calling expandYaml() is fixed, the
subsequent call to matches() can be removed.
Change-Id: Iaf1404e26691384fd1d55ea630457860cc1beff5
Sonatype Component Lifecycle Management Plugin is a plugin that adds
Jenkins support to the Sonatype CLM service. For this plugin to be
useful it requires access to a Sonatype CLM server.
See: http://www.sonatype.com/clm/overview
Change-Id: Ie1eb7ab465f38c71230bf14c7af3cf89e928abe0
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
The point of this patch is to begin promoting a more consistent approach to
producing configuration error messages.
Change-Id: I5cb79c05d791091694731f2034d9205f7eeb76b4
- Adds additional support for Config File Provider to builder sections
- Move builder/wrapper configuration to a common helper function for
reuse
Change-Id: Ie80a3abbd42bdd06d138dcd0c5beea26c9a81f26
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
it was missing the options to set the verified and code review values on
unstable, start and not built statuses.
Change-Id: Ia462d48efc645218281040ff38ab0f7c00e1859d
Signed-off-by: David Caro <dcaroest@redhat.com>
Since Jenkins parameterized build trigger buildstep supports comma-separated
list of jobs to build, this simply joins a list of jobs specified in JJB yaml on
a comma.
Change-Id: I0a65f3497d4a68d798ea29c580b6217bbecfe222