File tree Expand file tree Collapse file tree 5 files changed +21
-24
lines changed Expand file tree Collapse file tree 5 files changed +21
-24
lines changed Original file line number Diff line number Diff line change 1
1
**/*
2
- !**/*.cake
3
- !**/Dockerfile
4
- !build.ps1
5
- !build.config
6
- !*.yml
7
- !*.yaml
2
+ !artifacts
Original file line number Diff line number Diff line change 1
1
stages :
2
- - stage : Package
2
+ - stage : Pack
3
3
jobs :
4
- - job : Package
4
+ - job : Pack
5
5
strategy :
6
6
matrix :
7
7
' Windows ' :
@@ -13,12 +13,12 @@ stages:
13
13
pool :
14
14
vmImage : $(VM_IMAGE)
15
15
steps :
16
- - template : build/tmpl/jobs .yml
16
+ - template : build/stages/pack .yml
17
17
18
- - stage : Dir
18
+ - stage : Docker
19
19
condition : succeeded()
20
20
jobs :
21
- - job : Dir
21
+ - job : Docker
22
22
strategy :
23
23
matrix :
24
24
' Windows ' :
@@ -28,11 +28,4 @@ stages:
28
28
pool :
29
29
vmImage : $(VM_IMAGE)
30
30
steps :
31
- - checkout : none
32
- - task : DownloadPipelineArtifact@2
33
- inputs :
34
- source : current
35
- path : $(Build.SourcesDirectory)
36
- artifact : artifacts
37
- - powershell : dir $(Build.SourcesDirectory); dir $(Build.SourcesDirectory)/build;
38
- displayName : ' Dir build'
31
+ - template : build/stages/docker.yml
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ Task("Test")
83
83
84
84
#endregion
85
85
86
- #region Package
86
+ #region Pack
87
87
88
88
Task ( "Copy-Files" )
89
89
. IsDependentOn ( "Test" )
Original file line number Diff line number Diff line change
1
+ steps :
2
+ - task : DownloadPipelineArtifact@2
3
+ inputs :
4
+ source : current
5
+ path : $(Build.SourcesDirectory)
6
+ artifact : artifacts
7
+ - powershell : ./build.ps1 -script build.cake -target Docker-Test
8
+ displayName : ' Docker build'
9
+ env :
10
+ DOCKER_USERNAME : $(DOCKER_USERNAME)
11
+ DOCKER_PASSWORD : $(DOCKER_PASSWORD)
12
+ ENABLED_PUBLISH_DOCKER : $(ENABLED_PUBLISH_DOCKER)
Original file line number Diff line number Diff line change @@ -12,11 +12,9 @@ steps:
12
12
versionSpec : ' >= 2.5'
13
13
addToPath : true # Optional
14
14
- powershell : ./build.ps1 -script build.cake -target Pack
15
- displayName : ' Cake build'
15
+ displayName : ' Cake build and Package '
16
16
env :
17
17
GITHUB_TOKEN : $(GITHUB_TOKEN)
18
- DOCKER_USERNAME : $(DOCKER_USERNAME)
19
- DOCKER_PASSWORD : $(DOCKER_PASSWORD)
20
18
NUGET_API_KEY : $(NUGET_API_KEY)
21
19
NUGET_API_URL : $(NUGET_API_URL)
22
20
CHOCOLATEY_API_KEY : $(CHOCOLATEY_API_KEY)
29
27
ENABLED_PUBLISH_TFS : $(ENABLED_PUBLISH_TFS)
30
28
ENABLED_PUBLISH_NUGET : $(ENABLED_PUBLISH_NUGET)
31
29
ENABLED_PUBLISH_CHOCOLATEY : $(ENABLED_PUBLISH_CHOCOLATEY)
32
- ENABLED_PUBLISH_DOCKER : $(ENABLED_PUBLISH_DOCKER)
33
30
- publish : $(System.DefaultWorkingDirectory)
34
31
condition : eq( variables['Agent.OS'], 'Windows_NT' )
35
32
artifact : artifacts
You can’t perform that action at this time.
0 commit comments