This commit is contained in:
22
Jenkinsfile
vendored
Normal file
22
Jenkinsfile
vendored
Normal 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/**'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user