renamed env vars to match source
All checks were successful
CSGOWTF/csgowtf/pipeline/head This commit looks good
All checks were successful
CSGOWTF/csgowtf/pipeline/head This commit looks good
This commit is contained in:
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@@ -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') {
|
||||||
|
Reference in New Issue
Block a user