Skip to content

Commit

Permalink
Added example pipleine run (#1464)
Browse files Browse the repository at this point in the history
  • Loading branch information
MrHinsh authored Mar 21, 2023
1 parent 32b5bb8 commit b8abcb2
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 0 deletions.
63 changes: 63 additions & 0 deletions configuration2-pipeline.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"Version": "0.0",
"LogLevel": "Verbose",
"MappingTools": [],
"Endpoints": {
"AzureDevOpsEndpoints": [
{
"Name": "Source",
"AccessToken": "rrsne75npwj5ctn5vm337nrxiqlvdkfmcbkqrubl6ushts6syi5a",
"Query": {
"Query": "SELECT [System.Id], [System.Tags] FROM WorkItems WHERE [System.TeamProject] = @TeamProject AND [System.WorkItemType] NOT IN ('Test Suite', 'Test Plan') ORDER BY [System.ChangedDate] desc",
"Parameters": {
"TeamProject": "MigrationSource1"
}
},
"Organisation": "https://dev.azure.com/nkdagility-preview/",
"Project": "migrationSource1",
"ReflectedWorkItemIdField": "Custom.ReflectedWorkItemId",
"AuthenticationMode": "AccessToken",
"AllowCrossProjectLinking": false,
"LanguageMaps": {
"AreaPath": "Area",
"IterationPath": "Iteration"
}
},
{
"Name": "Target",
"AccessToken": "rrsne75npwj5ctn5vm337nrxiqlvdkfmcbkqrubl6ushts6syi5a",
"Query": {
"Query": "SELECT [System.Id], [System.Tags] FROM WorkItems WHERE [System.TeamProject] = @TeamProject AND [System.WorkItemType] NOT IN ('Test Suite', 'Test Plan') ORDER BY [System.ChangedDate] desc"
},
"Organisation": "https://dev.azure.com/nkdagility-preview/",
"Project": "migrationTarget1",
"ReflectedWorkItemIdField": "Custom.ReflectedWorkItemId",
"AuthenticationMode": "AccessToken",
"AllowCrossProjectLinking": false,
"LanguageMaps": {
"AreaPath": "Area",
"IterationPath": "Iteration"
}
}
]
},
"Source": null,
"Target": null,
"Processors": [
{
"$type": "AzureDevOpsPipelineProcessorOptions",
"Enabled": true,
"MigrateBuildPipelines": true,
"MigrateReleasePipelines": true,
"MigrateTaskGroups": true,
"MigrateVariableGroups": true,
"MigrateServiceConnections": true,
"BuildPipelines": null,
"ReleasePipelines": null,
"RefName": null,
"SourceName": "Source",
"TargetName": "Target",
"RepositoryNameMaps": {}
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
<Content Include="..\..\configuration.json" Link="configuration.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="..\..\configuration2-pipeline.json" Link="configuration2-pipeline.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="..\..\configuration2.json" Link="configuration2.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
Expand Down
4 changes: 4 additions & 0 deletions src/MigrationTools.ConsoleFull/Properties/launchSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
"commandName": "Project",
"commandLineArgs": "execute -c configuration.json"
},
"executepipe": {
"commandName": "Project",
"commandLineArgs": "execute -c configuration2-pipeline.json"
},
"init": {
"commandName": "Project",
"commandLineArgs": "init --options Full"
Expand Down

0 comments on commit b8abcb2

Please sign in to comment.