-
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 7380ccc
Showing
442 changed files
with
33,191 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: 'src\UiPath.CoreIpc\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.CoreIpc/bin/**/UiPath.CoreIpc.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"' |
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,32 @@ | ||
steps: | ||
- checkout: none | ||
|
||
- download: current | ||
artifact: 'NPM package' | ||
# The destination path is $(Pipeline.Workspace) | ||
|
||
- task: NodeTool@0 | ||
displayName: 'Use Node.js 20.11.0' | ||
inputs: | ||
versionSpec: '20.11.0' | ||
|
||
- task: ExtractFiles@1 | ||
displayName: 'Extract Files' | ||
inputs: | ||
archiveFilePatterns: '$(Pipeline.Workspace)/NPM package/*.zip' | ||
destinationFolder: '$(System.DefaultWorkingDirectory)/unzipped' | ||
cleanDestinationFolder: true | ||
|
||
- task: Npm@1 | ||
displayName: 'Publish NPM (NodeJS)' | ||
inputs: | ||
command: 'publish' | ||
workingDir: '$(System.DefaultWorkingDirectory)/unzipped/dist/prepack/node' | ||
publishEndpoint: PublishNPM | ||
|
||
- task: Npm@1 | ||
displayName: 'Publish NPM (Web)' | ||
inputs: | ||
command: 'publish' | ||
workingDir: '$(System.DefaultWorkingDirectory)/unzipped/dist/prepack/web' | ||
publishEndpoint: PublishNPM |
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,73 @@ | ||
steps: | ||
- task: UseDotNet@2 | ||
inputs: | ||
version: 6.0.x | ||
|
||
- task: NodeTool@0 | ||
displayName: 'Use Node.js 20.11.0' | ||
inputs: | ||
versionSpec: '20.11.0' | ||
|
||
- task: DotNetCoreCLI@2 | ||
displayName: 'Build "UiPath.CoreIpc.csproj"' | ||
inputs: | ||
projects: '$(DotNet_MainProjectPath)' | ||
arguments: '--configuration $(NodeJS_DotNet_BuildConfiguration) --framework net6.0 -p:Version="$(FullVersion)"' | ||
|
||
- task: DotNetCoreCLI@2 | ||
displayName: 'Build "UiPath.CoreIpc.NodeInterop.csproj"' | ||
inputs: | ||
projects: '$(NodeJS_DotNetNodeInteropProject)' | ||
arguments: '--configuration $(NodeJS_DotNet_BuildConfiguration) --framework net6.0 -p:Version="$(FullVersion)"' | ||
|
||
- task: CmdLine@2 | ||
displayName: 'Set $[FullVersion] in package.json' | ||
condition: succeeded() | ||
inputs: | ||
workingDirectory: '$(NodeJS_ProjectPath)' | ||
script: 'npm version $(FullVersion) --allow-same-version' | ||
|
||
- task: Npm@1 | ||
displayName: 'Npm Install' | ||
inputs: | ||
command: 'install' | ||
workingDir: $(NodeJS_ProjectPath) | ||
customRegistry: 'useFeed' | ||
customFeed: '424ca518-1f12-456b-a4f6-888197fc15ee' | ||
|
||
- task: CmdLine@2 | ||
displayName: 'Npm Run Build' | ||
condition: succeeded() | ||
inputs: | ||
workingDirectory: $(NodeJS_ProjectPath) | ||
script: 'npm run build' | ||
|
||
- task: CmdLine@2 | ||
displayName: 'Npm Test' | ||
condition: succeeded() | ||
inputs: | ||
workingDirectory: $(NodeJS_ProjectPath) | ||
script: 'npm test' | ||
|
||
- task: PublishTestResults@2 | ||
displayName: 'Publish Web Test Results' | ||
condition: succeededOrFailed() | ||
inputs: | ||
testRunner: JUnit | ||
workingDir: $(NodeJS_ProjectPath) | ||
testResultsFiles: './src/Clients/js/reports/test/web/test-results.xml' | ||
|
||
- task: PublishTestResults@2 | ||
displayName: 'Publish NodeJS Test Results' | ||
condition: succeededOrFailed() | ||
inputs: | ||
testRunner: JUnit | ||
workingDir: $(NodeJS_ProjectPath) | ||
testRunTitle: '🌲 NodeJs ($(Agent.OS) $(Agent.OSArchitecture))' | ||
testResultsFiles: './src/Clients/js/reports/test/node/test-results.xml' | ||
|
||
- task: PublishCodeCoverageResults@1 | ||
displayName: 'Publish Code Coverage Results' | ||
inputs: | ||
codeCoverageTool: 'cobertura' | ||
summaryFileLocation: './src/Clients/js/reports/coverage/merged/cobertura/cobertura-coverage.xml' |
Oops, something went wrong.