updates certificates
This commit is contained in:
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@@ -74,7 +74,8 @@ podTemplate(
|
||||
|
||||
stage('Run Tests') {
|
||||
container('golang') {
|
||||
writeFile(file: workspace + "/test-chamber-13.lan.root.crt", text: functions.getLocalRootCA())
|
||||
writeFile(file: workspace + "/test-chamber-13.lan.root.crt", text: functions.getCurrentRootCA())
|
||||
writeFile(file: workspace + "/test-chamber-13.lan.ret.root.crt", text: functions.getRetiredRootCA())
|
||||
sh """
|
||||
if [ ! "/usr/bin/curl" ] || [ ! -x "/usr/bin/curl" ]; then
|
||||
apk add --no-cache curl
|
||||
@@ -87,7 +88,7 @@ podTemplate(
|
||||
curl \
|
||||
--silent \
|
||||
--location \
|
||||
--cacert "${workspace}/test-chamber-13.lan.root.crt" \
|
||||
--cacert <( printf '%s\\n' "\$(cat "${workspace}/test-chamber-13.lan.root.crt")" "\$(cat "${workspace}/test-chamber-13.lan.ret.root.crt")" ) \
|
||||
https://nexus.c.test-chamber-13.lan/repository/github-releases/jstemmer/go-junit-report/releases/download/v1.0.0/go-junit-report-v1.0.0-linux-amd64.tar.gz \
|
||||
| tar -z -x -f - -C /usr/local/bin
|
||||
ln -s "${workspace}" "/go/src/${env.JOB_BASE_NAME}"
|
||||
|
Reference in New Issue
Block a user