summaryrefslogtreecommitdiffstats
path: root/tests/scm
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge "Allow whitespace to be significant"Jenkins2015-08-261-1/+1
|\ \
| * | Allow whitespace to be significantDarragh Bailey2015-08-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Reformat docstrings for SCMDarragh Bailey2015-08-256-0/+67
|/ / | | | | | | | | | | | | | | Tidy up the docstrings to use consistent formatting, move inline examples to tests and add urls for additional information on source code web browsers. Change-Id: I696389516dbd4e0960986666e32fab93e515710e
* | Merge "configure git PathRestriction as an extension"Jenkins2015-07-314-0/+98
|\ \
| * | configure git PathRestriction as an extensionChris Burroughs2015-07-144-0/+98
| |/ | | | | | | | | | | | | | | | | The git plugin restructured PathRestriction moved to an extension in 2013 or so. Backwards compatibility code (GitSCMBackwardCompatibility) kept the old xml working, but it is cleaner if what jenkins-job-builder emits matches what jenkins uses. Change-Id: I7f34a650586ba394eed4db345d8ce831d5791559
* | Merge "scm svn: add support for viewvc-url"Jenkins2015-07-262-0/+4
|\ \ | |/ |/|
| * scm svn: add support for viewvc-urlHolger Levsen2015-07-102-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows one to specify a URL that links to the web interface for the source being built. You can find the original version of this patch here: https://github.com/h01ger/jenkins-job-builder/commit/e38c41ef6e116072d9965f13cbb9d55eebe51f57 Update to the original author's patch is limited to fixing a very minor pep8 errors, and adding the feature to 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: Ia5acadc5b7bb1a144cc375a692cb7ad0474a931f Co-Authored-By: Philip Hands <phil@hands.com>
* | Support for more extensions and options in Git pluginSomay Jain2015-07-136-0/+174
| | | | | | | | | | | | | | | | | | | | | | | | Added the support for the following - * strategy and ff_mode in merge before build extension * more options for repository browsers * sparse checkout path extension * ignore commits with certain messages extension * force polling using workspace extension * force push option for git publisher Change-Id: I1fd5b73de32f3a4c10c89dacdddb377378c4128d
* | Support for repo-depth and ignore-externals in svn pluginSomay Jain2015-07-134-0/+10
| | | | | | | | Change-Id: I5f35536a936bde33b0a8c710b28ac5e81fcc6c8b
* | Validate the use of `[]` as an `scm` valueWayne2015-06-192-0/+5
|/ | | | | | | | | This is necessary in the case where global defaults sets a templated `scm` value used by most jobs but which is undesirable for a minority of jobs and where it would be inconvenient to copy all the desired settings out of the global defaults into a custom defaults just for that particular set of jobs. Change-Id: I201c29215a7090b81e84b9d494bd2cf6ea0370ad
* Add support for 'raw' to inject direct xml to job configs.Max Rydahl Andersen2015-05-022-0/+55
| | | | | | | | | | | '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
* Update SCM Git Clean configuration to use new extensions styleThanh Ha2015-02-0315-13/+54
| | | | | | | | | | | | | | | | Use the extensions style configuration for setting the SCM Git clean configuration. With this format we deprecate the older (clean: bool) configuration format and replace it with this format: clean: after: bool before: bool The older configuration is still supported so users who did not update their YAML files can upgrade without updating all their YAML files first. Change-Id: I1cfc0e2951c2b4de5e67bcb8abdf0b8c070e7fc6 Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
* Update SCM Wipe workspace to use extensions styleThanh Ha2015-02-0313-10/+33
| | | | | | | | | | | | | | | | | Use the newer extensions style configuration for the SCM Wipe workspace option. This change simply changes the output style of this configuration leaving the original YAML configuration values in tact so it is backwards compatible with the old style configuration for wipe-workspace setting. While this patch still sets the old <wipeOutWorkspace> value long with the new extensions value. Jenkins appears to be happy with both values present and prefers the extensions format if it exists. This should allow the older Jenkins that only supports the older config format to continue to work. Change-Id: Ib5b1809d19a35f83f524ee84b18f0c58b851c70b Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
* Update git-submodule configuration to new extension styleThanh Ha2015-01-222-0/+52
| | | | | | | | | The Jenkins Git SCM plugin now uses extensions style configuration. This patch adds support for the extensions format and deprecates the old format. Change-Id: I3ef144473142e23de859f38501f3561875fb44bf Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
* Merge "Add Mercurial plugin feature to jenkins-job-builder"Jenkins2014-12-136-0/+71
|\
| * Add Mercurial plugin feature to jenkins-job-builderJean-Frédéric Berthelot2014-12-116-0/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds Mercurial plugin to jenkins-job-builder. This allows you to use hg repositories in your Jenkins config eg: scm: - hg: branch: feature url: ssh://hg@hg/repo modules: - module1 - module2 browser: hgweb browser-url: http://hg/repo Follows up on change ids: I00aaa4bb7a67ee5038ed1eff79b5497866730d19 I134c8af15f0d4dc895f7131c77085c198b701fa8 Change-Id: I628f7fbd11769b1d18551fcd2913777dbe8de5a2 Implements: blueprint jenkins-job-builder-mercurial
* | add support to git for changelog against branchKyle Rockman2014-11-2112-0/+77
|/ | | | | | | added support for another extension type, and fix how extensions are populated to xml Change-Id: Ic9cf21a268d4ee3fb9b9efdee65c3d49e0cdb31e Signed-off-by: Kyle Rockman <kyle.rockman@mac.com>
* Add SVN credential supportBrian Saville2014-10-274-0/+4
| | | | Change-Id: I6f39daa7fca2ffc43a7e7f0585900eb145cf841a
* git: Support timeout optionGuido Günther2014-08-142-0/+6
| | | | | | This requires git plugin version 2.2.3 Change-Id: I24a2bce00e35f74a5c513d02a7bffe05267cd498
* Merge "add include/exclude regions/users in svn scm (doc and tests)"Jenkins2014-08-124-0/+68
|\
| * add include/exclude regions/users in svn scm (doc and tests)Vasiliy Zasukhin2014-07-244-0/+68
| | | | | | | | Change-Id: I99ed104cd2cbaba1588dfc31d3b8a028de2e80ee
* | Merge "Add support for 'ignore-notify' in git SCM"Jenkins2014-07-2714-1/+143
|\ \ | |/ |/|
| * Add support for 'ignore-notify' in git SCMChristian Hofstaedtler2014-07-2714-1/+143
| | | | | | | | | | | | | | This option is named "Don't trigger a build on commit notifications" in the Jenkins Web UI. Change-Id: I338af61f8bfdef1545d1ea206e6874cda38957cd
* | Support the Store SCM pluginRandy Coulman2014-07-102-0/+36
|/ | | | Change-Id: I9525a29e54f157c90cf98eb7f351b56d063d87dd
* Merge "SCM module: Add support for multiple Git remotes."Jenkins2014-04-222-0/+53
|\
| * SCM module: Add support for multiple Git remotes.Martin Konrad2014-03-282-0/+53
| | | | | | | | | | | | | | | | | | Configuring multiple Git remotes is necessary to allow Jenkins to merge commits from a remote branch into a local branch. Note that this is not the same as specifying multiple SCMs which are cloned into separate directories. Change-Id: Ifef2da85fa22a979570d4ea2b6f30d4bd37da116
* | Add support for Stash as a repository viewerPeter Jönsson2014-04-072-0/+47
| | | | | | | | | | | | | | Make it possible to use Atlassian Stash as a repository viewer of Git SCM changes. Also sort the viewers alphabetically. Change-Id: I6725570a0aa6770b2d0eee2cd0ae5ff0e5c5e07c
* | Add workspace scmSylvain Baubeau2014-03-142-0/+11
|/ | | | | | | Add support for the 'Clone Workspace SCM' plugin that allows to use the workspace of a project as the SCM of an other project. Change-Id: I8467ace24665855dab606d6e52a1c130cd2929af
* make scm test as the exampleKhai Do2014-01-317-3/+63
| | | | | | scm module had a few existing tests so now those tests are the examples. Change-Id: Iaf039a5bb6f3910b09198e4a800a94f3f58804f9
* Add support for credentials-id in git repositories.Joao Vale2014-01-232-0/+2
| | | | | | Original change by Soren Hansen <Soren.Hansen@ril.com> Change-Id: I2ad6d5b7d8a5cc89596c41463dc7906780b61515
* Add local-branch optionEli Klein2014-01-222-0/+44
| | | | Change-Id: I5883992afc0875e2f464ff3f576b067f7d5b4ce8
* Fix multibyte character problemKei YAMAZAKI2014-01-215-5/+5
| | | | | | Fixed problem that causes a UnicodeEncodeError when use multi-byte characters in the job.yml. Change-Id: Ie715c827a794e73fae11cdca079ea80cfb8c280d
* Add support to specify GitLab version.Joao Vale2014-01-092-0/+49
| | | | Change-Id: Iae3746540cb692b19278fd0bedae48bf976700d5
* update doc and add new JJB unit testsKhai Do2013-11-223-4/+29
| | | | | | | | | | Add documentation on how to generate documentation and run JJB unit tests. Also added a unit tests for each category of plugins as examples for others to follow when adding new JJB plugins. I'm hoping this will help contributors add tests for new plugins going forward. Change-Id: I2ab90cdb37d0f3b1e947345d4291d2927b04a0c6
* Added support for Git shallow clone parameterFelipe Reyes2013-11-148-0/+164
Change-Id: Ia0251f25ff22fff10fe53ba6bf54f0e9072210fd