This is my pipeline script:
node{
step ([$class: 'GoBuildSandboxBuilder', product: 'gobuild_tiny_target',
branch: 'main', changeset: 'False'])
}
On Friday, January 5, 2018 at 1:01:16 PM UTC-8, Rijo Simon wrote:
>
> On adding node block I get the error: java.lang.NoSuchMethodError: No
> such DSL method 'node' found among steps
>
> On Friday, January 5, 2018 at 12:37:30 PM UTC-8, Jesse Glick wrote:
>>
>> On Fri, Jan 5, 2018 at 3:30 PM, Rijo Simon <[email protected]> wrote:
>> > org.jenkinsci.plugins.workflow.steps.MissingContextVariableException:
>> > Required context class hudson.FilePath is missing
>>
>> `step` may only be called inside `node`.
>>
>
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-dev/e4c3ac9d-38cc-4f6e-8428-91bc54fa3313%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.