diff --git a/configuration2-pipeline.json b/configuration2-pipeline.json new file mode 100644 index 000000000..94fdeea20 --- /dev/null +++ b/configuration2-pipeline.json @@ -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": {} + } + ] +} \ No newline at end of file diff --git a/src/MigrationTools.ConsoleFull/MigrationTools.ConsoleFull.csproj b/src/MigrationTools.ConsoleFull/MigrationTools.ConsoleFull.csproj index bf460ca44..90bc24773 100644 --- a/src/MigrationTools.ConsoleFull/MigrationTools.ConsoleFull.csproj +++ b/src/MigrationTools.ConsoleFull/MigrationTools.ConsoleFull.csproj @@ -12,6 +12,9 @@ Always + + Always + Always diff --git a/src/MigrationTools.ConsoleFull/Properties/launchSettings.json b/src/MigrationTools.ConsoleFull/Properties/launchSettings.json index 03d667a27..94a32d219 100644 --- a/src/MigrationTools.ConsoleFull/Properties/launchSettings.json +++ b/src/MigrationTools.ConsoleFull/Properties/launchSettings.json @@ -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"