summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Update xcode plugin to support 2.0Will Soula2017-11-282-0/+6
| | | | | | | | | | Add new parameters: * ipa-export-method * development-team-id Change-Id: I17cc69dc86c59fcddc8d821196424c01caa8f613 Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
* Merge "Add NodeJS executor build step"Zuul2017-11-074-0/+26
|\
| * Add NodeJS executor build stepvbotay2017-10-244-0/+26
| | | | | | | | | | | | | | | | | | Currently there is no possibility to setup options for 'NodeJS Plugin' https://wiki.jenkins.io/display/JENKINS/NodeJS+Plugin But 'NodeJS Plugin' is widely used to get ability of executing JS in build step So this patch introduces configuration options for 'Execute NodeJS script' build step. Change-Id: Ie0a9863f235d4199a6de350036394b8d054eb1e9
* | Merge "Update tfs to use convert_mapping_to_xml()"Zuul2017-10-273-3/+3
|\ \
| * | Update tfs to use convert_mapping_to_xml()Yolande Amate2017-10-233-3/+3
| | | | | | | | | | | | | | | Change-Id: Iec3972d2f16e660759b9eeaedb26bddea2ff21a6 Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
* | | Merge "Support all parameters in gitlab-merge-request"Zuul2017-10-272-0/+14
|\ \ \
| * | | Support all parameters in gitlab-merge-requestLukas Lowinger2017-10-252-0/+14
| | |/ | |/| | | | | | | | | | Change-Id: I21c667515b7073a19696a8d8f27d9cf2b4278504 Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
* | | Merge "Update svn-tag parameter to support all config"Zuul2017-10-274-0/+57
|\ \ \
| * | | Update svn-tag parameter to support all configJoost van der Griendt2017-10-254-0/+57
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | Additionally update the plugin to use convert_mapping_to_xml and add min/max tests. Change-Id: I8f0a9054c12ea984a286aea1012513baac07479f Co-Authored-By: Thanh Ha <thanh.ha@linuxfoundation.org> Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
* | | Merge "publishers: add args to gitlab publisher"Zuul2017-10-275-6/+22
|\ \ \
| * | | publishers: add args to gitlab publisherKen Dreyer2017-10-135-6/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for "Name" and "Mark unstable as success" options. Move the existing gitlab-notifier test to "minimal" and add a "full" test that exercises these new args. Change-Id: I0affb14ac51accf766d930dda816537ceb1d23fc Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
* | | | Add support for the Git Parameter Jenkins pluginmostwanted2017-10-254-0/+60
| |/ / |/| | | | | | | | | | | | | | Change-Id: I7522f1250de88f073c0f47149dafed7fff9ecd9f Resolves: #2000902, #2000802 Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
* | | Merge "Add cloudbees folder creation support"Zuul2017-10-234-0/+51
|\ \ \
| * | | Add cloudbees folder creation supportJerome Hourquebie2017-10-234-0/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add project folder module. Jenkins folder could be made with project-type: folder This requires Cloudbees folder plugin and python-jenkins folder update (see: https://review.openstack.org/#/c/180185/) Change-Id: I7e1c28c26a69ae6ca736cec88fcb957a716d8fad
* | | | Merge "Basic folder support"Zuul2017-10-2314-23/+197
|\ \ \ \
| * | | | Basic folder supportDarragh Bailey2017-10-2314-23/+197
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allows specifying a folder attribute for each job generated, which in turn is used when creating or uploading to place the job under the requested folder. The job name is expanded after defaults are applied, to support the attribute being defined within a set of defaults applied to a number of jobs. This in turn allows for multiple jobs with the same basename to exist, provided they are targeted at different folders. Does not support creating the folders if they do not exist. Change-Id: I8c2157c4c81087cc972a048d1b88d5f08ac65361
* | | | Merge "Add support for new parameter option in Slack Plugin"Zuul2017-10-237-0/+7
|\ \ \ \
| * | | | Add support for new parameter option in Slack PluginYolande Amate2017-07-257-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ic827d8ee9de057f535fa2b95ab7a7aaa7bc20fee Task: 3457 story: 2000850
* | | | | Merge "Add support for CloudBees Docker Hub Notification Plugin"Zuul2017-10-234-0/+32
|\ \ \ \ \ | |_|_|_|/ |/| | | |
| * | | | Add support for CloudBees Docker Hub Notification PluginYolande Amate2017-10-234-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I1653c79c3abef9afa8157f3af04ee39a3e7a804e Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
* | | | | Merge "ansible_playbook: add support for DoNotSpecify inventory type"Zuul2017-10-232-0/+26
|\ \ \ \ \
| * | | | | ansible_playbook: add support for DoNotSpecify inventory typeEvgeni Golov2017-08-102-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Idc72f9c1081a571bfc1ca69b74815b2c2033ef96 Signed-off-by: Evgeni Golov <evgeni@golov.de>
* | | | | | Merge "Adds support for prefix-variable in version-number wrapper"Zuul2017-10-232-0/+2
|\ \ \ \ \ \
| * | | | | | Adds support for prefix-variable in version-number wrapperOJ LaBoeuf2017-08-142-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | prefix-variable is currently not available for use in the version-number wrapper. updated wrapper for support of this variable and updated test fixtures to also use this variable. set default value of prefix-variable to '' Errors out without a default value set saying the attribute is missing, and since this is an optional attribute we don't want that. Task: 4885 Change-Id: I151eef271194fb38dfde7518698f2ff06e3a8f01
* | | | | | | Merge "Update class Pipeline to use convert_mapping_to_xml()"Zuul2017-10-232-2/+2
|\ \ \ \ \ \ \ | |_|_|_|_|/ / |/| | | | | |
| * | | | | | Update class Pipeline to use convert_mapping_to_xml()Yolande Amate2017-08-112-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I37b3deb9a0db2eea3c24dc16409cd730887f7bf1
* | | | | | | Merge "Add support for the Branch API Plugin"Zuul2017-10-234-0/+25
|\ \ \ \ \ \ \
| * | | | | | | Add support for the Branch API PluginYolande Amate2017-08-164-0/+25
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | Change-Id: I3ed06a4ef957cb088bda8b9a5881d642f68cbe3d
* | | | | | | Merge "Update extended_choice_param to use convert_xml()"Zuul2017-10-236-42/+1
|\ \ \ \ \ \ \ | |_|_|_|/ / / |/| | | | | |
| * | | | | | Update extended_choice_param to use convert_xml()Yolande Amate2017-08-056-42/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ia713a21061d6d6db1d1ac48983a44f6f3ea1cc1d
* | | | | | | Merge "Add support for jira_comment_trigger"Zuul2017-10-234-0/+34
|\ \ \ \ \ \ \
| * | | | | | | Add support for jira_comment_triggerYolande Amate2017-08-214-0/+34
| | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | Change-Id: I7df9e26527e2fdbeb134cdcb4c288c3ef36e341b
* | | | | | | Merge "Add support for jira_issue_updater"Zuul2017-10-234-0/+54
|\ \ \ \ \ \ \
| * | | | | | | Add support for jira_issue_updaterYolande Amate2017-08-284-0/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I7ca54752e12540ef2de2d8d888da5e79ee4345e5
* | | | | | | | Merge "Switch param order from yaml conf to plugin specific"Zuul2017-10-207-6/+8
|\ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ |/| | | | | | |
| * | | | | | | Switch param order from yaml conf to plugin specificDarragh Bailey2017-09-227-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Migrate from a global config __future__ to control behaviour to plugin specific options to decide on whether to take the param order from yaml when using the trigger-parameterized-builds plugin or when plugins are making use of it as well. Adjust the config retrieval to support a default value to simplify logic around ensuring the behaviour matches 'true' by default. Remove some redundant logic in helper module handling a default value lookup and add some additional conf files to continue having some tests using the old behaviour. Remove old conf files setting the __futures__.param_order_from_yaml to true as this is now the default under the correct plugin setting. Change-Id: Ibd5f549b6d626bacaaa4221015a70aaf03626b00
* | | | | | | | Merge "Give an explicit error message when unsupported view type used"Jenkins2017-10-102-0/+19
|\ \ \ \ \ \ \ \
| * | | | | | | | Give an explicit error message when unsupported view type usedDaniel Watkins2017-10-062-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When specifying a view type that isn't supported by any modules (such as "list-view" instead of "list"), this ensures that the user is guided towards something correct. This changes the error message in this case from: AttributeError: 'NoneType' object has no attribute 'name' to: jenkins_jobs.errors.JenkinsJobsException: Unrecognized view type: list-view (supported types are: list, pipeline) Change-Id: I0ee800db1c9c8aeecffcf11f1e86c03ba0590da8
* | | | | | | | | Add default columns to list viewsDaniel Watkins2017-10-062-0/+37
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This uses the default "All" view columns as the columns for any views without a columns attribute sets. This means that view definitions which don't define any columns will still end up producing a useful view. (Note that the "All" columns are not fetched from the Jenkins instance; the columns that are the default in a fresh Jenkins install are hard-coded.) Change-Id: I0a21e024be383088c6238c3fc7beb708af8c2c46
* | | | | | | | Merge "Add support for unstable return parameter for shell builders"Jenkins2017-10-064-0/+25
|\ \ \ \ \ \ \ \
| * | | | | | | | Add support for unstable return parameter for shell buildersDaniel Watkins2017-10-054-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This continues to support the current string form for job configuration, as well as adding a form that supports a mapping. This mapping has two keys: "command", containing the command to be executed (i.e. the current string parameter); and "unstable-return", containing the exit code that configures the exit code that should cause a build to be marked unstable. Change-Id: I43ecc883236bbf8fc6de7ed8992e6d90da7d48ac
* | | | | | | | | Merge "Add Support for a list of additional-credentials in the SVN-plugin"Jenkins2017-10-062-0/+49
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | |
| * | | | | | | | Add Support for a list of additional-credentials in the SVN-pluginJacqueline Haefke2017-10-062-0/+49
| | |_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since the 30.01.2017 the SVN plugin support additional-credentials, but the jenkins-job-builder can't generate this part: <additionalCredentials> <hudson.scm.SubversionSCM_-AdditionalCredentials> <realm>...</realm> <credentialsId>...</credentialsId> </hudson.scm.SubversionSCM_-AdditionalCredentials> <hudson.scm.SubversionSCM_-AdditionalCredentials> <realm>...</realm> <credentialsId>...</credentialsId> </hudson.scm.SubversionSCM_-AdditionalCredentials> </additionalCredentials> Now you have optional 'additional-credentials' parameters. Change-Id: I801cada4bd630242a216a1facc4abfc8d5378bcf Task:4884 Story:2001152
* | | | | | | | Merge "change assert(Not)Equals to assert(Not)Equal"Jenkins2017-09-263-5/+5
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | | | |
| * | | | | | | change assert(Not)Equals to assert(Not)Equalzhangyangyang2017-09-133-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to http://docs.python.org/2/library/unittest.html assert(Not)Equals is a deprecated alias of assert(Not)Equal. Change-Id: Ibadf2b2c6cb09db6f5cc191240aad2ac8cb4ea33 Closes-Bug: #1329757
* | | | | | | | Merge "Default gitlab to newest plugin config format"Jenkins2017-09-203-0/+9
|\ \ \ \ \ \ \ \
| * | | | | | | | Default gitlab to newest plugin config formatThanh Ha2017-07-263-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I51ca15b9bfef42b79e03c4a2ba0bb9f23d880188 Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
* | | | | | | | | Merge "Default artifactory-generic to newest plugin config format"Jenkins2017-09-201-0/+3
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Default artifactory-generic to newest plugin config formatThanh Ha2017-07-261-0/+3
| |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I3a1f6185a0a71bb1444ba3e45790ecfce559e9f5 Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
* | | | | | | | | Merge "Default cmake config to newest plugin format"Jenkins2017-09-202-4/+4
|\ \ \ \ \ \ \ \ \