INT 21h

Hi, I am Vladimir Smagin, SysAdmin and Kaptain. Telegram Email / GIT / RSS / GPG

Vault in Jenkins

№ 11242 В разделе "Sysadmin" от March 7th, 2021,
В подшивках: , ,

Activate Vault plugin. To get value add to your Jenkinsfile:

    def secrets = [
        [path: 'jenkins/test', engineVersion: 1, secretValues: [
            [envVar: 'testing', vaultKey: 'myvar']

    withVault([vaultSecrets: secrets]) {
        sh 'echo "$testing" > myvar'

Нет комментариев »

Leave a Reply

Your email address will not be published. Required fields are marked *



Fortune cookie: A myth is a religion in which no-one any longer believes. -- James Feibleman, "Understanding Philosophy"