Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
fix: Remove gitClean() that is breaking build (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
ynnoj authored Jul 19, 2017
1 parent afeb511 commit 5d6d0b8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ try {
if (env.BRANCH_NAME == 'master') {
sshagent (credentials: ['github-moltin-moltinbot-ssh-key']) {
stage ("Checkout master branch") {
gitClean()
sh "git checkout master"
sh "git pull"
}
Expand All @@ -42,7 +41,7 @@ try {
sh "npm install"
}
}

stage ("Configure npm") {
withCredentials([[$class: 'UsernamePasswordMultiBinding', credentialsId: 'npm-moltin-moltinbot-password', usernameVariable: 'NPM_USERNAME', passwordVariable: 'NPM_PASSWORD']]) {
sh "docker run -e NPM_USER=$NPM_USERNAME -e NPM_PASS=\"$NPM_PASSWORD\" -e NPM_EMAIL=$NPM_EMAIL bravissimolabs/generate-npm-authtoken > .npmrc.tmp"
Expand Down

0 comments on commit 5d6d0b8

Please sign in to comment.