Re: withAWS step complains about not being able to support closures in the script console

2017-10-17 Thread Kevin Milner
> > > Ok, I think I've solved it. Well, I solved my core issue, which was that the > vars/publishToS3.groovy script was not being properly identified. I couldn't > figure out how to identify publishToS3. It could find neither publishToS3, > nor com.seven10.publishToS3. I think, because there wa

Re: withAWS step complains about not being able to support closures in the script console

2017-10-14 Thread Kevin Milner
Hi Richard, thanks for your response. publishToS3 is called in another custom step that is then called by the pipeline. The reason for the "publish" bit is I kept getting errors along the lines of "duplicate class load attempted" (see my post here

Re: withAWS step complains about not being able to support closures in the script console

2017-10-13 Thread Richard Bywater
What does your pipeline look like? Are you sure you aren't calling publish instead of publishToS3 (as the step name seems to be the only reference to "publish" in the snippet you provided. Richard On Sat, 14 Oct 2017, 4:45 AM Kevin Milner, wrote: > I'm having a TON of problems getting the pipel

withAWS step complains about not being able to support closures in the script console

2017-10-13 Thread Kevin Milner
I'm having a TON of problems getting the pipeline system setup and working. One issue in particular is troubling me. I have a shared library that has a custom step in vars/publishToS3.groovy. It looks like this: #!/usr/bin/env groovy package com.seven10; def call(hashmap){ def src_file = hashm