-
Bug
-
Resolution: Done
-
Major
-
None
-
Jenkins ver. 2.19.2
TFS plugin 5.2.1
In Team Services I have a Release Definition with several artifacts (one from Jenkins [primary] and another from Git). The trigger to the VSTS fails with the log below.
Fetching latest version for artifact: InternalTasks ERROR: Failed to trigger release.%n hudson.plugins.tfs.rm.ReleaseManagementException: Could not fetch versions for the linked artifact: InternalTasks at hudson.plugins.tfs.rm.ReleaseManagementCI.PrepareReleaseArtifacts(ReleaseManagementCI.java:189) at hudson.plugins.tfs.rm.ReleaseManagementCI.CreateRelease(ReleaseManagementCI.java:144) at hudson.plugins.tfs.rm.ReleaseManagementCI.perform(ReleaseManagementCI.java:104) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720) at hudson.model.Build$BuildExecution.post2(Build.java:185) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:665) at hudson.model.Run.execute(Run.java:1745) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:404)
If I remove the "InternalTasks" [Git] artifact link then the trigger works perfectly.
In attachment it is possible to see that the Git artifacts have several version (which is prompt in the error above).