rt-sim-training-client/Jenkinsfile-test

27 lines
451 B
Plaintext
Raw Normal View History

2019-07-02 16:29:52 +08:00
pipeline {
agent {
node {
label 'master'
}
}
stages {
stage('Package') {
tools {
nodejs 'nodejs-10'
}
steps {
sh 'npm install'
sh 'npm run test'
}
}
stage('Publish') {
steps {
2019-08-05 09:35:41 +08:00
sh 'cp -rf ./dist/* /usr/local/joylink/jl-nclient'
2019-07-02 16:29:52 +08:00
}
}
}
}