Skip to content

Commit

Permalink
Update Jenkins dod
Browse files Browse the repository at this point in the history
  • Loading branch information
laspavel committed Jul 16, 2024
1 parent 336a71b commit 89343ee
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions 03.linux/dod/10094.jenkins_best_practices.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,15 @@
[Best Practice Overview] - Best Practice Overview


## Перенос секретов
Открываем консоль скриптов: http(s)://${JENKINS_ADDRESS}/script.

Выполняем скрипт:
```
println(hudson.util.Secret.decrypt("${ENCRYPTED_PASSPHRASE_OR_PASSWORD}"))
```

Где ${ENCRYPTED_PASSPHRASE_OR_PASSWORD} - часть взятая из файла ${JENKINS_HOME}/credentials.xml из секций <password>; <passphrase>;


[Jenkins Metrics]: <https://plugins.jenkins.io/metrics/>
Expand Down

0 comments on commit 89343ee

Please sign in to comment.