Changelog¶
0.17.4 (Mar 03, 2016)¶
- More robust handling of the project description element (see `issue 56`_).
- Added the
verify-ssl,cert-bundle, andclient-certconfig-file options and the command-line switches to match them. These control the SSL certificate verification to the Jenkins server.
0.17.3 (Feb 10, 2016)¶
- Fix error-prone handling of the
//project/descriptionconfig.xml element (see issue #54).
0.17.2 (Jan 21, 2016)¶
- Actually change the default tag method to
description. This was announced as the default behaviour in 0.17.0, but was accidentally omitted from that release (issue #50).
Version 0.17.1 was skipped because of a failed upload to PyPi (see issue #74).
0.17.0 (Oct 19, 2015)¶
Jenkins-autojobs will now use the job description field to store its metadata. Expect to see
(created by jenkins-autojobs)and(jenkins-autojobs-tag: $tagname [...])lines appended to the description of all managed jobs.This metadata was previously stored as elements in the job’s
config.xml. Unfortunately, any manual reconfiguration of the job would cause Jenkins to remove these extra elements. This issue is described in greater detail in issue #28. The old behavior can be kept by setting thetag-methodoption toelement.Added the
cleanup-filtersconfiguration option, which filters the list of jobs that jenkins-autojobs considers for cleanup by view name or regular expression (thanks @bartoszj). Example usage:# Cleanup only jobs in the 'Feature' and 'Release' views as well as all jobs that start with 'scratch'. cleanup-filters: - views: - Feature - Release - name: - '^scratch-.*'
Added the
list-closedoption to the mercurial plugin, which controls the listing of closed branches. The old behaviour and current default value istrue. Note that this feature currently works only for local mercurial repositories.
0.16.0 (Sep 23, 2015)¶
0.15.1 (May 05, 2015)¶
- The
repoandrepo-origkeys are now available to thenamefmtandsubstituteoptions. They hold the sanitized and raw value of therepotop-level config key.
0.15.0 (Feb 16, 2015)¶
- The
*wildcard can now be used in thebranchesconfig key ofjenkins-makejobs-svn. Example usage:file:///repo/projects/*/branches.
0.14.2 (Nov 24, 2014)¶
- Fix reading of scm-username and scm-password from stdin (thanks @yamikuronue).
- Fix user input on Python 3.
- Fix typo that was preveneting jenkins-autojobs from working on Python 2.6 (thanks @aklemp).
0.14.1 (Nov 23, 2014)¶
0.14.0 (Oct 27, 2014)¶
- Learn the ability to add generated jobs to specific views.
- Fix compatiblity with newer version of the Jenkins Mercurial plugin (thanks @ThomasMatern).
0.13.0 (Apr 08, 2014)¶
Add the
tagconfig option.The
cleanupoption now accepts a tag name.The
substituteoption now has access to matched groups (thanks @traviscosgrave).The
substituteandnamefmtoptions can now refer to named capture groups. For example:refs: - 'refs/heads/feature-(\d\d)-(?P<name>\w+)-(\d)': namefmt: 'wip-{name}-{3}'
The above ref config will map the branch
feature-random-10to jobwip-random-10.
0.12.0 (Mar 09, 2014)¶
- Fix a bug that made jenkins-autojobs remove all managed jobs if
list_branches()failed withcleanupon (thanks @sja). - Use jenkins-webapi 0.2.0.
0.11.0 (Feb 04, 2014)¶
Add the
cleanupconfig option (thanks @timmipetit).If set to
true, jenkins-autojobs will remove all jobs for which a branch no longer exists.Jenkins-autojobs now adds a
createdByJenkinsAutojobselement to theconfig.xmlof jobs that it creates.
0.10.0 (Jan 08, 2014)¶
Add the
sanitizeconfig option (thanks @xgouchet).You can now substitute characters or whole patterns with the
sanitizeoption:sanitize: '@!?#&|\^_$%*': '_' # replace any of '@!?#&|\^_$%*' with '_' 're:colou?r': 'color' # replace regex 'colou?r' with 'color'
The default is
'@!?#&|\^_$%*': '_', which is the list of characters that are not allowed in job names.
0.9.1 (Jan 08, 2014)¶
- Command line flags
-u|-pproperly overwriteusernameandpasswordconfig keys (thanks @timmipetit).
0.9.0 (Nov 27, 2013)¶
- Add support for Python 3.x.
- Add the ‘python’ option to the mercurial yaml config. This sets the
Python executable that will be used to call mercurial. This is
useful when the default Python in
PATHis not Python 2.x. - Use jenkins-webapi instead of python-jenkins.
0.6.0 (Sep 05, 2012)¶
- Add mercurial support.
0.5.0 (Aug 06, 2012)¶
Initial Release.