Skip to content

Commit

Permalink
Объединил команды cd и vsce package в одну, т.к. разные sh принудител…
Browse files Browse the repository at this point in the history
…ьно исполняются в корневой директории
  • Loading branch information
nixel2007 committed Oct 4, 2017
1 parent d71b820 commit 2175101
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,8 @@ pipeline {
sh 'npm install vsce'
script {
def vsceBin = pwd() + "/node_modules/.bin/vsce"
sh 'cd install/build/vscode'
sh "${vsceBin} package"
archiveArtifacts artifacts: '*.vsix', fingerprint: true
sh 'cd -'
sh "cd install/build/vscode && ${vsceBin} package"
archiveArtifacts artifacts: 'install/build/vscode/*.vsix', fingerprint: true
}
}
}
Expand Down

0 comments on commit 2175101

Please sign in to comment.