Skip to content

Commit

Permalink
Fix issue with .NET pipeline preparation. (Azure#16652)
Browse files Browse the repository at this point in the history
Co-authored-by: Mitch Denny <[email protected]>
  • Loading branch information
azure-sdk and mitchdenny authored Oct 22, 2020
1 parent ec9b001 commit 68232ec
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,14 @@ parameters:
ToolPath: $(Pipeline.Workspace)/pipeline-generator

steps:
- script: >
mkdir $(Pipeline.Workspace)/pipeline-generator
displayName: Setup working directory for pipeline generator.
- script: >
dotnet tool install
Azure.Sdk.Tools.PipelineGenerator
--version 1.0.2-dev.20201020.1
--add-source https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk/nuget/v3/index.json
--tool-path ${{parameters.ToolPath}}
workingDirectory: $(Pipeline.Workspace)/pipeline-generator
displayName: 'Install pipeline generator tool'
6 changes: 6 additions & 0 deletions eng/common/pipelines/templates/steps/prepare-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ steps:
--patvar PATVAR
--debug
${{parameters.CIConventionOptions}}
displayName: Create CI pipelines for public repository
env:
PATVAR: $(azuresdk-azure-sdk-devops-pipeline-generation-pat)
- script: >
Expand All @@ -51,6 +52,7 @@ steps:
--patvar PATVAR
--debug
${{parameters.UPConventionOptions}}
displayName: Create UP pipelines for public repository
env:
PATVAR: $(azuresdk-azure-sdk-devops-pipeline-generation-pat)
- script: >
Expand All @@ -68,6 +70,7 @@ steps:
--patvar PATVAR
--debug
${{parameters.TestsConventionOptions}}
displayName: Create Live Test pipelines for public repository
env:
PATVAR: $(azuresdk-azure-sdk-devops-pipeline-generation-pat)
Expand All @@ -89,6 +92,7 @@ steps:
--debug
--no-schedule
${{parameters.CIConventionOptions}}
displayName: Create CI pipelines for private repository
env:
PATVAR: $(azuresdk-azure-sdk-devops-pipeline-generation-pat)
- script: >
Expand All @@ -107,6 +111,7 @@ steps:
--debug
--no-schedule
${{parameters.UPConventionOptions}}
displayName: Create UP pipelines for private repository
env:
PATVAR: $(azuresdk-azure-sdk-devops-pipeline-generation-pat)
- script: >
Expand All @@ -125,5 +130,6 @@ steps:
--debug
--no-schedule
${{parameters.TestsConventionOptions}}
displayName: Create Live Test pipelines for private repository
env:
PATVAR: $(azuresdk-azure-sdk-devops-pipeline-generation-pat)

0 comments on commit 68232ec

Please sign in to comment.