Jenkins DSL script - Test Failure - Found multiple extensions which provide method lastCompleted
问题 Trying to create multijobs in Jenkins with DSL scripting. There are multiple jobs in a phase and I want to create a consolidated report for the multijob from downstream jobs. I am using copy artifact to copy the results of downstream jobs to the multijob's target dir. Using selector - lastCompleted() However I am getting this an error saying multiple extensions providing the method and tests are failing. lastCompleted() is apparently present in copyArtifact and multijob plugins where in this