Skip to content

Commit

Permalink
ci(jenkins): use installTools step
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v committed Mar 3, 2020
1 parent f524379 commit 891b38f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 16 deletions.
6 changes: 2 additions & 4 deletions .ci/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -471,15 +471,13 @@ def generateStepForWindows(Map params = [:]){
deleteDir()
unstash 'source'
dir(BASE_DIR) {
powershell label: 'Install tools', script: ".\\.ci\\scripts\\windows\\install-tools.ps1"
installTools([ [tool: 'nodejs', version: "${version}" ] ])
bat label: 'Tool versions', script: '''
npm --version
node --version
'''
bat 'npm install'
bat '''
node test/test.js
'''
bat 'node test/test.js'
}
} catch(e){
error(e.toString())
Expand Down
12 changes: 0 additions & 12 deletions .ci/scripts/windows/install-tools.ps1

This file was deleted.

0 comments on commit 891b38f

Please sign in to comment.