Files
csgowtf/Jenkinsfile
Giovanni Harting 628598d091
All checks were successful
CSGOWTF/csgowtf/pipeline/head This commit looks good
switched to writeFile
2021-10-20 03:57:49 +02:00

23 lines
521 B
Groovy

pipeline {
agent any
stages {
stage('Prepare') {
steps {
writeFile file: '.env.prodution', text: 'VUE_APP_API_URL=https://api.csgow.tf'
}
}
stage('Install Dependencies') {
steps {
sh 'yarn install'
}
}
stage('Build') {
steps {
sh 'yarn build'
archiveArtifacts artifacts: '**/dist/**', excludes: '**/node_modules/**'
}
}
}
}