Hi,
I'm trying to use Active Choices plugin to get branch list by repo using github api, but it gives me an error that there is no repo - which is a referenced parameter, which is already defined.
In case, I'm using Ubuntu 16.0.4, Jenkins 2.32.2 and Active choices plugin 1.5.3.
Am I doing something wrong?
(I also tried to use buffer/stream way since I found some answers about not using 'text' from stackoverflow, but same result. the code part to get branch name is working fine on scriptler edit mode.)
def proc ="curl...."
def outputStream = new StringBuffer()
proc.waitForProcessOutput(outputStream, System.err)
return outputStream.toString())
referenced parameter reactive part
The error is as follow:
Fallback to default script...
groovy.lang.MissingPropertyException: No such property: REPO for class: Script1
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:53)
at org.codehaus.groovy.runtime.callsite.PogoGetPropertySite.getProperty(PogoGetPropertySite.java:52)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGroovyObjectGetProperty(AbstractCallSite.java:307)
at Script1.run(Script1.groovy:1)