Replies: 1 comment
-
You are trying to use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have question like i am migrating the tfs[version 16] to azure devops all the pipelines.
i am getting the error when i am using the pipeline processors because of endpoints not sure does this support the migration ?
{
"Serilog": {
"MinimumLevel": "Information"
},
"MigrationTools": {
"Version": "16.0",
"Endpoints": {
"Source": {
"EndpointType": ""TfsTeamProjectEndpoint",",
"Collection": "https://tfs.adgm.com/tfs/DefaultCollection", // Ensure this URL is correct and reachable
"Project": "eCourts",
"Authentication": {
"AuthenticationMode": "AccessToken",
"AccessToken": "**"
}
},
"Target": {
"EndpointType": "AzureDevOpsEndpoint",
"Collection": "https://dev.azure.com/adgmcloud", // Ensure this URL is correct and reachable
"Project": "ADGM eCourts",
"Authentication": {
"AuthenticationMode": "AccessToken",
"AccessToken": "*"
}
}
},
"Processors": [
{
"ProcessorType": "AzureDevOpsPipelineProcessor",
"Enabled": true,
"SourceName": "Source",
"TargetName": "Target",
"MigrateClassicBuildPipelines": true,
"MigrateClassicReleasePipelines": true,
"MigrateYamlPipelines": true,
"MigrateTaskGroups": true,
"MigrateVariableGroups": true,
"SkipIfAlreadyExists": true,
"OverwriteVariableGroups": true,
"OverwriteTaskGroups": true,
"BuildDefinitionQuery": "SELECT * FROM BuildDefinitions",
"ReleaseDefinitionQuery": "SELECT * FROM ReleaseDefinitions",
"VerifyMigration": true,
"LogLevel": "Information"
}
]
}
}
ERROR
[13:22:12 INF] [16.0.9] Processor::EnsureConfigured
[13:22:13 FTL] [16.0.9] Error while running AzureDevOpsPipelineProcessor
System.InvalidCastException: Unable to cast object of type 'MigrationTools.Clients.TfsTeamProjectEndpoint' to type 'MigrationTools.Endpoints.AzureDevOpsEndpoint'.
at MigrationTools.Processors.AzureDevOpsPipelineProcessor.get_Source() in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\MigrationTools.Clients.AzureDevops.Rest\Processors\AzureDevOpsPipelineProcessor.cs:line 30
at MigrationTools.Processors.AzureDevOpsPipelineProcessor.EnsureConfigured() in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\MigrationTools.Clients.AzureDevops.Rest\Processors\AzureDevOpsPipelineProcessor.cs:line 52
at MigrationTools.Processors.AzureDevOpsPipelineProcessor.InternalExecute() in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\MigrationTools.Clients.AzureDevops.Rest\Processors\AzureDevOpsPipelineProcessor.cs:line 38
at MigrationTools.Processors.Infrastructure.Processor.Execute() in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\MigrationTools\Processors\Infrastructure\Processor.cs:line 99
Error logged to Elmah.io!
!! Check for latest version - We fix issues constantly - If not, please create a discussion on https://github.com/nkdAgility/azure-devops-migration-tools/discussions so we can get this fixed !!
[13:22:15 INF] [16.0.9] AzureDevOpsPipelineProcessor completed in 00:00:00
[13:22:15 ERR] [16.0.9] AzureDevOpsPipelineProcessor The Processor MigrationEngine entered the failed state...stopping run
[13:22:15 INF] [16.0.9] Command ExecuteMigrationCommand completed in 00:00:02.7847174
Beta Was this translation helpful? Give feedback.
All reactions