Hi I need To typecast String to NumberOnlyBuildLabel to provide its value 
to DataSetBuilder.
What I have done was as below but I failed  during execution i am getting 
this exception.
Unable to  cast java.lang.String to 
hudson.util.ChartUtil$NumberOnlyBuildLabel 

What I am doing Is 

String Build ="121"
Object build=(Object)Build;
Label=(NumberOnlyBuildLabel) build;


Is there any other way around

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/8ee05d15-6001-46eb-824e-cf45a63264ca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to