This repository has been archived on 2024-09-12. You can view files and clone it, but cannot push or open issues or pull requests.
official-website/Jenkinsfile-test

27 lines
451 B
Plaintext
Raw Normal View History

2020-09-28 17:15:09 +08:00
pipeline {
agent {
node {
label 'master'
}
}
stages {
stage('Package') {
tools {
nodejs 'nodejs-10'
}
steps {
sh 'npm install'
2020-09-28 17:18:25 +08:00
sh 'npm run build'
2020-09-28 17:15:09 +08:00
}
}
stage('Publish') {
steps {
sh 'cp -rf ./dist/* /usr/local/joylink/jlclient'
}
}
}
}