Changed pipeline to use correct NodeJS env name.
This commit is contained in:
parent
9096fcd3be
commit
fd87219999
9
Jenkinsfile
vendored
9
Jenkinsfile
vendored
@ -1,9 +1,14 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent any
|
||||||
stages {
|
stages {
|
||||||
|
stage ("install") {
|
||||||
|
steps {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
stage ("build") {
|
stage ("build") {
|
||||||
steps {
|
steps {
|
||||||
nodejs("NodeJS (17.4.0)") {
|
nodejs("System NodeJS") {
|
||||||
sh "npm install"
|
sh "npm install"
|
||||||
sh "npm run build"
|
sh "npm run build"
|
||||||
}
|
}
|
||||||
@ -14,7 +19,7 @@ pipeline {
|
|||||||
branch '**/master'
|
branch '**/master'
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
sshPublisher(publishers: [sshPublisherDesc(configName: 'Reslate Systems Web Server', transfers: [sshTransfer(cleanRemote: false, excludes: '', execCommand: '', execTimeout: 120000, flatten: false, makeEmptyDirs: false, noDefaultExcludes: false, patternSeparator: '[, ]+', remoteDirectory: 'www/ent.sys.reslate.xyz', remoteDirectorySDF: false, removePrefix: '', sourceFiles: 'dist/**')], usePromotionTimestamp: false, useWorkspaceInPromotion: false, verbose: false)])
|
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)])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user