[jbosstools-issues] [JBoss JIRA] (JBIDE-13824) groovy environment variable hack no longer works in install-grinder jobs

Nick Boldt (JIRA) jira-events at lists.jboss.org
Wed Mar 20 00:54:41 EDT 2013


Nick Boldt created JBIDE-13824:
----------------------------------

             Summary: groovy environment variable hack no longer works in install-grinder jobs
                 Key: JBIDE-13824
                 URL: https://issues.jboss.org/browse/JBIDE-13824
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: Build/Releng, testing-tools
    Affects Versions: 4.1.0.Alpha1, 4.0.1.Final
            Reporter: Nick Boldt
            Assignee: Mickael Istria


{code:title=https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/DevStudio/view/DevStudio_6.0.juno/job/jbosstools-4.0_stable_branch.upgrade-tests.matrix/7/console}
Started by user nboldt at REDHAT.COM
[EnvInject] - Loading node environment variables.
[EnvInject] - Preparing an environment for the build.
[EnvInject] - Keeping Jenkins system variables.
[EnvInject] - Keeping Jenkins build variables.
[EnvInject] - Adding build parameters as variables.
[EnvInject] - Evaluation the following Groovy script content: 
// Horrible hack to set PRODUCT !
import hudson.model.*

def thr = Thread.currentThread()
def build = thr?.executable
def resolver = build.buildVariableResolver
def url = resolver.resolve("INSTALL_URL")
String product = url.contains("devstudio") ? "devstudio" : "jbosstools"
String proto = url.contains("devstudio.jboss.com") ? "https" : "http"

[PRODUCT: product, PROTO: proto]

[EnvInject] - [ERROR] - SEVERE ERROR occurs: No such property: executable for class: hudson.model.OneOffExecutor
Notifying upstream projects of job completion
Finished: FAILURE
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list