-
Bug
-
Resolution: Postponed
-
Major
-
None
-
core 2.107
structs 1.14
multijob 1.29
copyartifact 1.39
Symbol lookup returns an descriptor for an rather unrelated class which not annotated with the given symbol name.
When running the following code in Script Console, the same objects is printed each time.
import org.jenkinsci.plugins.structs.SymbolLookup import hudson.plugins.copyartifact.StatusBuildSelector import com.tikal.jenkins.plugins.multijob.MultiJobBuildSelector def d1 = Jenkins.instance.getDescriptor(StatusBuildSelector) println SymbolLookup.get().find(d1.class, 'lastSuccessful') def d2 = Jenkins.instance.getDescriptor(MultiJobBuildSelector) println SymbolLookup.get().find(d2.class, 'lastSuccessful')