Preparatory move for adopting pre-commit hooks.
Shoudl only remove newlines and spaces at end of files.
Change-Id: Ia33679467c533722b9308f7e7b74be395c926428
Signed-off-by: Sorin Sbarnea <ssbarnea@redhat.com>
In [version 2.0](8f2ae302bd)
of the priority sorter plugin, the long name of the plugin was renamed
to "Jenkins Priority Sorter Plugin", which broke the `priority_sorter`
function in the `properties` module.
The short name did not change, so we now use that instead to ensure
that we generate a configuration that matches the latest required by
the plugin.
Change-Id: I89a8fdabeac63ea482b3b1bd8ddf2dd83c1c7435
Task: 3112
Story: 2000655
- Rename test file to be more descriptive
- Add minimal test file
- Add plugin="rebuild" attribute
- Add plugin desciption to doc
Change-Id: I466d8fed4c4167b9693ae3bb369611ef4b63e318
Signed-off-by: Kien Ha <kienha9922@gmail.com>
- Rename test file to be more descriptive
- Add full test file
- Add plugin="github" attribute
- Update plugin to use convert xml
Change-Id: I579248edbab73bda8a5ab8afc11805ac61e049b4
Signed-off-by: Kien Ha <kienha9922@gmail.com>
- Add plugin="delivery-pipeline-plugin" attribute
- Rename test files to be more descriptive
Change-Id: I9db5315e425da6bd5c69b533c79d6d5ab4ed1e70
Signed-off-by: Kien Ha <kienha9922@gmail.com>
The copyartifacts property on Jenkins requires that the config XML
provide an string element for each allowed project. On JJB the
documentation says that the projects needed only to be comma-separated,
however JJB is not doing the job separation.
Parsing the projects string, spliting it by commas and then adding it to
a different string element solves this.
Change-Id: I59d8b2c070f28df4cfa9da0ab58f2c57e4243384
Signed-off-by: Lucas Dutra Nunes <ldnunes@ossystems.com.br>
Adds a gitlab-notifier publisher that allows to set the commit status
on GitLab. The GitLab connection is specified using a property.
Reference: https://github.com/jenkinsci/gitlab-plugin/pull/229
Change-Id: I45b4ec2e3c5ff08922270c5c0539d4ee2086a752
This deprecates the logrotate generic element of the jobs, as it's not
supported anymore on jenkins>1.637, see:
1cbbb23923
Change-Id: Ib086aef43e4833855b5827ad0ed3310e8db7d7b9
Signed-off-by: David Caro <dcaroest@redhat.com>
Move remaining examples to unit tests, remove unnecessary '\' and align
docstrings to the predominate standard throughout the project.
Fix broken authenticated-build highlighted by the added unit test.
Change-Id: Ic9700f587073946be17be543920a4a3ed7cd19d0
Remove the test options suppressing ignoring differences in whitespace
outputted in the XML to allow capturing of issues where the code
incorrectly adds or removes significant whitespace.
Add a helper function to deal with the edge case of parsing XML directly
that contains non significant whitespace to avoid accidentally adding
excess whitespace when minidom outputs the resulting document.
Change-Id: I9936042cd82c204ba2b3c19f575703e33564f7fd
<https://wiki.jenkins-ci.org/display/JENKINS/Sidebar+Plugin
You can find the original version of this patch here:
c5ea266856
Update to the original author's patch is limited to moving the one line
from setup.py to setup.cfg, fixing some pep8 errors, and adding a unit test.
It is being submitted upstream with Holger's approval, because he doesn't
have the time available to do it himself.
Change-Id: I75ffedeaafab3aea4eb1b172a980d625669fdacc
Co-Authored-By: Philip Hands <phil@hands.com>
Replace hard-coded inject example with a literal include. Extend the
example to show how to pass two environment variables.
Add test fixtures for the keep-system-variables and keep-build-variables
parameters.
Change-Id: Ie3b5af2c38f8dde5ff739b9f6b213c1e94387aca
Since 1.30, Copy Artifact supports specifing the projects that are allowed
to copy artifacts for a given project in the general job properties.
Change-Id: I5a9de21f449e98d08ec9303d55021d6a661257d4
This is a Jenkins plugin that will publish Jenkins Job run events
(start, complete, finish) to a ZMQ PUB socket.
Change-Id: Id238033796e6905e18a777fc85c789ff6cf4f59d
This plugin allows you to define "weight" on each job,
and making each job consume that many executors
Change-Id: Iee49229b0d3c909f320caa9bd6c1ebb6bc37ddcb