From f1718eae3754633b6d795af6e4298f4215a12883 Mon Sep 17 00:00:00 2001 From: Joshua Burman Date: Fri, 1 Dec 2023 11:26:13 -0500 Subject: [PATCH] new build args and secret values --- Jenkinsfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 4eff7ca..1195cf6 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -16,7 +16,8 @@ pipeline { path: "ci/general", engineVersion: 1, secretValues: [ - [envVar: 'NEXUS_TOKEN', vaultKey: 'SONATYPE_DEPLOYMENT_USER_TOKEN'] + [envVar: 'PIP_INDEX_URL', vaultKey: 'SONATYPE_DEPLOYMENT_PIP_INDEX_URL'], + [envVar: 'PIP_INDEX', vaultKey: 'SONATYPE_DEPLOYMENT_PIP_INDEX'] ] ] ]]) { @@ -32,7 +33,8 @@ pipeline { --insecure=true \ --insecure-registry=docker-registry.default:5000 \ --cache=true \ - --build-arg NEXUS_TOKEN=${NEXUS_TOKEN} \ + --build-arg PIP_INDEX_URL=${PIP_INDEX_URL} \ + --build-arg PIP_INDEX=${PIP_INDEX} \ --cache-repo=docker-registry.default:5000/${REPOSITORY} \ --destination ${env.REPOSITORY}:\$(echo ${BRANCH_NAME} | grep -Eo 'feature/([A-Za-z]+-[0-9]*)' | grep -Eo '[A-Za-z]+-[0-9]*' || \ echo ${BRANCH_NAME} | grep -Eo '(release|hotfix)/[[:digit:]]+\\.[[:digit:]]+\\.[[:digit:]]+' | grep -Eo '[[:digit:]]+\\.[[:digit:]]+\\.[[:digit:]]+' || \