fixup-vars6

Dustin 2020-03-16 21:19:21 -05:00
parent e8d1c02427
commit f50186b7bb
1 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
import groovy.transform.Field
@Field
def DOCKER_ARGS = '''\
-v /etc/ssh/ssh_known_hosts:/etc/ssh/ssh_known_hosts:ro
'''
def call(rw_limit, stages) { def call(rw_limit, stages) {
properties([ properties([
pipelineTriggers([cron('H H * * *')]) pipelineTriggers([cron('H H * * *')])
@ -11,7 +18,7 @@ def call(rw_limit, stages) {
"configpolicy:${env.BRANCH_NAME}", "configpolicy:${env.BRANCH_NAME}",
'ci', 'ci',
) )
image.inside { image.inside(DOCKER_ARGS) {
withEnv(["KRB5CCNAME=${WORKSPACE}/.krb5cc"]) { withEnv(["KRB5CCNAME=${WORKSPACE}/.krb5cc"]) {
stageKinit() stageKinit()
try { try {