epsilon_webui/Jenkinsfile

26 lines
801 B
Plaintext
Raw Normal View History

2022-01-20 04:53:16 +00:00
pipeline {
agent any
stages {
stage ("install") {
steps {
}
}
2022-01-20 04:53:16 +00:00
stage ("build") {
steps {
nodejs("System NodeJS") {
sh "npm install"
2022-01-20 04:53:16 +00:00
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)])
}
}
2022-01-20 04:53:16 +00:00
}
}