summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge "Refactor jobfilters to separate file"Zuul2019-04-102-248/+214
|\
| * Refactor jobfilters to separate fileThanh Ha2019-04-102-248/+214
| | | | | | | | | | | | | | Make things easier to document and parse. Change-Id: I35ce23b307970bbd05380d669efabcb68f6f4980 Signed-off-by: Thanh Ha <zxiiro@linux.com>
* | Merge "Add 'publishers-from' to the publishers module"Zuul2019-04-103-0/+30
|\ \ | |/ |/|
| * Add 'publishers-from' to the publishers moduleNorbert Grünwald2019-04-093-0/+30
| | | | | | | | | | | | | | | | This adds the 'publishers-from' action to the publishers module. It enables the "Use publishers from another project" provided by the "Template Project Plugin". Change-Id: I6fb030a99bccaa79e4f99efe012ff63c6d376a38
* | Set reference repo under clone optionsVishal Bhoj2019-04-093-0/+42
| | | | | | | | | | | | | | | | | | | | | | When we have cloneOptions in the generated with options like tags and reference filled outside of cloneOptions, The reference is not filled in the job configuration and this option will not work as expected. reference should alwasy be listed inside CloneOptions. Change-Id: I519d3c42f1b32ab27243b0f5c592e3d41e3230bb Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
* | Merge "adding variable bindings option to extended parameters"Zuul2019-04-094-0/+8
|\ \
| * | adding variable bindings option to extended parametersGleb Samsonov2019-04-094-0/+8
| |/ | | | | | | Change-Id: I4e9fba2da7771d1cac04bcb9818389207a6f301e
* | Merge "Add support for Packer plugin"Zuul2019-04-095-0/+127
|\ \
| * | Add support for Packer pluginAreum Cho2019-04-095-0/+127
| |/ | | | | | | | | | | Change-Id: Idcb85f53656efb07a6aafe28f60ecafd9011fab4 Co-Authored-By: Tan Heng Yeow <E0032242@u.nus.edu> Signed-off-by: Tan Heng Yeow <E0032242@u.nus.edu>
* | Merge "[jenkins-job-builder] - Add support for Generic Webhook Trigger"Zuul2019-04-0911-0/+303
|\ \
| * | [jenkins-job-builder] - Add support for Generic Webhook TriggerBrian Kruger2019-02-1511-0/+303
| | | | | | | | | | | | Change-Id: Iced7c16938357a61ce566e3e0732ac2d43b0befa
* | | Merge "Fix loader overwriting"Zuul2019-04-091-0/+5
|\ \ \ | |_|/ |/| |
| * | Fix loader overwritingIvan Remizov2019-03-121-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In cases when there are many j2 templates and some of them use include tags, correct jinja loader is overriden with one of loaders related to other templates. This patch fixes it with workaround. Which is overwrite incorrect loader with initial. Change-Id: Iec21c24fe6e4bfedf281d7215e520298381f07a7
* | | Allow pyyaml >= 5Thomas Bechtold2019-04-081-1/+1
| | | | | | | | | | | | | | | | | | Current latest version is 5.1 so allow this version, too. Change-Id: Ic349545720bf9a3d973fe863c7068d1e590732c3
* | | Property to disable job resume on Jenkins restartAlexander Evseev2019-04-033-0/+26
| | | | | | | | | | | | Change-Id: I1bb63ecc02b9f74e59aec70811eaca7c082665be
* | | Replace openstack.org git:// URLs with https://Ian Wienand2019-03-242-4/+4
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a mechanically generated change to replace openstack.org git:// URLs with https:// equivalents. This is in aid of a planned future move of the git hosting infrastructure to a self-hosted instance of gitea (https://gitea.io), which does not support the git wire protocol at this stage. This update should result in no functional change. For more information see the thread at http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html Change-Id: I250cbe6699b73d7ddeb3c6e2b875ce8e439276be
* | Add support for 'RocketChat Notifier Plugin'Kyr Shatskyy2019-03-045-0/+253
| | | | | | | | | | Change-Id: I78755fb1d116a6e164817589457fe132b81a89eb Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@gmail.com>
* | Merge "add the "honorRefspec" option to the Git SCM"Zuul2019-03-023-1/+9
|\ \
| * | add the "honorRefspec" option to the Git SCMLadislav Thon2019-01-313-1/+9
| |/ | | | | | | | | | | | | Taken from github pull request https://github.com/openstack-infra/jenkins-job-builder/pull/64/files Change-Id: Ib051a46daa4a3e2d6add74cc9c1c3c1eb766672a
* / Adds match-script and groovy-sandbox to Lockable Resources Plugin propertiesThiago Miotto2019-02-226-0/+45
|/ | | | Change-Id: I45db7b1a58f2dea4d46aba61aaf16383d30f1b50
* Fix new flake8 failuresDaniel Watkins2019-01-302-4/+4
| | | | Change-Id: Ieb7f80f25d7fe640caede8d8aef76950ca498723
* Merge "Adds named branches to property strategy support"Zuul2019-01-084-33/+269
|\
| * Adds named branches to property strategy supportsbussetti2018-12-104-33/+269
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | My previous submission added support for property strategy: all branches get the same properties. This patch adds support for the second of 2 options, "named branches get different properties", which allows for a default definition of properties + exceptions for individual refspecs based on their literal branch name. Also includes some re-org of the existing prop. strat. support in order to DRY up the code for both. Also adds sphinx.ext.doctest to docs/src/conf.py extensions to allow for running `make doctest` locally. Change-Id: Icd143fe25b1e2d5c8d1e7e8b0650d91f40838043 Signed-off-by: sbussetti <steve.bussetti@gmail.com>
* | Merge "Do not ignore global-settings-type in Maven module"Zuul2019-01-083-1/+41
|\ \
| * | Do not ignore global-settings-type in Maven moduleMykola Nikishov2019-01-043-1/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | settings-type parameter hides global-settings-type and makes it impossible to use settings from the file and ConfigFileProvider at the same time like: maven: settings-type: file settings: mvn/settings.xml global-settings-type: cfp global-settings: test Change-Id: Ieda05912ae8b28942d98150a51c92b2521f2b6bf Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
* | | Adds github scm multibranch regex branch filteramit lin2019-01-073-0/+9
|/ / | | | | | | | | | | | | | | | | This commit adds the ability to filter discovered branches in a multibranch project using a regex filter. This is done by adding a 'head-filter-regex' key in the github scm configuration inside the multibranch job yaml - it maps to a <jenkins.scm.impl.trait.RegexSCMHeadFilterTrait> element containing a <regex> element in the resulting job. Change-Id: I8c88a8b131cdc51d2c8abb13397637ebbf6d1373 Signed-off-by: amit lin <amitl@totango.com>
* | Merge "Add support for "Build / Publish Docker Image""Zuul2019-01-025-0/+110
|\ \
| * | Add support for "Build / Publish Docker Image"tanhengyeow2018-09-245-0/+110
| | | | | | | | | | | | | | | | | | | | | Change-Id: Iac9ffcdcb4312818d53e1da9be92ecdbb84c8cc1 Co-Authored-By: Anil Belur <askb23@gmail.com> Signed-off-by: Tan Heng Yeow <E0032242@u.nus.edu> Signed-off-by: Anil Belur <askb23@gmail.com>
* | | Merge "Add retry support to plugins depend on Publish Over X"Zuul2018-12-277-3/+45
|\ \ \
| * | | Add retry support to plugins depend on Publish Over XLi-Wen Hsu2018-12-177-3/+45
| | |/ | |/| | | | | | | Change-Id: Ic5a1ce530ad93b84f0444666ca40fed98b0460bc
* | | Merge "adds vault unlocking parameter to ansible builder"Zuul2018-12-205-0/+8
|\ \ \
| * | | adds vault unlocking parameter to ansible builderDane Foster2018-12-135-0/+8
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | This commit adds a parameter to the ansible builder, vault-credentials-id. This maps to the element <vaultCredentialsId> in the resulting job definition, and has been tested against the Jenkins Ansible plugin v1.0. Change-Id: I40cfd9225923b29c9d2714a60279f1c88f6cb88c
* | | Merge "Update mailinglist address"Zuul2018-12-171-1/+1
|\ \ \
| * | | Update mailinglist addressqingszhao2018-12-171-1/+1
| |/ / | | | | | | | | | Change-Id: Id13bcbfed1cb1b6416f28849384c8f6d1edbd26d
* / / cucumber-reports: Add support for new optionstanhengyeow2018-12-074-1/+90
|/ / | | | | | | | | | | | | Change-Id: Ia447c8ab95d6ea9782ba0092c42b95571625b97f Co-Authored-By: Anil Belur <askb23@gmail.com> Signed-off-by: Tan Heng Yeow <E0032242@u.nus.edu> Signed-off-by: Anil Belur <askb23@gmail.com>
* | Fix default '0' being ignoredThanh Ha2018-12-053-1/+62
| | | | | | | | | | | | | | | | | | The problem with `if default:` is that it evaluates int 0 to be equivalent to False. If a user is passing in a int 0 then they should be expected to receive int 0 in the case of defaults. Change-Id: Ida1f4c68b6f9d1af5b98d633b552f038c57654cc Signed-off-by: Thanh Ha <zxiiro@linux.com>
* | Merge "Print config-xml warning once"Zuul2018-12-032-8/+8
|\ \
| * | Print config-xml warning onceThanh Ha2018-11-152-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of printing the deprecation warning against every generated config-xml file, print it only once at the beginning of the test command call to not spam the console. Change-Id: Ifdcdb1373d44ba6232ea7a5359662cc760353774 Signed-off-by: Thanh Ha <zxiiro@linux.com>
* | | Merge "Convert parameter default value to str"Zuul2018-12-031-1/+1
|\ \ \
| * | | Convert parameter default value to strThanh Ha2018-11-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This resolves the error "TypeError: cannot serialize 1 (type int)" when using a parameter inside of a macro and then passing an integer value to the macro. For example: - parameter: name: int-param parameters: - string: name: VAR_INT default: '{var}' - job-template: name: int-param parameters: - int-param: var: 1 Change-Id: Ie3a5d2e03b7aa0b7cafdb467cd0118e4ff6e73bc Signed-off-by: Thanh Ha <zxiiro@linux.com>
* | | | Adds support for Property Strategiessbussetti2018-11-279-0/+143
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Multibranch pipeline jobs also support "Property Strategy" elements. These are fairly limited, but do contain the very useful "Suppress automatic SCM triggering" trait. This commit adds support for defining these for the "All branches get the same properties" strategy, and could be easily amended to also support the "Named branches get different properties" strategy in a future update. Change-Id: I3d9281657e341260a23f357f6e247793379b0eed Signed-off-by: sbussetti <steve.bussetti@gmail.com>
* | | Merge "Handle cancel-builds-on-update values from vars"Zuul2018-11-195-1/+101
|\ \ \ | |/ / |/| |
| * | Handle cancel-builds-on-update values from varsDaniel Belenky2018-11-145-1/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The code assumes that the value of cancel-builds-on-update is a boolean. This fails when specifying the value of the param in a variable because when deep_formatter formats the data, booleans turn into strings. Also added tests for such case. Change-Id: Ib1ec3d5545091be550bfe023e49c7982372d5b55 Signed-off-by: Daniel Belenky <daniel.belenky@gmail.com>
* | | Merge "Add .venv to .gitignore"Zuul2018-11-141-0/+1
|\ \ \
| * | | Add .venv to .gitignoreDustin Schoenbrun2018-10-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | .venv was not a part of the .gitignore file and was showing up when creating a virtual environment for developing with Jenkins Job Builder. This patch adds .venv to the .gitignore file. Change-Id: Ie32384290b9127759591a695cdfb5b0d6e740eb1
* | | | Merge "Remove random print"Zuul2018-11-141-1/+0
|\ \ \ \
| * | | | Remove random printThanh Ha2018-11-131-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The random print statement does not provide any useful information and spams the console output if a repo has many declared views with uninteresting output. Change-Id: I7f40730c753ec8f1145ba6144fe28bf97844b9e2 Signed-off-by: Thanh Ha <zxiiro@linux.com>
* | | | | Merge "Adds support for Disable GitHub Multibranch Status"Zuul2018-11-145-1/+22
|\ \ \ \ \
| * | | | | Adds support for Disable GitHub Multibranch Statussbussetti2018-11-015-1/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Jenkins2 GitHub scms default to automatically sending updates on build status to github for pull requests. The plugin this enables allows control of this by enabling or disabling the feature via an SCM trait, allowing you to either no notify at all or manually notify via other means. Change-Id: I4f5629c3ee8031d41054e3be5e853201d8f0fed6 Signed-off-by: sbussetti <steve.bussetti@gmail.com>
* | | | | | Merge "docker-pull-image: Pull Docker image from Docker Hub/Registry"Zuul2018-11-145-0/+72
|\ \ \ \ \ \ | |_|/ / / / |/| | | | |