Re: Scripted pipeline - how to run groovy post build script

2017-08-29 Thread Shiran
Thank you both!

On Tuesday, August 29, 2017 at 5:06:36 PM UTC+3, Mark Waite wrote:
>
> I use the groovy post-build plugin very often in my pipeline-based 
> regression testing.  It works great in pipeline.
>
> You can read the details in my lts-with-plugins repository 
> , 
> including a "logContains" function 
> 
>  
> which uses manager.
>
> Mark Waite
>
> On Tue, Aug 29, 2017 at 4:00 AM Daniel Beck  > wrote:
>
>>
>> > On 29. Aug 2017, at 03:31, Shiran  
>> wrote:
>> >
>> > If not, than should I import any package for this? something?
>>
>> The plugin has supported Pipeline since 2.3 in 2015 (when it was still 
>> called "workflow"). The 'manager' variable exists there as well.
>>
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "Jenkins Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to jenkinsci-use...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/950EDB1F-A5BA-4469-9D38-19A841280E27%40beckweb.net
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/8757853a-4276-4a88-a367-7e6033f63a6a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Scripted pipeline - how to run groovy post build script

2017-08-29 Thread Mark Waite
I use the groovy post-build plugin very often in my pipeline-based
regression testing.  It works great in pipeline.

You can read the details in my lts-with-plugins repository
, including
a "logContains" function

which uses manager.

Mark Waite

On Tue, Aug 29, 2017 at 4:00 AM Daniel Beck  wrote:

>
> > On 29. Aug 2017, at 03:31, Shiran  wrote:
> >
> > If not, than should I import any package for this? something?
>
> The plugin has supported Pipeline since 2.3 in 2015 (when it was still
> called "workflow"). The 'manager' variable exists there as well.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/950EDB1F-A5BA-4469-9D38-19A841280E27%40beckweb.net
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtGxtk8FNO5JGj16Janabsbv%2BJBrXjRjta6XKcDxo7iEBQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Scripted pipeline - how to run groovy post build script

2017-08-29 Thread Daniel Beck

> On 29. Aug 2017, at 03:31, Shiran  wrote:
> 
> If not, than should I import any package for this? something?

The plugin has supported Pipeline since 2.3 in 2015 (when it was still called 
"workflow"). The 'manager' variable exists there as well.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/950EDB1F-A5BA-4469-9D38-19A841280E27%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.


Re: Scripted pipeline - how to run groovy post build script

2017-08-29 Thread Shiran
As far as I understand, 'manager' is available only in groovy 
postbuild plugin.
If not, than should I import any package for this? something?

On Tuesday, August 29, 2017 at 12:48:22 PM UTC+3, Daniel Beck wrote:
>
>
> > On 29. Aug 2017, at 01:20, Shiran  
> wrote: 
> > 
> > when this plugin is not supported? 
>
> Why would it not be? 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/44f86e04-1e29-4a00-8177-0e1fe2677a82%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Scripted pipeline - how to run groovy post build script

2017-08-29 Thread Daniel Beck

> On 29. Aug 2017, at 01:20, Shiran  wrote:
> 
> when this plugin is not supported?

Why would it not be?

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/6F766D97-A6D7-4E09-982E-5FF8FFAE3F92%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.


Re: Scripted pipeline - how to run groovy post build script

2017-08-29 Thread Shiran
And another question- I use "manager" object in groovy post build plugin, 
how can I use it in pipeline when this plugin is not supported?

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/7b1174ba-ed89-4148-90d5-5b6403279217%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Scripted pipeline - how to run groovy post build script

2017-08-28 Thread Shiran
Hi,

I created a pipeline job and I want to run a groovy script as a post build 
action.
It was easily done in a multijob project using the Groovy Postbuild Plugin, 
but in a pipeline job this option doesn't exist.

Please assist.
Thanks! :)

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/2416492e-9c7b-4663-862b-725dee0a23bf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.