Skip to content

Commit

Permalink
debug CI build
Browse files Browse the repository at this point in the history
  • Loading branch information
mojavelinux committed Jan 26, 2019
1 parent 641566d commit 76e9836
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand All @@ -38,7 +36,9 @@ pipeline {
deleteDir()
}
withCredentials([githubApiTokenCredentials]) {
sh '$(npm bin)/gulp release'
nodejs('node8') {
sh '$(npm bin)/gulp release'
}
}
}
}
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 76e9836

Please sign in to comment.