mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-12 10:55:20 +02:00
[ANS] Clarify ANS hook configuration (#3933)
* Clarify ans hook configuration * Imrpove link text * Imrpove text * Furhter improvements Co-authored-by: Linda Siebert <39100394+LindaSieb@users.noreply.github.com>
This commit is contained in:
parent
92d6416d72
commit
c3bcbfe57c
@ -141,8 +141,8 @@ service-key. The environment variable used is: `PIPER_ansHookServiceKey`.
|
||||
|
||||
If Jenkins is used to run "Piper", you can use the Jenkins credential store
|
||||
to store the alert notification service service-key as a "Secret Text"
|
||||
credential. Provide the credential id in the configuration file in the `hooks`
|
||||
section as follows:
|
||||
credential. Provide the credential ID in a custom defaults file
|
||||
([described below](#custom-default-configuration)) as follows:
|
||||
|
||||
```yaml
|
||||
hooks:
|
||||
@ -150,6 +150,8 @@ hooks:
|
||||
serviceKeyCredentialsId: 'my_ANS_Service_Key'
|
||||
```
|
||||
|
||||
!!! warning It is **not** possible to configure the above in the project configuration file, i.e. in `.pipeline/config.yaml`
|
||||
|
||||
#### Event template
|
||||
|
||||
You can also create an event template in JSON format to overwrite
|
||||
|
Loading…
Reference in New Issue
Block a user