epsilon_webui/Jenkinsfile
2022-05-11 17:41:03 -05:00

27 lines
830 B
Groovy

pipeline {
agent any
stages {
stage ("install") {
steps {
nodejs("System") {
sh "npm install"
}
}
}
stage ("build") {
steps {
nodejs("System") {
sh "npm run build"
}
}
}
stage ("deploy") {
when {
branch '**/master'
}
steps {
sshPublisher(publishers: [sshPublisherDesc(configName: 'RS - Web Server', transfers: [sshTransfer(cleanRemote: false, excludes: '', execCommand: '', execTimeout: 120000, flatten: false, makeEmptyDirs: false, noDefaultExcludes: false, patternSeparator: '[, ]+', remoteDirectory: 'ent.sys.reslate.xyz', remoteDirectorySDF: false, removePrefix: '', sourceFiles: 'dist/**')], usePromotionTimestamp: false, useWorkspaceInPromotion: false, verbose: false)])
}
}
}
}