| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Python 3.8 changed things, so now the order of the attributes is not
alphabetic anymore but reflect the order they where added.
See this CPython commit for more details:
https://github.com/python/cpython/commit/63673916464bace8e2147357395fdf3497967ecb
This lets the testsuite pass with both CPython 3.8 as well as previous
versions.
Change-Id: I315abda0465d882d9673c9a7faac0990e38b6840
Signed-off-by: Mattia Rizzolo <mattia@mapreri.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The Jenkins Wiki page is deprecated and Jenkins community is expected
to migrate their documentation to plugins.jenkins.io URL. This patch
updates all plugins that have a relevant plugins.jenkins.io URL
documentation link.
Change-Id: Iba7df7eada7b8ca0bb9aad93f5499ac6365a9293
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The Jenkins Wiki page is deprecated and Jenkins community is expected
to migrate their documentation to plugins.jenkins.io URL. This patch
updates all parameters that have a relevant plugins.jenkins.io URL
documentation link.
Change-Id: I3f944d268031c0217544ee94bb5361276ca9158d
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The Jenkins Wiki page is deprecated and Jenkins community is expected
to migrate their documentation to plugins.jenkins.io URL. This patch
updates links that have a relevant plugins.jenkins.io URL
documentation link.
Change-Id: I7ce6978d48d09deea976e9b5f800632e92e7bd11
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Some links have been permanently redirected to a new URL so
adjust the links to go directly to the new URL.
Change-Id: I900091f8bdc39aa5fd06eae04a9b18ef23add8f2
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The Jenkins Wiki page is deprecated and Jenkins community is expected
to migrate their documentation to plugins.jenkins.io URL. This patch
updates all builders that have a relevant plugins.jenkins.io URL
documentation link.
Change-Id: Ib07ebb4dceb23325e8d401dd9c0a8dfb9f49cd80
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The change fixes a XML generating error (KeyError: '_use_folder_perms')
for project, which isn't contained in a folder and has got authorization
properties.
Task: 38110
Story: 2007087
Change-Id: I2e0ec6e524d07a935333b35e10eb4204af9256f7
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The Jenkins Wiki page is deprecated and Jenkins community is expected
to migrate their documentation to plugins.jenkins.io URL. This patch
updates all publishers that have a relevant plugins.jenkins.io URL
documentation link.
Change-Id: I94448d04f2b28fbf3befde2e49c76d196e352d7e
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
|
|\ \ \
| |/ /
|/| | |
|
| | |
| | |
| | |
| | | |
Change-Id: Id84b3d9282568cf47d5feb930fd618afe969b45f
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The gerrit-code-review-plugin v0.4.0 introduces the
integration with Gerrit Checks plugin. Introduce the option
to query for pending checks.
Change-Id: Idb3f290121aa6fbcdc25a0821c9bdc3dd03e21af
|
|\ \ \
| |/ /
|/| | |
|
| |/
| |
| |
| |
| |
| |
| |
| | |
The GerritSCMSource type for the multibranch pipeline does not
belong to the 'gerrit' plugin but rather to the 'gerrit-code-review'
plugin.
Change-Id: I5edd81a3506847c3e5910ad66d4498a2b8c899e9
|
|/
|
|
|
|
|
|
|
| |
This toxenv will allow us to flag URLs that no longer work. We
also switch from using old style setup.py build_sphinx to the
newer sphinx-build command.
Change-Id: I62f42918814fb6eea4876e0d22c6bccddf86a826
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
|
|
|
|
|
|
|
| |
Import those jobs that should be in-repo.
Needed-By: https://review.opendev.org/700356
Change-Id: I57b83d4a95810fe3cc09e2c4a909fc95e7aa2dee
|
|
|
|
|
|
|
|
| |
Since change I5cbf7b5cfea349a0bd72d2abee40710175cf5b2f, this repo
publishes to https://jenkins-job-builder.readthedocs.io/en/latest/ ,
let's update the links for this.
Change-Id: I08f8dd992ee1b6360f3d226cb668cda7f4242b8a
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In the new version of PyYAML the API changed to be more explicit. Now
the default value for the Loader is None, see:
https://github.com/yaml/pyyaml/blob/5.1/lib3/yaml/__init__.py#L103
The load is unsafe. It's better to use safe_load function.
Change-Id: Ia1cd16f2ff970ca220a266c99b6554dd4254ebd9
|
|/
|
|
|
|
|
|
|
|
|
| |
It's sometimes required to trigger a job build on every CI message.
To achieve that the XML's noSquash (jjb: no-squash) has to be set to
True.
see triggers section at:
https://wiki.jenkins.io/display/JENKINS/JMS+Messaging+Plugin
Change-Id: I389e59cca4f649379614f7f6247bf76cf4a0ba95
|
|
|
|
|
|
|
|
| |
The spam caused by jjb not doing anything with a job is not
generally interesting so switch it to a DEBUG level logger.
Change-Id: I0c5277612c8db3a11a1e44d4855b4a51226a8f2c
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
|
|
|
|
|
|
|
| |
It's helpful to have possibility to set `jobAlias` in case the
same job is used multiple times with different configurations.
Change-Id: Ic092c6b2f5d893e75ebce4aaebc7eaf88a8978a6
|
|
|
|
|
|
|
| |
Updated gerrit trigger support to include the new exclude private and
exclude wip changes.
Change-Id: I75d8113941e4e455ec34fab23d347816c2ef699b
|
|
|
|
|
|
|
|
|
|
| |
Ensure that we can resolve any lazily loaded templates that might be
dictionary keys in yaml. For more informmation please see the added test
case in tests/yamlparser/fixtures/jinja-string04.yaml.
Change-Id: I67fbca422f2165729af15e4d039278ad66f6240b
Story: 2006431
Task: 36338
|
|
|
|
|
|
|
|
|
|
|
|
| |
Jinja templates are not deep-copyable so they cannot be used in
"defautls" sections or to pick defualts for job groups or projects.
This works around the issue by waiting until we render the template to
construct the template itself.
Story: 2006431
Task: 36337
Change-Id: Ief31fdaac06bb14d0aaba71c8c0e658a7f861671
|
|
|
|
|
|
| |
It's nowadays opendev.org so use that.
Change-Id: I91382e8d18deec6c91e84d9232f013792631e66a
|
|\ |
|
| |
| |
| |
| | |
Change-Id: Iaf352e8cc62644fb05afaae21630b9bec2cd30c0
|
|\| |
|
| |
| |
| |
| | |
Change-Id: I13532a16efc6e970ab5a7c021ec4d77be98d3de8
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Each component (builder, publishers...) is loaded everytime dispatch()
is called. Its main purpose is to lookup the type of the component.
However pkg_resources.EntryPoint.load() is a costly operation and it was
done every single time dispatch() is called.
Against Wikimedia configurations files [0] it is extremely noticeable.
The entrypoint is loaded solely to figure out its type. I do not see any
good reason for it to change, thus introduce a new cache
_component_type_cache.
That then let us prevent invoking load() every single time.
Run time to generate Wikimedia configuration files went from 17 seconds
to a mere 4 seconds!
[0] https://gerrit.wikimedia.org/g/integration/config/+/master/jjb/
Change-Id: I49bc5dc91e3ba69b7f15c5f5ded8a42fb61a60c2
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When profiling a JJB run against Wikimedia configuration files [0], I
noticed a lot of calls to package_resource trying to figure out the
version.
Years ago, I already added coded to cache the entrypoints, unfortunately
only the entry point definition got cached not the underlying function.
Thus each entry point ends up invoking a load() which dramatically slow
down JJB.
A low hanging fruit is to invoke load() and cache the returned function.
Doing so, the run time goes down from 28 seconds down to 17 seconds.
[0] https://gerrit.wikimedia.org/g/integration/config/+/master/jjb/
Change-Id: I336b556f28328d8acbdd71c43c8775d55c3720d8
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This outputs the correct XML schema for authorization properties for
both a folder, and a job inside a folder.
Story: 2006493
Story: 2006611
Change-Id: I14662855613ce146f74b85f5978a0ed828f4439b
|
| |
| |
| |
| |
| |
| |
| |
| | |
Added upstream June 2018 in https://github.com/jenkinsci/text-finder-plugin/pull/16
Released upstream with 1.11 in June 2019: https://wiki.jenkins.io/display/JENKINS/Text-finder+Plugin
Change-Id: I28cf1425da98091ae0b19f450aea3fa5de6546c6
|
|/
|
|
| |
Change-Id: Idd48c5c0e595195aaecfee9aab7233cbf1d1a640
|
|
|
|
|
|
|
|
|
| |
Instead of having our reviewers spend time and effort commenting on
code style in changes let's make the process more automated by using
an opinionated tool like python-black.
Change-Id: Ia2724a0b38381a2ef1860c3fcd9d44bb51b8ddbb
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
|
|
|
|
|
|
|
|
|
| |
Please review the following patch containing the code changes in
the repo. This patch is a transition patch and is the auto-generated
output of the python-black tool.
Change-Id: I2d2de71da8a105fb62b561899ae78441ddab4032
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Added new support for the following plugins:
Perforce plugin: https://wiki.jenkins.io/display/JENKINS/Perforce+Plugin
InfluxDB plugin: https://wiki.jenkins.io/display/JENKINS/InfluxDB+Plugin
Added support for v3.0 of the following plugin
https://wiki.jenkins.io/display/JENKINS/Priority+Sorter+Plugin
Change-Id: If109863a91710c08b34dee622496e551a7b3b520
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Warnings appear when running local_yaml unit tests.
This commit fixes the issues causing these warnings
```
ResourceWarning: unclosed file <_io.TextIOWrapper
name='jenkins-job-builder/tests/yamlparser/fixtures/include_path001.conf'
mode='r' encoding='utf-8'>
jjb_config = JJBConfig(self.conf_filename)
```
Change-Id: I8fec288cce8c9f6c7b928886d7c70f7a35d43b4a
|
|\ \ \
| | | |
| | | |
| | | | |
plugin"
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I2edd0343966e1720161c291b811b989f005495fb
|
|\ \ \ \
| |/ / /
|/| | | |
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: Ide9e02c7b5a327a17521aac8d25ccff285bbd89a
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When calling `jenkins-jobs update --delete`, the builder will create an
XML dom tree from the xml string. It fails to correctly encode the
string, which results in a UnicodeEncodeError if the string contains any
non-ascii characters.
Story: 2006374
Task: 36163
Change-Id: I2caf91dcaf2c1b6c03e92a485a3aa51b038b40b1
Signed-off-by: Achim Leitner <git@fjl.de>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
overrides->topic is now supported in the jms messaging Jenkins
plugin hence we need support it in jjb.
see triggers section at:
https://wiki.jenkins.io/display/JENKINS/JMS+Messaging+Plugin
Change-Id: I389e59cca4f649379614f7f6247bf76cf4a0ba94
|
|/ /
| |
| |
| |
| |
| | |
This reverts commit a9e12ed4a9f5866da0af5fdc68f60b09ca8efa4b.
Change-Id: I2bbb2cc167a4c2cd95ac6b376ebe83bcf7a263ad
|
| |
| |
| |
| |
| |
| |
| |
| | |
The parameter is wrong in the Python docstrings since it's used as
discover-branch in code.
Change-Id: I9c3108c297e2261e3bfa8dffd29da766ad44716a
Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl>
|