Skip to content

[Ignore] Buildfix backport #2267

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Nov 1, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .vsts-ci/templates/release-general.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,15 @@ steps:
optionsFTPATH: '$(Build.SourcesDirectory)\tools\terms\FileTypeSet.xml'
# toolVersion: 5.8.2.1

- pwsh: |
Get-ChildItem -Exclude node_modules | Get-ChildItem -Recurse | ForEach-Object FullName > "$env:BUILD_SOURCESDIRECTORY/credscan.tsv"
displayName: Create credscan.tsv as the list of files to scan

- task: CredScan@2
condition: succeededOrFailed()
inputs:
debugMode: false
scanFolder: '$(Build.SourcesDirectory)/credscan.tsv'

# Publish results as artifacts
- task: PublishSecurityAnalysisLogs@3
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"rewire": "~4.0.1",
"tslint": "~5.20.0",
"typescript": "~3.5.3",
"vsce": "~1.68.0",
"vsce": "~1.64.0",
"vscode": "~1.1.36"
},
"extensionDependencies": [
Expand Down
5 changes: 5 additions & 0 deletions tools/releaseBuild/setVstsVariables.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ $vstsVariables = @{
# Use VSTS's API to set an env vars
foreach ($var in $vstsVariables.Keys)
{
if (Get-Item "env:$var" -ErrorAction Ignore)
{
continue
}

$val = $vstsVariables[$var]
Write-Host "Setting var '$var' to value '$val'"
Write-Host "##vso[task.setvariable variable=$var]$val"
Expand Down