From 76e98366d0d596578eb6dfc7bf466fa22a45cfdd Mon Sep 17 00:00:00 2001 From: Dan Allen Date: Fri, 25 Jan 2019 17:36:44 -0700 Subject: [PATCH] debug CI build --- Jenkinsfile | 14 +++++++------- package.json | 1 + 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index f50bbda..400904a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -21,15 +21,13 @@ def githubApiTokenCredentials = string(credentialsId: githubApiTokenCredentialsI // Script path: Jenkinsfile // [x] Lightweight checkout pipeline { - agent { - docker { - image 'node:8-slim' - } - } + agent any stages { stage('Install') { steps { - sh 'yarn --cache-folder=.cache/yarn --pure-lockfile' + nodejs('node8') { + sh 'yarn --cache-folder=.cache/yarn --pure-lockfile' + } } } stage('Release') { @@ -38,7 +36,9 @@ pipeline { deleteDir() } withCredentials([githubApiTokenCredentials]) { - sh '$(npm bin)/gulp release' + nodejs('node8') { + sh '$(npm bin)/gulp release' + } } } } diff --git a/package.json b/package.json index a7931b3..fe84ea1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,7 @@ { "name": "couchbase-docs-ui", "description": "Produces the UI bundle used by the Couchbase documentation site", + "license": "MPL-2.0", "homepage": "https://docs.couchbase.com", "repository": { "type": "git",