fixup-vars6
parent
e8d1c02427
commit
f50186b7bb
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue