You've already forked sap-jenkins-library
mirror of
https://github.com/SAP/jenkins-library.git
synced 2025-09-16 09:26:22 +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:
@@ -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
|
||||
|
Reference in New Issue
Block a user