anchor.diff:  import groovy.json.JsonSlurper;
   import hudson.model.*;
   
  -def qubellOutputFile = new File('qubell_output.json')
  +def build = Thread.currentThread().executable;
  +def envVarsMap = build.parent.builds[0].properties.get("envVars")
  +
  +def qubellOutputFile = new File("${envVarsMap.get("WORKSPACE")}/qubell_output.json")
   def userJson = new JsonSlurper().parseText(qubellOutputFile.text)
   
  -def build = Thread.currentThread().executable;
   def pa = new ParametersAction([
   new StringParameterValue('PETCLINIC_URL', userJson.'output.webapp_endpoint')
   ]);
  
positive.code:         }
      }
  
      goals('-e')
      goals('clean')
      goals('install')
  
negative.code: if (version) build.displayName = version"""
  
  qubell_app_params = """{
      \"input.artifact_url\": \"\${NEXUS_URL}/service/local/artifact/maven/content?r=builds-all&g=org.asf.demo.webapp&a=asf-webapp-demo&v=\${buildVersion}&e=war\",
      \"instanceName\": \"asf-webapp-demo-\${buildVersion}\"
  }"""
  
  