Bot Updating Templated Files

This commit is contained in:
LinuxServer-CI 2018-12-30 01:15:13 +00:00
parent 52f56b243e
commit cf9fa559ea

6
Jenkinsfile vendored
View File

@ -398,6 +398,9 @@ pipeline {
string(credentialsId: 'spaces-key', variable: 'DO_KEY'),
string(credentialsId: 'spaces-secret', variable: 'DO_SECRET')
]) {
script{
env.CI_URL = 'https://lsio-ci.ams3.digitaloceanspaces.com/' + env.IMAGE + '/' + env.META_TAG + '/index.html'
}
sh '''#! /bin/bash
set -e
docker pull lsiodev/ci:latest
@ -426,9 +429,6 @@ pipeline {
-e DO_BUCKET="lsio-ci" \
-t lsiodev/ci:latest \
python /ci/ci.py'''
script{
env.CI_URL = 'https://lsio-ci.ams3.digitaloceanspaces.com/' + env.IMAGE + '/' + env.META_TAG + '/index.html'
}
}
}
}