-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
446c3c0
commit c0d14bc
Showing
501 changed files
with
38,120 additions
and
21,413 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
steps: | ||
- task: CopyFiles@2 | ||
displayName: '$(Label_DotNet) Copy nupkg to $(Build.ArtifactStagingDirectory)' | ||
inputs: | ||
SourceFolder: 'UiPath.Rpc\UiPath.Rpc\bin\$(DotNet_BuildConfiguration)\' | ||
Contents: '*.*nupkg' | ||
TargetFolder: '$(Build.ArtifactStagingDirectory)' | ||
CleanTargetFolder: true | ||
|
||
- task: PublishBuildArtifacts@1 | ||
displayName: '$(Label_DotNet) Publish the $(DotNet_ArtifactName) to the pipeline instance' | ||
inputs: | ||
ArtifactName: '$(DotNet_ArtifactName)' | ||
PathtoPublish: '$(Build.ArtifactStagingDirectory)' | ||
ArtifactType: 'Container' | ||
|
||
- task: DotNetCoreCLI@2 | ||
displayName: 'dotnet push to UiPath-Internal' | ||
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master')) | ||
inputs: | ||
command: push | ||
packagesToPush: '$(Build.ArtifactStagingDirectory)/**/*.nupkg' | ||
publishVstsFeed: 'Public.Feeds/UiPath-Internal' | ||
|
||
- task: PublishSymbols@2 | ||
displayName: 'Publish Symbols to UiPath Azure Artifacts Symbol Server' | ||
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master')) | ||
inputs: | ||
symbolsFolder: $(Build.SourcesDirectory) | ||
searchPattern: '**/UiPath.Rpc/bin/**/UiPath.Rpc.pdb' | ||
symbolServerType: teamServices | ||
indexSources: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
steps: | ||
- task: DotNetCoreCLI@2 | ||
displayName: '$(Label_DotNet) Run unit tests' | ||
inputs: | ||
command: 'test' | ||
projects: '$(DotNet_SessionSolution)' | ||
publishTestResults: true | ||
testRunTitle: '.NET tests' | ||
arguments: ' --configuration $(DotNet_BuildConfiguration) --logger "console;verbosity=detailed" -p:Version="$(FullVersion)" -p:DefineConstantsEx="CI"' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
steps: | ||
|
||
# Read $(Version) from the UiPath.Rpc.csproj file | ||
- powershell: | | ||
$xml = [Xml] ( Get-Content $env:DotNet_MainProjectPath ) | ||
$version = [String] $xml.Project.PropertyGroup.Version | ||
$version = $version.Trim() | ||
Write-Host "##vso[task.setvariable variable=Version;]$version" | ||
displayName: '$(Label_Initialization) Read $[Version] from the csproj' | ||
env: | ||
DotNet_MainProjectPath: $(DotNet_MainProjectPath) | ||
# If $(PublishRelease) != "true" then compute $(FullVersion) as $(Version)-$(Build.BuildNumber) | ||
- task: VariableTransformTask@1 | ||
displayName: '$(Label_Initialization) Compute $[FullVersion] when $[PublishRelease] is not true' | ||
inputs: | ||
value: '$(Version)-$(Build.BuildNumber)' | ||
variableName: 'FullVersion' | ||
IsSecret: false | ||
transformAction: 'none' | ||
condition: ne(variables['PublishRelease'], 'true') | ||
|
||
# If $(PublishRelease) == "true" then compute $(FullVersion) as $(Version) | ||
- task: VariableTransformTask@1 | ||
displayName: '$(Label_Initialization) Compute $[FullVersion] when $[PublishRelease] is "true"' | ||
inputs: | ||
value: '$(Version)' | ||
variableName: 'FullVersion' | ||
IsSecret: false | ||
transformAction: 'none' | ||
condition: eq(variables['PublishRelease'], 'true') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: $(Date:yyyyMMdd)$(Rev:-rr) | ||
|
||
variables: | ||
Label_Initialization: 'Initialization:' | ||
Label_DotNet: '.NET:' | ||
Label_NodeJS: 'node.js:' | ||
|
||
DotNet_BuildConfiguration: 'Release' | ||
DotNet_SessionSolution: 'UiPath.Rpc/UiPath.Rpc.sln' | ||
DotNet_MainProjectName: 'UiPath.Rpc' | ||
DotNet_MainProjectPath: './UiPath.Rpc/UiPath.Rpc/UiPath.Rpc.csproj' | ||
DotNet_ArtifactName: 'NuGet package' | ||
|
||
NodeJS_DotNet_BuildConfiguration: 'Debug' | ||
NodeJS_ProjectPath: './src/Clients/nodejs' | ||
NodeJS_ArchivePath: './src/Clients/nodejs.zip' | ||
NodeJS_ArtifactName: 'NPM package' | ||
NodeJS_NetCoreAppTargetDir_RelativePath: 'dotnet/UiPath.Rpc.NodeInterop/bin/Debug/net6.0' | ||
NodeJS_DotNetNodeInteropProject : './src/Clients/nodejs/dotnet/UiPath.Rpc.NodeInterop/UiPath.Rpc.NodeInterop.csproj' | ||
NodeJS_DotNetNodeInteropSolution: './src/Clients/nodejs/dotnet/UiPath.Rpc.NodeInterop.sln' | ||
jobs: | ||
|
||
- job: | ||
displayName: '.NET on Windows' | ||
pool: | ||
vmImage: 'windows-latest' | ||
steps: | ||
- template: azp-initialization.yaml | ||
- template: azp-dotnet.yaml | ||
- template: azp-dotnet-dist.yaml |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<configuration> | ||
<system.diagnostics> | ||
<switches> | ||
<add name="Ipc.DebuggerProxy" value="Verbose" /> | ||
</switches> | ||
</system.diagnostics> | ||
</configuration> |
Oops, something went wrong.