From ff658da16e873f949111ba12175f309257234167 Mon Sep 17 00:00:00 2001 From: Giovanni Harting <539@idlegandalf.com> Date: Sun, 7 Nov 2021 13:34:53 +0100 Subject: [PATCH] added tracking to credentials --- Jenkinsfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index fdacf7a..3eec90d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -4,12 +4,17 @@ pipeline { environment { FTP_HOST = credentials('csgowtf-deploy-host') LFTP_PASSWORD = credentials('csgowtf-deploy-password') + API_HOST = credentials('csgowtf-api-host') + TRACK_HOST = credentials('csgowtf-track-host') + TRACK_ID = credentials('csgowtf-track-id') + TRACK_DOMAINS = credentials('csgowtf-track-domains') + TRACK = credentials('csgowtf-track') } stages { stage('Prepare') { steps { - writeFile file: '.env.production', text: 'VUE_APP_API_URL=https://api.csgow.tf' + writeFile file: '.env.production', text: 'VUE_APP_API_URL=$API_HOST\nTRACK_URL=$TRACK_HOST\nTRACK_ID=$TRACK_ID\nTRACK_DOMAINS=$TRACK_DOMAINS\nTRACKING=$TRACK' } } stage('Install Dependencies') {