Chore: Upgrade Jenkins-job-builder to 6.3.0
[releng/global-jjb.git] / releasenotes / notes / sigul-signing-f9d7389354ad6b3a.yaml
1 ---
2 features:
3   - |
4     New macro ``lf-sigul-sign-dir`` available to sign artifacts in a provided
5     directory using Sigul.
6
7     Usage:
8
9     .. code-block:: yaml
10
11        - lf-sigul-sign-dir:
12            sign-dir: '$WORKSPACE/m2repo'
13
14     This macro also requires a boolean variable to ``SIGN_ARTIFACTS`` to be set
15     to true to activate the macro. We recommend the job-template that uses
16     this macro to define it in the job parameters section.
17
18     Example:
19
20     .. code-block:: yaml
21
22        - bool:
23            name: SIGN_ARTIFACTS
24            default: '{sign-artifacts}'
25            description: Use Sigul to sign artifacts.
26
27   - |
28     Add Sigul signing support to the maven-staging job. To activate Sigul
29     signing make sure to set ``sign-artifacts: true``. Example:
30
31     .. code-block:: yaml
32
33        - project:
34            name: abc
35            jobs:
36              - gerrit-maven-stage
37
38            sign-artifacts: true