File tree Expand file tree Collapse file tree 7 files changed +15
-15
lines changed Expand file tree Collapse file tree 7 files changed +15
-15
lines changed Original file line number Diff line number Diff line change 30
30
steps :
31
31
- powershell : |
32
32
Get-ChildItem -Path env:
33
- displayName: Capture environment
33
+ displayName: Capture Environment
34
34
condition: succeededOrFailed()
35
35
36
36
- powershell : |
Original file line number Diff line number Diff line change 13
13
steps :
14
14
- powershell : |
15
15
Get-ChildItem -Path env:
16
- displayName: Capture environment
16
+ displayName: Capture Environment
17
17
condition: succeededOrFailed()
18
18
19
19
- powershell : Write-Host "##vso[build.updatebuildnumber]$env:BUILD_SOURCEBRANCHNAME-$env:BUILD_SOURCEVERSION-$((get-date).ToString("yyyyMMddhhmmss"))"
Original file line number Diff line number Diff line change 12
12
13
13
steps :
14
14
- task : securedevelopmentteam.vss-secure-development-tools.build-task-credscan.CredScan@2
15
- displayName : ' Scan for secrets '
15
+ displayName : ' Scan for Secrets '
16
16
inputs :
17
17
suppressionsFile : tools/credScan/suppress.json
18
18
debugMode : false
22
22
continueOnError : true
23
23
24
24
- task : securedevelopmentteam.vss-secure-development-tools.build-task-postanalysis.PostAnalysis@1
25
- displayName : ' Check for failures '
25
+ displayName : ' Check for Failures '
26
26
inputs :
27
27
CredScan : true
28
28
ToolLogsNotFoundAction : Error
Original file line number Diff line number Diff line change 23
23
steps :
24
24
- pwsh : |
25
25
Get-ChildItem -Path env:
26
- displayName: Capture environment
26
+ displayName: Capture Environment
27
27
condition: succeededOrFailed()
28
28
29
29
- powershell : Write-Host "##vso[build.updatebuildnumber]$env:BUILD_SOURCEBRANCHNAME-$env:BUILD_SOURCEVERSION-$((get-date).ToString("yyyyMMddhhmmss"))"
Original file line number Diff line number Diff line change @@ -17,11 +17,11 @@ jobs:
17
17
steps :
18
18
- script : |
19
19
set
20
- displayName: Capture environment
20
+ displayName: Capture Environment
21
21
condition: succeededOrFailed()
22
22
23
23
- task : DownloadBuildArtifacts@0
24
- displayName : ' Download build artifacts '
24
+ displayName : ' Download Build Artifacts '
25
25
inputs :
26
26
downloadType : specific
27
27
itemPattern : |
30
30
31
31
- pwsh : |
32
32
Get-ChildItem "$(System.ArtifactsDirectory)\*" -Recurse
33
- displayName: 'Capture artifacts directory '
33
+ displayName: 'Capture Artifacts Directory '
34
34
continueOnError: true
35
35
36
36
- pwsh : |
Original file line number Diff line number Diff line change 17
17
steps :
18
18
- pwsh : |
19
19
Get-ChildItem -Path env:
20
- displayName: Capture environment
20
+ displayName: Capture Environment
21
21
condition: succeededOrFailed()
22
22
23
23
- task : DownloadBuildArtifacts@0
30
30
31
31
- pwsh : |
32
32
Get-ChildItem "$(System.ArtifactsDirectory)\*" -Recurse
33
- displayName: 'Capture artifacts directory '
33
+ displayName: 'Capture Artifacts Directory '
34
34
continueOnError: true
35
35
36
36
- pwsh : |
40
40
condition: succeededOrFailed()
41
41
42
42
- task : ExtractFiles@1
43
- displayName : ' Extract build zip '
43
+ displayName : ' Extract Build ZIP '
44
44
inputs :
45
45
archiveFilePatterns : ' $(System.ArtifactsDirectory)/build/build.zip'
46
46
destinationFolder : ' $(System.ArtifactsDirectory)/bins'
53
53
54
54
- pwsh : |
55
55
Get-ChildItem "$(System.ArtifactsDirectory)\bins\*" -Recurse -ErrorAction SilentlyContinue
56
- displayName: 'Capture extracted build zip '
56
+ displayName: 'Capture Extracted Build ZIP '
57
57
continueOnError: true
58
58
59
59
- pwsh : |
Original file line number Diff line number Diff line change @@ -16,11 +16,11 @@ jobs:
16
16
steps :
17
17
- pwsh : |
18
18
Get-ChildItem -Path env:
19
- displayName: Capture environment
19
+ displayName: Capture Environment
20
20
condition: succeededOrFailed()
21
21
22
22
- task : DownloadBuildArtifacts@0
23
- displayName : ' Download build artifacts '
23
+ displayName : ' Download Build Artifacts '
24
24
inputs :
25
25
downloadType : specific
26
26
itemPattern : |
29
29
30
30
- pwsh : |
31
31
Get-ChildItem "$(System.ArtifactsDirectory)\*" -Recurse
32
- displayName: 'Capture artifacts directory '
32
+ displayName: 'Capture Artifacts Directory '
33
33
continueOnError: true
34
34
35
35
# must be run frow Windows PowerShell
You can’t perform that action at this time.
0 commit comments