modify the Jenkinsfile
This commit is contained in:
16
Jenkinsfile
vendored
16
Jenkinsfile
vendored
@ -17,13 +17,15 @@ pipeline {
|
|||||||
}
|
}
|
||||||
|
|
||||||
stage('Install & Build') {
|
stage('Install & Build') {
|
||||||
steps {
|
steps {
|
||||||
sh '''
|
dir('alex-ui') {
|
||||||
rm -rf dist
|
sh '''
|
||||||
npm install --legacy-peer-deps
|
rm -rf dist
|
||||||
./node_modules/.bin/vue-cli-service build
|
npm install --legacy-peer-deps
|
||||||
'''
|
./node_modules/.bin/vue-cli-service build
|
||||||
}
|
'''
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('Deploy') {
|
stage('Deploy') {
|
||||||
|
Reference in New Issue
Block a user