Merge pull request #7861 from nicoddemus/backport-7860

[6.1.x] Update reference.rst informing the default junit_family (#7860)
This commit is contained in:
Bruno Oliveira 2020-10-05 15:24:42 -03:00 committed by GitHub
commit dc96e485a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 3 deletions

View File

@ -1236,12 +1236,13 @@ passed multiple times. The expected format is ``name=value``. For example::
.. confval:: junit_family .. confval:: junit_family
.. versionadded:: 4.2 .. versionadded:: 4.2
.. versionchanged:: 6.1
Default changed to ``xunit2``.
Configures the format of the generated JUnit XML file. The possible options are: Configures the format of the generated JUnit XML file. The possible options are:
* ``xunit1`` (or ``legacy``): produces old style output, compatible with the xunit 1.0 format. **This is the default**. * ``xunit1`` (or ``legacy``): produces old style output, compatible with the xunit 1.0 format.
* ``xunit2``: produces `xunit 2.0 style output <https://github.com/jenkinsci/xunit-plugin/blob/xunit-2.3.2/src/main/resources/org/jenkinsci/plugins/xunit/types/model/xsd/junit-10.xsd>`__, * ``xunit2``: produces `xunit 2.0 style output <https://github.com/jenkinsci/xunit-plugin/blob/xunit-2.3.2/src/main/resources/org/jenkinsci/plugins/xunit/types/model/xsd/junit-10.xsd>`__, which should be more compatible with latest Jenkins versions. **This is the default**.
which should be more compatible with latest Jenkins versions.
.. code-block:: ini .. code-block:: ini