From c2e2ea36ac8e42dd0c94329a87204fda0f54bc62 Mon Sep 17 00:00:00 2001 From: Volodymyr Kozieiev Date: Wed, 5 Dec 2018 12:10:07 +0200 Subject: [PATCH] node version bumped to 10.14.1 for desktop --- ci/Jenkinsfile.linux | 21 +++++++++++---------- ci/Jenkinsfile.macos | 21 +++++++++++---------- ci/Jenkinsfile.windows | 21 +++++++++++---------- 3 files changed, 33 insertions(+), 30 deletions(-) diff --git a/ci/Jenkinsfile.linux b/ci/Jenkinsfile.linux index 919f2eb9b4..362314ad66 100644 --- a/ci/Jenkinsfile.linux +++ b/ci/Jenkinsfile.linux @@ -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 { diff --git a/ci/Jenkinsfile.macos b/ci/Jenkinsfile.macos index 1e88281e6c..712150b5d3 100644 --- a/ci/Jenkinsfile.macos +++ b/ci/Jenkinsfile.macos @@ -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 { diff --git a/ci/Jenkinsfile.windows b/ci/Jenkinsfile.windows index 1cf20fe65f..45c6ea609c 100644 --- a/ci/Jenkinsfile.windows +++ b/ci/Jenkinsfile.windows @@ -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 {