azure-devops-migration-tools
azure-devops-migration-tools copied to clipboard
Unable to migrate pipelines using AzureDevOpsPipelineProcessorOptions
I am running the 12.0 version of the tool trying to migrate data from one project to another in the same Azure DevOps Organisation and i get the following error while using AzureDevOpsPipelineProcessorOptions to migrate build pipelines
[15:26:23 FTL] Error while running AzureDevOpsPipelineProcessor System.NullReferenceException: Object reference not set to an instance of an object. at MigrationTools.Processors.AzureDevOpsPipelineProcessor.<CreateBuildPipelinesAsync>d__15.MoveNext() in D:\a\1\s\src\MigrationTools.Clients.AzureDevops.Rest\Processors\AzureDevOpsPipelineProcessor.cs:line 235 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MigrationTools.Processors.AzureDevOpsPipelineProcessor.<MigratePipelinesAsync>d__9.MoveNext() in D:\a\1\s\src\MigrationTools.Clients.AzureDevops.Rest\Processors\AzureDevOpsPipelineProcessor.cs:line 93 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MigrationTools.Processors.AzureDevOpsPipelineProcessor.InternalExecute() in D:\a\1\s\src\MigrationTools.Clients.AzureDevops.Rest\Processors\AzureDevOpsPipelineProcessor.cs:line 47 at MigrationTools.Processors.Processor.Execute() in D:\a\1\s\src\MigrationTools\Processors\Processor.cs:line 106 [15:26:23 INF] AzureDevOpsPipelineProcessor completed in 00:00:01.1730514
Below is my config file, code repository is already migrated using git commands.
Hi @visagansanthanam-unisys!
can you please provide me the full log of your migration run?
Hi @visagansanthanam-unisys!
can you please provide me the full log of your migration run?
Hi @tomfrenzel
log attached. Any help on this is appreciated pipeline-migration-log.txt
Build definition is migrating successfully but the runs are not migrated.
Source
Target
Hi @visagansanthanam-unisys
We are also trying to migrate pipelines using the tool. We got the same error. Could you please help us with config files you had?
Hi @visagansanthanam-unisys
We are also trying to migrate pipelines using the tool. We got the same error. Could you please help us with config files you had?
Hi @AnushaCha ,
what version are you in. updating the tool to latest version solved the error for me. but only the pipeline definition gets migrated and not the build history
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 10 days
Hi @visagansanthanam-unisys! can you please provide me the full log of your migration run?
Hi @tomfrenzel
log attached. Any help on this is appreciated pipeline-migration-log.txt
Build definition is migrating successfully but the runs are not migrated.
Source
Target
We are using th same config.json file and getting the same error , Could some one please assist us, Thank you. We are migrating pipelines from One organization to another organization.