added tracking to credentials
This commit is contained in:
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@@ -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') {
|
||||
|
Reference in New Issue
Block a user