From 0aa601d14464324c8214b1fb86257a7e0080445d Mon Sep 17 00:00:00 2001 From: spassignat Date: Sat, 2 May 2026 16:25:35 +0200 Subject: [PATCH] patch: variable env --- .woodpecker/build-pipeline.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.woodpecker/build-pipeline.yml b/.woodpecker/build-pipeline.yml index 790c851..78cb482 100644 --- a/.woodpecker/build-pipeline.yml +++ b/.woodpecker/build-pipeline.yml @@ -8,7 +8,7 @@ variables: - &node_image node:18-alpine - &git_image alpine/git - &curl_image curlimages/curl:latest - - &repository domaine-passignat + steps: # Étape 1: Nettoyage du projet @@ -113,6 +113,7 @@ steps: from_secret: nexus_username NEXUS_PASSWORD: from_secret: nexus_password + NEXUS_REPOSITORY: domaine-passignat commands: | source $CI_WORKSPACE/version.env echo $CI_REPO_OWNER @@ -131,7 +132,7 @@ steps: -F "raw.directory=apps/$CI_REPO_NAME/$NEW_VERSION" \ -F "raw.asset1=@$ARTIFACT_FILE" \ -F "raw.asset1.filename=$ARTIFACT" \ - http://nexus.cicd.exygen.fr/service/rest/v1/components?repository=*repository + http://nexus.cicd.exygen.fr/service/rest/v1/components?repository=$NEXUS_REPOSITORY echo "✅ Artefact publié" else echo "⏭️ Pas de publication (version_type=none)"