added Jenkinsfile
All checks were successful
CSGOWTF/csgowtf/pipeline/head This commit looks good

This commit is contained in:
2021-10-20 03:49:36 +02:00
parent 88846d6998
commit 73b5b17752

22
Jenkinsfile vendored Normal file
View File

@@ -0,0 +1,22 @@
pipeline {
agent any
stages {
stage('Prepare') {
steps {
sh 'echo "VUE_APP_API_URL=https://api.csgow.tf" > .env.production'
}
}
stage('Install Dependencies') {
steps {
sh 'yarn install'
}
}
stage('Build') {
steps {
sh 'yarn build'
archiveArtifacts artifacts: '**/dist/**', excludes: '**/node_modules/**'
}
}
}
}