node version bumped to 10.14.1 for desktop

This commit is contained in:
Volodymyr Kozieiev 2018-12-05 12:10:07 +02:00 committed by Jakub Sokołowski
parent d6d852a9be
commit c2e2ea36ac
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
3 changed files with 33 additions and 30 deletions

View File

@ -31,6 +31,7 @@ pipeline {
* https://issues.jenkins-ci.org/browse/JENKINS-49076
**/
environment {
NODE_VERSION = 'v10.14.1'
BUILD_PLATFORM = 'linux'
LANG = 'en_US.UTF-8'
LANGUAGE = 'en_US.UTF-8'
@ -44,34 +45,34 @@ pipeline {
stages {
stage('Prep') {
steps {
script {
script { nvm(env.NODE_VERSION) {
/* Necessary to load methods */
desktop = load 'ci/desktop.groovy'
cmn = load 'ci/common.groovy'
sh 'env'
desktop.prepDeps()
}
} }
}
}
stage('Lint') {
steps {
steps { nvm(env.NODE_VERSION) {
script { cmn.runLint() }
}
} }
}
stage('Tests') {
steps {
steps { nvm(env.NODE_VERSION) {
script { cmn.runTests() }
}
} }
}
stage('Build') {
steps {
steps { nvm(env.NODE_VERSION) {
script { desktop.buildClojureScript() }
}
} }
}
stage('Compile') {
steps {
steps { nvm(env.NODE_VERSION) {
script { desktop.compile() }
}
} }
}
stage('Bundle') {
steps {

View File

@ -14,6 +14,7 @@ pipeline {
}
environment {
NODE_VERSION = 'v10.14.1'
BUILD_PLATFORM = 'macos'
LANG = 'en_US.UTF-8'
LANGUAGE = 'en_US.UTF-8'
@ -25,33 +26,33 @@ pipeline {
stages {
stage('Prep') {
steps {
script {
script { nvm(env.NODE_VERSION) {
/* Necessary to load methods */
desktop = load 'ci/desktop.groovy'
cmn = load 'ci/common.groovy'
desktop.prepDeps()
}
} }
}
}
stage('Lint') {
steps {
steps { nvm(env.NODE_VERSION) {
script { cmn.runLint() }
}
} }
}
stage('Tests') {
steps {
steps { nvm(env.NODE_VERSION) {
script { cmn.runTests() }
}
} }
}
stage('Build') {
steps {
steps { nvm(env.NODE_VERSION) {
script { desktop.buildClojureScript() }
}
} }
}
stage('Compile') {
steps {
steps { nvm(env.NODE_VERSION) {
script { desktop.compile() }
}
} }
}
stage('Bundle') {
steps {

View File

@ -30,6 +30,7 @@ pipeline {
* https://issues.jenkins-ci.org/browse/JENKINS-49076
**/
environment {
NODE_VERSION = 'v10.14.1'
BUILD_PLATFORM = 'linux'
LANG = 'en_US.UTF-8'
LANGUAGE = 'en_US.UTF-8'
@ -45,35 +46,35 @@ pipeline {
stages {
stage('Prep') {
steps {
script { nvm(env.NODE_VERSION) {
script {
/* Necessary to load methods */
desktop = load 'ci/desktop.groovy'
cmn = load 'ci/common.groovy'
sh 'env'
desktop.prepDeps()
}
} }
}
}
stage('Lint') {
steps {
steps { nvm(env.NODE_VERSION) {
script { cmn.runLint() }
}
} }
}
stage('Tests') {
steps {
steps { nvm(env.NODE_VERSION) {
script { cmn.runTests() }
}
} }
}
stage('Build') {
steps {
steps { nvm(env.NODE_VERSION) {
script { desktop.buildClojureScript() }
}
} }
}
stage('Compile') {
steps {
steps { nvm(env.NODE_VERSION) {
script { desktop.compile() }
}
} }
}
stage('Bundle') {
steps {