renamed env vars to match source
All checks were successful
CSGOWTF/csgowtf/pipeline/head This commit looks good

This commit is contained in:
2021-11-07 15:45:05 +01:00
parent 233667c113
commit a4e0878252

4
Jenkinsfile vendored
View File

@@ -2,7 +2,7 @@ pipeline {
agent any agent any
environment { environment {
FTP_HOST = credentials('csgowtf-deploy-host') FTP_HOST = credentials('csgowtf-deploy-host')
LFTP_PASSWORD = credentials('csgowtf-deploy-password') LFTP_PASSWORD = credentials('csgowtf-deploy-password')
API_HOST = credentials('csgowtf-api-host') API_HOST = credentials('csgowtf-api-host')
TRACK_HOST = credentials('csgowtf-track-host') TRACK_HOST = credentials('csgowtf-track-host')
@@ -14,7 +14,7 @@ pipeline {
stages { stages {
stage('Prepare') { stage('Prepare') {
steps { steps {
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' writeFile file: '.env.production', text: 'VUE_APP_API_URL=$API_HOST\nVUE_APP_TRACK_URL=$TRACK_HOST\nVUE_APP_TRACK_ID=$TRACK_ID\nVUE_APP_TRACK_DOMAINS=$TRACK_DOMAINS\nVUE_APP_TRACKING=$TRACK'
} }
} }
stage('Install Dependencies') { stage('Install Dependencies') {