Skip to content

Commit

Permalink
🐛 Fix: azure pipeline + coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
upupming committed Jun 8, 2019
1 parent d351648 commit ed55d70
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ node_modules
yarn-error.log
package-lock.json
coverage
.coveralls.yml
7 changes: 7 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@ jobs:
env:
COVERALLS_SERVICE_NAME: $(COVERALLS_SERVICE_NAME)
COVERALLS_REPO_TOKEN: $(COVERALLS_REPO_TOKEN)
# https://docs.microsoft.com/en-us/azure/devops/pipelines/build/variables
COVERALLS_GIT_COMMIT: $(Build.SourceVersion)
# https://github.com/MicrosoftDocs/vsts-docs/issues/4259
# https://stackoverflow.com/questions/16623835/remove-a-fixed-prefix-suffix-from-a-string-in-bash
COVERALLS_GIT_BRANCH: $("${Build.SourceBranch#'refs\/heads\/'}")
COVERALLS_SERVICE_JOB_ID: $(Build.BuildId)
CI_PULL_REQUEST: $(System.PullRequest.PullRequestNumber)

- script: 'npm install -g vsce && vsce package'
displayName: 'Build artifact'
Expand Down

0 comments on commit ed55d70

Please sign in to comment.