5 changed files
apps/DotNetDevOps.Extensions.PowerPlatform.CLI | ||
Program.cs | ||
build | ||
ppecli | ||
publish-ppecli-artifacts.yml + | ||
validate-and-build.yml + | ||
ci-master-ppecli.yml + | ||
ContinueIntegration.csproj + | ||
Program.cs
/apps/DotNetDevOps.Extensions.PowerPlatform.CLI/Program.cs-11+11/apps/DotNetDevOps.Extensions.PowerPlatform.CLI/Program.cs
Add comment 15 public string ClientId { get; set; }
Add comment 16 public string ClientSecret { get; set; }
Add comment 17 }
Add comment 18 Minus [Command(Name = "flowcli", Description = "Flow CLI"),
Add comment 18 Plus [Command(Name = "ppe", Description = "PowerPlatform Extensions CLI"),
Add comment 19 Subcommand(typeof(Environments)),
Add comment 20 Subcommand(typeof(Solutions)),
Add comment 21 Subcommand(typeof(Flows)),
Add comment 43 // "--value","test", "--debug" };
Add comment 44
Add comment 45
Add comment 46 Minus args = new[]
Add comment 47 Minus {
Add comment 48 Minus "manifest",
Add comment 49 Minus "--client-secret", "-EW@]CD_i3GDAa1MBm2uYq7Ly9d7on43",
Add comment 50 Minus "--client-id","551183a5-b834-448f-b4ba-48c73cdc12f0",
Add comment 51 Minus "--solution", "Kjeldager AppSettings",
Add comment 52 Minus "--publisher", "Kjeldager",
Add comment 53 Minus "--environment-url", "kjeldager-dev.crm4.dynamics.com",
Add comment 54 Minus "--path", @"C:\dev\DotNetDevOps.Extensions.PowerPlatform.Configuration\plugins\DotNetDevOps.Extensions.PowerPlatform.ConfigurationPlugin\manifest.json"
Add comment 55 Minus };
Add comment 46 Plus //args = new[]
Add comment 47 Plus //{
Add comment 48 Plus // "manifest",
Add comment 49 Plus // "--client-secret", "-EW@]CD_i3GDAa1MBm2uYq7Ly9d7on43",
Add comment 50 Plus // "--client-id","551183a5-b834-448f-b4ba-48c73cdc12f0",
Add comment 51 Plus // "--solution", "Kjeldager AppSettings",
Add comment 52 Plus // "--publisher", "Kjeldager",
Add comment 53 Plus // "--environment-url", "kjeldager-dev.crm4.dynamics.com",
Add comment 54 Plus // "--path", @"C:\dev\DotNetDevOps.Extensions.PowerPlatform.Configuration\plugins\DotNetDevOps.Extensions.PowerPlatform.ConfigurationPlugin\manifest.json"
Add comment 55 Plus //};
Add comment 56
Add comment 57
Add comment 58 var clientsecret = "";
publish-ppecli-artifacts.yml
/build/ppecli/publish-ppecli-artifacts.yml+30/build/ppecli/publish-ppecli-artifacts.yml
Add comment 1 Plus
Add comment 2 Plus steps:
Add comment 3 Plus - script: |
Add comment 4 Plus dotnet tool install -g dotnet-warp
Add comment 5 Plus dotnet warp -o $(Build.ArtifactStagingDirectory)/ppe-cli.exe
Add comment 6 Plus displayName: 'Publish and Wrap'
Add comment 7 Plus workingDirectory: '$(Build.SourcesDirectory)/apps/ppe'
Add comment 8 Plus
Add comment 9 Plus - task: PublishPipelineArtifact@0
Add comment 10 Plus inputs:
Add comment 11 Plus artifactName: 'drop'
Add comment 12 Plus targetPath: '$(Build.ArtifactStagingDirectory)'
Add comment 13 Plus
Add comment 14 Plus #- task: AzureFileCopy@4
Add comment 15 Plus # inputs:
Add comment 16 Plus # SourcePath: '$(Build.ArtifactStagingDirectory)/*'
Add comment 17 Plus # azureSubscription: 'azure'
Add comment 18 Plus # Destination: 'AzureBlob'
Add comment 19 Plus # storage: 'azuregrokweu'
Add comment 20 Plus # ContainerName: 'releases'
Add comment 21 Plus # BlobPrefix: 'AzureGrok/1.0.0-ci-$(Build.BuildNumber)/'
Add comment 22 Plus
Add comment 23 Plus #- task: AzureFileCopy@4
Add comment 24 Plus # inputs:
Add comment 25 Plus # SourcePath: '$(Build.ArtifactStagingDirectory)/*'
Add comment 26 Plus # azureSubscription: 'azure'
Add comment 27 Plus # Destination: 'AzureBlob'
Add comment 28 Plus # storage: 'azuregrokweu'
Add comment 29 Plus # ContainerName: 'releases'
Add comment 30 Plus # BlobPrefix: 'AzureGrok/latest/'
validate-and-build.yml
/build/ppecli/validate-and-build.yml+17/build/ppecli/validate-and-build.yml
Add comment 1 Plus
Add comment 2 Plus steps:
Add comment 3 Plus # .NET Core
Add comment 4 Plus # Restore NuGet packages.
Add comment 5 Plus - task: DotNetCoreCLI@2
Add comment 6 Plus inputs:
Add comment 7 Plus command: 'restore'
Add comment 8 Plus projects: 'apps/**/*.csproj'
Add comment 9 Plus #feedsToUse: config
Add comment 10 Plus #nugetConfigPath: nuget.config # you should always have a NuGet.config file!
Add comment 11 Plus #verbosityRestore: 'detailed' # Options: quiet, minimal, normal, detailed, diagnostic
Add comment 12 Plus - task: DotNetCoreCLI@2
Add comment 13 Plus displayName: Build
Add comment 14 Plus inputs:
Add comment 15 Plus command: build
Add comment 16 Plus projects: 'apps/**/*.csproj'
Add comment 17 Plus configuration: '$(buildConfiguration)'