fix (jenkins): Move maven's user.home dir to /home/jenkins so that it gets shared between containers in the molgenis pod
This commit is contained in:
parent
2fae637eee
commit
e088ad8942
@ -386,6 +386,13 @@ jenkins:
|
|||||||
requests:
|
requests:
|
||||||
cpu: "1"
|
cpu: "1"
|
||||||
memory: "4Gi"
|
memory: "4Gi"
|
||||||
|
EnvVars:
|
||||||
|
- type: KeyValue
|
||||||
|
key: MAVEN_OPTS
|
||||||
|
value: "-Duser.home=/home/jenkins"
|
||||||
|
- type: KeyValue
|
||||||
|
key: MAVEN_CONFIG
|
||||||
|
value: "/home/jenkins/.m2"
|
||||||
alpine:
|
alpine:
|
||||||
Image: "spotify/alpine"
|
Image: "spotify/alpine"
|
||||||
Command: cat
|
Command: cat
|
||||||
@ -417,7 +424,7 @@ jenkins:
|
|||||||
volumes:
|
volumes:
|
||||||
- type: Secret
|
- type: Secret
|
||||||
secretName: molgenis-pipeline-file-secret
|
secretName: molgenis-pipeline-file-secret
|
||||||
mountPath: "/root/.m2"
|
mountPath: "/home/jenkins/.m2"
|
||||||
Containers:
|
Containers:
|
||||||
EnvVars:
|
EnvVars:
|
||||||
- type: Secret
|
- type: Secret
|
||||||
@ -426,7 +433,7 @@ jenkins:
|
|||||||
secretKey: pgpPassphrase
|
secretKey: pgpPassphrase
|
||||||
- type: KeyValue
|
- type: KeyValue
|
||||||
key: PGP_SECRETKEY
|
key: PGP_SECRETKEY
|
||||||
value: "keyfile:/root/.m2/key.asc"
|
value: "keyfile:/home.jenkins/.m2/key.asc"
|
||||||
- type: KeyValue
|
- type: KeyValue
|
||||||
key: npm_config_registry
|
key: npm_config_registry
|
||||||
value: "http://nexus.molgenis-nexus:8081/repository/npm-central/"
|
value: "http://nexus.molgenis-nexus:8081/repository/npm-central/"
|
||||||
|
Loading…
Reference in New Issue
Block a user