Skip to content

Commit 1ae55fb

Browse files
committed
Fixing vault config
1 parent c46b2cf commit 1ae55fb

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Jenkinsfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
String registryEndpoint = 'registry.comp.ystv.co.uk'
22

33
def vaultConfig = [vaultUrl: 'https://vault.comp.ystv.co.uk',
4-
vaultCredentialId: 'jenkins-vault',
5-
engineVersion: 2]
4+
vaultCredentialId: 'jenkins-vault-token']
65

76
def branch = env.BRANCH_NAME.replaceAll("/", "_")
87
def image
@@ -23,7 +22,7 @@ pipeline {
2322
script {
2423
GIT_COMMIT_HASH = sh (script: "git log -n 1 --pretty=format:'%H'", returnStdout: true)
2524
def secrets = [
26-
[path: "ci/ystv-internal-certs", engineVersion: 2, secretValues: [
25+
[path: "ci/ystv-internal-certs", secretValues: [
2726
[envVar: 'COMP_SITE_CERT_PEM', vaultKey: 'cert'],
2827
[envVar: 'COMP_SITE_KEY_PEM', vaultKey: 'key']
2928
]]

0 commit comments

Comments
 (0)