slf4j & TaskListener.getLogger intercept

2017-12-15 Thread Shaun Thompson
I'm looking for ideas on a clean way to intercept logging in a Pipeline 
coming from the TaskListener.PrintStream getLogger() for other API's that 
are using slf4j.

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/a12d056c-77a9-4c53-ac1f-f4815b608988%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


FW: Jenkins init.groovy compilation

2017-12-15 Thread Jason Grammenos

Hello,

I am having an issue with multiple scripts in init.groovy.d, and the scripts 
failing compilation.
Situation:
There are 2 scripts

  1.  The first script installs a bunch of plugins.
  2.  Second script sets up authentication

The second script depends on plugins installed by script 1  (eg: import 
com.michelin.cio.hudson.plugins.rolestrategy.*)
Script 1, invokes a Jenkins restart when it is finished.

So Jenkins start its init, compiles and runs script 1, and then attempts to 
compile script 2,
but has not yet completed its restart and doesn't realise the plugins are 
installed so Script 2 fails compilation.
The restart completes and all the scripts are run again, this time successfully.

Is there any way to prevent this compilation failure?

Thank you
Regards
Jason

[Agility PR Solutions]
Jason Grammenos | Operations and Infrastructure Analyst
P: 613.232.7797 | Toll-free: 866.545.3745
Work hours: Monday-Friday, 8am-4:30pm ET
jason.gramme...@agilitypr.com
agilitypr.com (formerly MediaMiser)

-- 
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/YTOPR0101MB1003831F222090C48417072EE40B0%40YTOPR0101MB1003.CANPRD01.PROD.OUTLOOK.COM.
For more options, visit https://groups.google.com/d/optout.


Re: Tools update job on updates.jenkins.io seems to not be running (no updates since Dec 6th)

2017-12-15 Thread Greg Smith

Thank you Daniel.  

I will use a Infra jira issue next time.

Cheers,
Greg


-- 
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/0f74fcc9-9618-4db9-baba-d3452845cc98%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Tools update job on updates.jenkins.io seems to not be running (no updates since Dec 6th)

2017-12-15 Thread Daniel Beck

> On 15. Dec 2017, at 15:51, Greg Smith  wrote:
> 
> I'm not sure whom to contact about this problem, so ended up here. 

Infra mailing list or infra issue tracker would be the preferred methods for 
something like this.

That said, this is another symptom of 
https://issues.jenkins-ci.org/browse/INFRA-1428 but not one as easy to work 
around.

I'll poke KK again.

Daniel

-- 
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/A8375313-68F7-40D8-8A40-EEF008B9588C%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.