File tree Expand file tree Collapse file tree 5 files changed +24
-21
lines changed Expand file tree Collapse file tree 5 files changed +24
-21
lines changed Original file line number Diff line number Diff line change 1
1
**/*
2
- !artifacts
2
+ !**/*.cake
3
+ !**/Dockerfile
4
+ !build.ps1
5
+ !build.config
6
+ !*.yml
7
+ !*.yaml
Original file line number Diff line number Diff line change 1
1
stages :
2
- - stage : Pack
2
+ - stage : Package
3
3
jobs :
4
- - job : Pack
4
+ - job : Package
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/stages/pack .yml
16
+ - template : build/tmpl/jobs .yml
17
17
18
- - stage : Docker
18
+ - stage : Dir
19
19
condition : succeeded()
20
20
jobs :
21
- - job : Docker
21
+ - job : Dir
22
22
strategy :
23
23
matrix :
24
24
' Windows ' :
@@ -28,4 +28,11 @@ stages:
28
28
pool :
29
29
vmImage : $(VM_IMAGE)
30
30
steps :
31
- - template : build/stages/docker.yml
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'
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 Pack
86
+ #region Package
87
87
88
88
Task ( "Copy-Files" )
89
89
. IsDependentOn ( "Test" )
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -12,9 +12,11 @@ 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 and Package '
15
+ displayName : ' Cake build'
16
16
env :
17
17
GITHUB_TOKEN : $(GITHUB_TOKEN)
18
+ DOCKER_USERNAME : $(DOCKER_USERNAME)
19
+ DOCKER_PASSWORD : $(DOCKER_PASSWORD)
18
20
NUGET_API_KEY : $(NUGET_API_KEY)
19
21
NUGET_API_URL : $(NUGET_API_URL)
20
22
CHOCOLATEY_API_KEY : $(CHOCOLATEY_API_KEY)
27
29
ENABLED_PUBLISH_TFS : $(ENABLED_PUBLISH_TFS)
28
30
ENABLED_PUBLISH_NUGET : $(ENABLED_PUBLISH_NUGET)
29
31
ENABLED_PUBLISH_CHOCOLATEY : $(ENABLED_PUBLISH_CHOCOLATEY)
32
+ ENABLED_PUBLISH_DOCKER : $(ENABLED_PUBLISH_DOCKER)
30
33
- publish : $(System.DefaultWorkingDirectory)
31
34
condition : eq( variables['Agent.OS'], 'Windows_NT' )
32
35
artifact : artifacts
You can’t perform that action at this time.
0 commit comments