Skip to content

Commit

Permalink
BXMSPROD-560 Revert "Remove yarn.lock (#20)" yarn.lock entry removed …
Browse files Browse the repository at this point in the history
…from .gitignore (#32)

* Revert "Remove yarn.lock (#20)"

This reverts commit d82abf9.
BXMSPROD-560

* yarn.lock entry removed from .gitignore

* Jenkinsfile updated to run lock-treatment-tool

* BXMSPROD-560 lock-treatment-tool globally installed

* BXMSPROD-560 locktt execution moved to 'Build kogito-tooling' step

* BXMSPROD-560 yarn.lock updated according to the master changes

* BXMSPROD-560 yarn.lock file removed
  • Loading branch information
Ginxo authored and ederign committed Nov 7, 2019
1 parent 6c2917a commit e5b2ed0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@ out/
.idea
**/.DS_Store
*.log
yarn.lock
packages/unpacked-gwt-editors/dmn
packages/unpacked-gwt-editors/bpmn
packages/unpacked-gwt-editors/bpmn
2 changes: 2 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ pipeline {
}
stage('Prepare') {
steps {
sh "npm install -g lock-treatment-tool --registry=${NPM_REGISTRY_URL}"
sh "npm install -g yarn --registry=${NPM_REGISTRY_URL}"
sh "yarn config set registry ${NPM_REGISTRY_URL}"
sh "export XAUTHORITY=$HOME/.Xauthority"
Expand All @@ -34,6 +35,7 @@ pipeline {
script {
githubscm.checkoutIfExists('kogito-tooling', "$CHANGE_AUTHOR", "$CHANGE_BRANCH", 'kiegroup', "$CHANGE_TARGET")
wrap([$class: 'Xvnc', takeScreenshot: false, useXauthority: true]) {
sh "locktt --registry=${NPM_REGISTRY_URL}"
sh('yarn run init && yarn build:prod')
}
}
Expand Down

0 comments on commit e5b2ed0

Please sign in to comment.