Skip to content

Commit 82ebc03

Browse files
committed
Change vsts build script to be able to put built module anywhere based on _DockerVolume_
Remove a comment
1 parent d5a830f commit 82ebc03

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tools/releaseBuild/Image/DockerFile

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# escape=`
22
#0.3.6 (no powershell 6)
3-
# FROM microsoft/windowsservercore
43
FROM microsoft/dotnet-framework:4.7.1
54
LABEL maintainer='PowerShell Team <[email protected]>'
65
LABEL description="This Dockerfile for Windows Server Core with git installed via chocolatey."
+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1+
param ( [string]$target )
12
push-location C:/PSScriptAnalyzer
23
import-module C:/PSScriptAnalyzer/Utils/ReleaseMaker.psm1
34
New-ReleaseBuild
4-
Copy-Item -Recurse C:/PSScriptAnalyzer/out C:/
5+
Copy-Item -Recurse C:/PSScriptAnalyzer/out/* ${target}

tools/releaseBuild/build.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"Windows": {
33
"Name": "win7-x64",
44
"RepoDestinationPath": "C:\\PSScriptAnalyzer",
5-
"BuildCommand": "C:\\containerFiles\\buildPSSA.ps1",
5+
"BuildCommand": "C:\\containerFiles\\buildPSSA.ps1 -target _DockerVolume_",
66
"DockerFile": ".\\tools\\releaseBuild\\Image\\DockerFile",
77
"DockerImageName": "pssa",
88
"BinaryBucket": "release",

0 commit comments

Comments
 (0)