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') {