修改Jenkins打包部署
This commit is contained in:
parent
82c2502cc6
commit
2f051be6e9
@ -17,6 +17,8 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage('Publish') {
|
stage('Publish') {
|
||||||
steps {
|
steps {
|
||||||
|
sh 'mkdir -p /usr/local/joylink/jlclient'
|
||||||
|
sh 'rm -rf /usr/local/joylink/jlclient/*'
|
||||||
sh 'cp -rf ./dist/* /usr/local/joylink/jlclient'
|
sh 'cp -rf ./dist/* /usr/local/joylink/jlclient'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user