Hello,

I am running my performance testing in one of the slave node (linux 
machine). In build step I am using "Execute groovy script" which obviously 
running on Slave machine.

This line throws me an error: def buildRun = 
Thread.currentThread().executable

Error: Caught: groovy.lang.MissingPropertyException: No such property: 
executable for class: java.lang.Thread

groovy.lang.MissingPropertyException: No such property: executable for class: 
java.lang.Thread
        at hudson7323000363615321518.run(hudson7323000363615321518.groovy:90)
Build step 'Execute Groovy script' marked build as failure



I know I found online everyone is suggesting to use "Execute System Groovy 
script" but I can't use in this case as I don't want to run anything on master. 
Also this program uses buildRun object to get another file which on slave 
machine so if I use "Execute System Groovy Script" though it is giving me issue 
for finding this file as it is on slave machine. Can anyone suggest what should 
I do? Where I am doing wrong?



Thanks,


-- 
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/3e20bd21-a509-47fd-a952-eb878c5032ae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to