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

View File

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

View File

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