added tracking to credentials

This commit is contained in:
2021-11-07 13:34:53 +01:00
parent 48c05845e4
commit ff658da16e

7
Jenkinsfile vendored
View File

@@ -4,12 +4,17 @@ pipeline {
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')
TRACK_HOST = credentials('csgowtf-track-host')
TRACK_ID = credentials('csgowtf-track-id')
TRACK_DOMAINS = credentials('csgowtf-track-domains')
TRACK = credentials('csgowtf-track')
} }
stages { stages {
stage('Prepare') { stage('Prepare') {
steps { 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') { stage('Install Dependencies') {