Jenkins-autojobs

Latest version: v0.17.4

Safety actively analyzes 665704 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 4

0.14.0

^^^^^^^^^^^^^^^^^^^^^

- Learn the ability to add generated jobs to specific views.

- Fix compatiblity with newer version of the Jenkins Mercurial plugin (thanks `ThomasMatern`_).

0.13.1

^^^^^^^^^^^^^^^^^^^^^

- Add the ``tag`` config option to the subversion script (thanks `mrook`_).

0.13.0

^^^^^^^^^^^^^^^^^^^^^

- Add the ``tag`` config option.

- The ``cleanup`` option now accepts a tag name.

- The ``substitute`` option now has access to matched groups (thanks `traviscosgrave`_).

- The ``substitute`` and ``namefmt`` options can now refer to named capture groups. For example:

.. code-block:: yaml

refs:
- 'refs/heads/feature-(\d\d)-(?P<name>\w+)-(\d)':
namefmt: 'wip-{name}-{3}'

The above ref config will map the branch ``feature-random-10`` to
job ``wip-random-10``.

0.12.0

^^^^^^^^^^^^^^^^^^^^^

- Fix a bug that made jenkins-autojobs remove all managed jobs if
``list_branches()`` failed with ``cleanup`` on (thanks `sja`_).

- Use jenkins-webapi_ 0.2.0.

0.11.0

^^^^^^^^^^^^^^^^^^^^^

- Add the ``cleanup`` config 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 ``createdByJenkinsAutojobs`` element to
the ``config.xml`` of jobs that it creates.

0.10.0

^^^^^^^^^^^^^^^^^^^^^

- Add the ``sanitize`` config option (thanks `xgouchet`_).

You can now substitute characters or whole patterns with the
``sanitize`` option:

.. code-block:: yaml

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.

Page 3 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.