Create common script to download LetsEncrypt CA in pipeline environments

This commit is contained in:
2021-02-22 14:46:22 +01:00
parent 8f0d37213b
commit 94abda3f1a
3 changed files with 31 additions and 12 deletions

View File

@ -121,6 +121,9 @@ def buildDockerImage() {
def runTamarinScript = libraryResource 'com/cadoles/tamarin/run-tamarin.sh'
writeFile file:'run-tamarin.sh', text:runTamarinScript
def addLetsEncryptCA = libraryResource 'com/cadoles/common/add-letsencrypt-ca.sh'
writeFile file:'add-letsencrypt-ca.sh', text:addLetsEncryptCA
def safeJobName = URLDecoder.decode(env.JOB_NAME).toLowerCase().replace('/', '-').replace(' ', '-')
def imageTag = "${safeJobName}-${env.BUILD_ID}"