You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all thank you for the very clear and interesting article.
Your step by step example contains a typo which makes Jenkins job to fail.
Quoting a definition of the variable:
string(credentialsId: 'JENKINS_VAULT_TOKEN', variable: 'VAULT_TOKEN')
Quoting a snippet that contains a typo (JOB_):
export JOB_VAULT_TOKEN=$(./vault write -field=token auth/approle/login role_id=${ROLE_ID} secret_id=${SECRET_ID})
to make this job run
JOB_VAULT_TOKEN
should be replaced with
VAULT_TOKEN
Again, thank you for your article.
-Alex
The text was updated successfully, but these errors were encountered:
First of all thank you for the very clear and interesting article.
Your step by step example contains a typo which makes Jenkins job to fail.
Quoting a definition of the variable:
string(credentialsId: 'JENKINS_VAULT_TOKEN', variable: 'VAULT_TOKEN')
Quoting a snippet that contains a typo (JOB_):
export JOB_VAULT_TOKEN=$(./vault write -field=token auth/approle/login role_id=${ROLE_ID} secret_id=${SECRET_ID})
to make this job run
JOB_VAULT_TOKEN
should be replaced with
VAULT_TOKEN
Again, thank you for your article.
-Alex
The text was updated successfully, but these errors were encountered: