RE: Jenkins Content Security Policy and jQuery for HTML reports

2016-03-15 Thread Steffen Breitbach
Hi Brice,

try this 
https://wiki.jenkins-ci.org/display/JENKINS/Configuring+Content+Security+Policy

Cheers
  Steffen

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Brice Parmentier
Sent: Tuesday, March 15, 2016 9:14 AM
To: Jenkins Users
Subject: Jenkins Content Security Policy and jQuery for HTML reports

Hi,
I'm using Jenkins to launch a build and test sequence.
For my tests I use the FitNesse tool (at http://www.fitnesse.org), which can 
generate HTML reports.

Those HTML reports have links to local scripts like the jQuery library (it does 
not go online to load the library, it is embedded on the tool).
Since recent version of Jenkins I noticed that I had to set the value of 
"hudson.model.DirectoryBrowserSupport.CSP" to something containing "script-src 
'unsafe-inline';".
But this, in my case, only allow embedded scripts to execute, it does not allow 
to load external Javascript files like this jQuery library for example. So that 
all buttons actions, hide/show divs actions, does not work at all. Si if I want 
to see my HTML reports, I can't do it from the Jenkins web interface, I have to 
download my artifacts locally and open the HTML page on my pc.
I tried lots of combinations for the CSP parameter, but nothing works.
As an example, the screenshot attached shows the console output when I open the 
HTML report from the web interface.
Does anybody have an explanation of this behaviour, and eventually a fix ?
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/13027f3e-3cb1-4f86-b5b3-be2526ec3d84%40googlegroups.com.
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/4ba0538797f047faaf8d1e492e45b93b%40KAPPEX001-MBX.webde.local.
For more options, visit https://groups.google.com/d/optout.


Re: How to secure Maven passwords?

2015-12-28 Thread Steffen Breitbach

Hi Stephen,

I'm not exactly sure what you mean.

Are you saying that users should not be allowed to configure jobs so 
they can't, for example, add "help:effective-settings 
-DshowPasswords=true" to a job?


Cheers
  Steffen

On 23.12.2015 13:24, Stephen Connolly wrote:

The best you can do is restrict the credentials in visibility.

Have separate jobs using the credentials from others...

Lock permission to configure the jobs using credentials

Etc

I have some other thoughts which I may work on for making maven easier
with the literate job type.



On Wednesday 23 December 2015, Steffen Breitbach
mailto:steffen.breitb...@1und1.de>> wrote:

Hi everyone!

I've been agonising about this for quite some time now. However, I
have yet to find a solution for this.

Is there a way to prevent malicious users from obtaining server
passwords from your Maven settings?

If you use the Config File Provider plug in with the Credentials
plug in, you can add "help:effective-settings -DshowPasswords=true"
and you will see the passwords in clear text.
Even if you use Maven's security mechanism to encrypt passwords via
the settings-security.xml, you could e.g. add a build step that
executes "cat ~/.m2/settings-security.xml" (or hide something
similar in your build process). This way you'll have the crypted
password and the settings-security.xml and could still deploy
unauthorized software to your artifact repository.

Is there any way to prevent this?

Regards
   Steffen

--
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/567A72F4.9060303%401und1.de.
For more options, visit https://groups.google.com/d/optout.



--
Sent from my phone

--
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
<mailto:jenkinsci-users+unsubscr...@googlegroups.com>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/CA%2BnPnMxrF%2BqxESGWTz3O8%3DtUd%2BCxQG4yS78vfxpRfUhYGayYaw%40mail.gmail.com
<https://groups.google.com/d/msgid/jenkinsci-users/CA%2BnPnMxrF%2BqxESGWTz3O8%3DtUd%2BCxQG4yS78vfxpRfUhYGayYaw%40mail.gmail.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.


--
Steffen Breitbach

Operations Architect
Continuous Integration & Delivery BS

1&1 Internet SE | Bahnallee | 56410 Montabaur | Germany
Phone: +49 2602 96-1282
E-Mail: steffen.breitb...@1und1.de | Web: www.1und1.de

Hauptsitz Montabaur, Amtsgericht Montabaur, HRB 24498

Vorstand: Christian Bigatà Joseph, Robert Hoffmann, Hans-Henning 
Kettler, Uwe Lamnek

Aufsichtsratsvorsitzender: Michael Scheeren


Member of United Internet

--
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/56823991.5070202%401und1.de.
For more options, visit https://groups.google.com/d/optout.


How to secure Maven passwords?

2015-12-23 Thread Steffen Breitbach

Hi everyone!

I've been agonising about this for quite some time now. However, I have 
yet to find a solution for this.


Is there a way to prevent malicious users from obtaining server 
passwords from your Maven settings?


If you use the Config File Provider plug in with the Credentials plug 
in, you can add "help:effective-settings -DshowPasswords=true" and you 
will see the passwords in clear text.
Even if you use Maven's security mechanism to encrypt passwords via the 
settings-security.xml, you could e.g. add a build step that executes 
"cat ~/.m2/settings-security.xml" (or hide something similar in your 
build process). This way you'll have the crypted password and the 
settings-security.xml and could still deploy unauthorized software to 
your artifact repository.


Is there any way to prevent this?

Regards
  Steffen

--
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/567A72F4.9060303%401und1.de.
For more options, visit https://groups.google.com/d/optout.


Sooo... what's with the survey?

2015-11-24 Thread Steffen Breitbach

Hi everyone!

Remember that survey that ran from Sep. 1st to 30th? Haven't heard 
anything from it ever since? I'm really excited about that and I'd love 
to see the results.


Any hint about when the results will be published? Maybe a little teaser 
(like "so and so many people took the survey")? ;)


Cheers
  Steffen

--
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/56545C92.204%401und1.de.
For more options, visit https://groups.google.com/d/optout.


Re: Measures: display key as column

2015-11-17 Thread Steffen Breitbach

Aaaand that was the wrong list I posted to :)

Sorry, just ignore this :(

On 17.11.2015 14:29, Steffen Breitbach wrote:

Hi everyone!

We just switched from SonarQube 3.7.4 to 5.2. One thing that we are
missing in 5.2 is the "Key" column in the measures. Is there a way to
add this column again?

Thanks in advance

Steffen



--
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/564B3002.1010707%401und1.de.
For more options, visit https://groups.google.com/d/optout.


Measures: display key as column

2015-11-17 Thread Steffen Breitbach

Hi everyone!

We just switched from SonarQube 3.7.4 to 5.2. One thing that we are 
missing in 5.2 is the "Key" column in the measures. Is there a way to 
add this column again?


Thanks in advance

Steffen

--
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/564B2BC8.1050009%401und1.de.
For more options, visit https://groups.google.com/d/optout.


Filter Plugin updates / Sign update information

2015-09-14 Thread steffen . breitbach
Hi everyone!

I want to filter "malicious" plugin updates from the update center so no 
one can install them accidentially.
Just stripping the update information from the JSON doesn't work because 
the output is signed.

Is there another way to filter updates?
If not, is there a documentation about how to sign the output so Jenkins 
would accept it?

Thanks in advance

Steffen

-- 
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/0b90218c-c4b7-49ae-8a9b-c509ab150211%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


1.596.1 LTS and error about pinned Matrix Project Plugin

2015-03-09 Thread Steffen Breitbach
Hi everyone,

having upgraded from 1.580.3 to 1.596.1 just now I get an error about
not having the right Matrix Project Plugin (on top of the "Manage
Jenkins" page).

I guess this is because of the faulty release 1.4.1 of the Matrix
Project Plugin and should not concern me, correct?

Just wanted to be sure...

Cheers
  Steffen

-- 
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/1425915147.2653.14.camel%401und1.de.
For more options, visit https://groups.google.com/d/optout.


AW: "Some error ! Simple ping failed"

2014-12-22 Thread Steffen Breitbach
Maybe not getting an answer means no one does have an answer?

People do read this group and usually respond if they can help. Begging for 
help won’t help in getting an answer faster… or at all.

Please do stop doing that.

Thanks

Von: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] 
Im Auftrag von David Aldrich
Gesendet: Montag, 22. Dezember 2014 09:43
An: jenkinsci-users@googlegroups.com
Betreff: RE: "Some error ! Simple ping failed"

Hi

Can anyone help with this please?

BR

David

---

Hi

Our Jenkins instance is logging a lot messages of type:

Dec 18, 2014 4:13:40 PM SEVERE org.jinterop.dcom.core.PingObject read
Some error ! Simple ping failed , hresult: 1912

All slaves are online so I don’t know what ping is failing.

Any suggestions for how to investigate this please?

Best regards

David



Click 
here
 to report this email as spam.
--
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/41302A7145AC054FA7A96CFD03835A0A0B90B655%40EX10MBX02.EU.NEC.COM.
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/41302A7145AC054FA7A96CFD03835A0A0B90CC7A%40EX10MBX02.EU.NEC.COM.
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/F79EF6244D6219468DDE47184FB59FCB25FB67F6%40exbea03.webde.local.
For more options, visit https://groups.google.com/d/optout.


"Highlight Executors Plugin"

2014-12-02 Thread Steffen Breitbach
Hi everyone!

Is there a way to highlight executors depending on their configuration?

What I'm looking for is a way to highlight executors that are running release 
jobs, e.g. by printing them bold or in another color in the build executors 
list.

What I'm trying to achieve is to look at the build executors list and see which 
of the running jobs are a release job and which ain't.

We're using both Maven and Artifactory to release, so it would have to cover 
both of them.

Regards
  Steffen

-- 
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/F79EF6244D6219468DDE47184FB59FCB25FAF836%40exbea03.webde.local.
For more options, visit https://groups.google.com/d/optout.


AW: Jenkins in Winstone vs. Tomcat = poor performance?

2014-05-23 Thread Steffen Breitbach
>  (Jetty since some months now, actually)?

Hm, well. We’re still running 1.532.2 LTS, maybe I should update to 1.554.1 LTS 
soon.

-- 
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.
For more options, visit https://groups.google.com/d/optout.


AW: Jenkins in Winstone vs. Tomcat = poor performance?

2014-05-23 Thread Steffen Breitbach
> What makes you think it might be a cacheing issue?

Well, caching just a few (hundred) kilobytes in Winstone instead of quite a few 
megabytes in Jenkins as well as vastly degraded page load performance sounds 
like Winstone doesn’t do as much caching as Tomcat did.

Regards
  Steffen

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Jenkins in Winstone vs. Tomcat = poor performance?

2014-05-22 Thread Steffen Breitbach
Hi everyone!

I just moved our Jenkins to new hardware. Doing this, I also switched to 
"standalone" Jenkins rather than running from inside a Tomcat container.

I guess our installation is quite large, ~1200 jobs, ~10k builds, ~60 views...

It seems that Winstone does very little caching (compared to Tomcat), so page 
display performance, especially of views containing many jobs, is quite poor.

Anyone can confirm this? Should I go back to Tomcat for performance reasons?!

Or is there a way to improve caching?

Thanks in advance

Regards
  Steffen

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Editable shutdown message

2013-12-13 Thread Steffen Breitbach
Hi everyone!

Our Jenkins installation is quite large and so we have many users (I don't know 
the exact number, but it should be 200-something).

Every time I set the shutdown flag there are users that misinterpret this and 
think that Jenkins actually is in the process of shutting down (and not just 
not running jobs any more).

Would be nice if you could edit the shutdown message in order to tell people 
what's actually happening.

I browsed the issue tracker and found that there are a few similar requests 
already. I've closed the duplicates and voted in 
https://issues.jenkins-ci.org/browse/JENKINS-1877

Feel free to vote too ;-)



Regards
  Steffen

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


AW: Jenkins backup problem

2013-11-29 Thread Steffen Breitbach
We don't rely on plugins to backup our Jenkins but rather use our own scripts 
that run directly OS/file system level. Maybe you should do that too?

-Ursprüngliche Nachricht-
Von: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] 
Im Auftrag von David Aldrich
Gesendet: Freitag, 29. November 2013 10:05
An: jenkinsci-users@googlegroups.com
Betreff: Jenkins backup problem

Hi

 

We run Jenkins 1.509.4 LTS on Centos 5.9.  We have used the Hudson backup 
plugin for several years without problem, but the backups recently started to 
fail with this type of error:

 

[ INFO] Backup started at [11/29/13 08:33:00]

[ INFO] Setting hudson in shutdown mode to avoid files corruptions.

[ INFO] Waiting all jobs end...

[ INFO] Number of running jobs detected : 0

[ INFO] All jobs finished.

[ INFO] Full backup file name : /Hudson_backup/backup_20131129_0833.zip

[ERROR] org.codehaus.plexus.archiver.ArchiverException: Failed to read 
filesystem attributes for: 
/var/lib/jenkins/config-history/jobs/myjob/2013-11-27_08-09-33/config.xml

org.jvnet.hudson.plugins.backup.BackupException: java.io.IOException: Unable to 
add config-history/jobs/myjob/2013-11-27_08-09-33/config.xml

at 
org.jvnet.hudson.plugins.backup.utils.BackupEngine.doBackup(BackupEngine.java:115)

at 
org.jvnet.hudson.plugins.backup.utils.BackupTask.run(BackupTask.java:130)

at java.lang.Thread.run(Unknown Source)

Caused by: java.io.IOException: Unable to add 
config-history/jobs/myjob/2013-11-27_08-09-33/config.xml

at 
org.jvnet.hudson.plugins.backup.utils.BackupEngine.handleFile(BackupEngine.java:90)

at org.apache.commons.io.DirectoryWalker.walk(DirectoryWalker.java:367)

at org.apache.commons.io.DirectoryWalker.walk(DirectoryWalker.java:364)

 

The error recurs for random files.  This seems to be problem 
https://issues.jenkins-ci.org/browse/JENKINS-5968, which is unresolved and 
appears to be stuck.

 

We need a reliable backup strategy.  Any suggestions what we should do please?

 

Best regards

 

David

 

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


AW: Use different backend (plug in) for authentication and authorization?

2013-11-21 Thread Steffen Breitbach
Don't worry, I wasn't going to run around begging for money ;-)

I just have heard "...or you could use the enterprise version" one too many 
times, so I think I'll give it a closer look (for real this time).

-Ursprüngliche Nachricht-
Von: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] 
Im Auftrag von Stephen Connolly
Gesendet: Donnerstag, 21. November 2013 16:31
An: jenkinsci-users@googlegroups.com
Betreff: Re: Use different backend (plug in) for authentication and 
authorization?

Try a 30 day evaluation license first... I am worried that you might be 
confused about how the RBAC's local groups work... you are still going to be 
limited by what the Security Realm you choose can provide... but one of the 
reasons for RBAC was to allow Jenkins to manage its own internal group 
details...

e.g. before I started at cloudbees, the problem I had when running Jenkins is 
we needed to authenticate against corporate AD but we didn't want to deal with 
the heavyweight corp IT process to create and maintain groups in AD, so being 
able to have local groups was a critical requirement in any RBAC authorization 
strategy, hence I baked it in as an *Additional* layer


On 21 November 2013 14:34, Steffen Breitbach  wrote:


I think I might have to convince middle management to buy a license ;-)

-Ursprüngliche Nachricht-
Von: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] Im Auftrag von Stephen Connolly
Gesendet: Donnerstag, 21. November 2013 11:56
An: jenkinsci-users@googlegroups.com
Betreff: Re: Use different backend (plug in) for authentication and 
authorization?


you could certainly write such a Security Realm implementation... but 
be warned that Security Realm implementations are probably among the more 
complex to write (i.e. it can be easy to fuck them up)

The user and group information is all provided by the single Security 
Ream component, so they both have to come from a single plugin.

An alternative is the commercial CloudBees Enterprise RBAC plugin which 
lets you define and manage groups *within* jenkins... that gives you an 
additional layer for group information (i.e. your CAS Security realm would not 
be providing RBAC with "external" group information and it will not - in and of 
itself - go and ask your LDAP server about groups... if you configured the LDAP 
security realm, however, then the RBAC plugin would get the LDAP group info... 
but you wouldn't have the CAS authentication then ;-) )
    
    
    On 21 November 2013 10:18, Steffen Breitbach 
 wrote:


Hi everyone!

In our company one can use CAS as an authentication service for 
single sign on purposes. Unfortunately, however, that is all it does. The 
response contains information about the user (like email address) but not about 
the roles he is in. This has to be done e.g. trough LDAP.

Is there a way to use two different plug ins for authentication 
and authorization in Jenkins?

Regards
  Steffen

--
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 
<mailto:jenkinsci-users%2bunsubscr...@googlegroups.com>  
<mailto:jenkinsci-users%2bunsubscr...@googlegroups.com 
<mailto:jenkinsci-users%252bunsubscr...@googlegroups.com> > .

For more options, visit 
https://groups.google.com/groups/opt_out.



--
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 
<mailto:jenkinsci-users%2bunsubscr...@googlegroups.com> .
For more options, visit https://groups.google.com/groups/opt_out.

--
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 
<mailto:jenkinsci-users%2bunsubscr...@googlegroups.com> .
For more options, visit https://groups.google.com/groups/opt_out.



-- 
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.
For more options, visit 

AW: Use different backend (plug in) for authentication and authorization?

2013-11-21 Thread Steffen Breitbach
I think I might have to convince middle management to buy a license ;-)

-Ursprüngliche Nachricht-
Von: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] 
Im Auftrag von Stephen Connolly
Gesendet: Donnerstag, 21. November 2013 11:56
An: jenkinsci-users@googlegroups.com
Betreff: Re: Use different backend (plug in) for authentication and 
authorization?

you could certainly write such a Security Realm implementation... but be warned 
that Security Realm implementations are probably among the more complex to 
write (i.e. it can be easy to fuck them up)

The user and group information is all provided by the single Security Ream 
component, so they both have to come from a single plugin.

An alternative is the commercial CloudBees Enterprise RBAC plugin which lets 
you define and manage groups *within* jenkins... that gives you an additional 
layer for group information (i.e. your CAS Security realm would not be 
providing RBAC with "external" group information and it will not - in and of 
itself - go and ask your LDAP server about groups... if you configured the LDAP 
security realm, however, then the RBAC plugin would get the LDAP group info... 
but you wouldn't have the CAS authentication then ;-) ) 


On 21 November 2013 10:18, Steffen Breitbach  wrote:


Hi everyone!

In our company one can use CAS as an authentication service for single 
sign on purposes. Unfortunately, however, that is all it does. The response 
contains information about the user (like email address) but not about the 
roles he is in. This has to be done e.g. trough LDAP.

Is there a way to use two different plug ins for authentication and 
authorization in Jenkins?

Regards
  Steffen

--
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 
<mailto:jenkinsci-users%2bunsubscr...@googlegroups.com> .
For more options, visit https://groups.google.com/groups/opt_out.



-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Use different backend (plug in) for authentication and authorization?

2013-11-21 Thread Steffen Breitbach
Hi everyone!

In our company one can use CAS as an authentication service for single sign on 
purposes. Unfortunately, however, that is all it does. The response contains 
information about the user (like email address) but not about the roles he is 
in. This has to be done e.g. trough LDAP.

Is there a way to use two different plug ins for authentication and 
authorization in Jenkins?

Regards
  Steffen

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: List Jobs by plugins used?

2013-10-09 Thread Steffen Breitbach
Looks nice, I'll give it a shot. Thanks!

On Wed, 2013-10-09 at 21:44 +0200, Daniel Beck wrote: 
> The following 'Groovy system' (requires Groovy plugin) build step script 
> works for Project subclasses, i.e. freestyle projects. This works well enough 
> for me, you might need to adapt for other project types (like Maven).
> 
> It prints lists of projects by publisher/build wrapper/builder/trigger, and 
> provides both the builder/... name and the name of the plugin it came in. It 
> assumes Jenkins context is at / (i.e. http://host/ , not http://host/jenkins/ 
> ) for links to jobs. Sorted ascending by number of jobs.
> 
> 
> 
> def projects = 
> jenkins.model.Jenkins.instance.getAllItems(hudson.model.Project.class)
> 
> def projectsByDescriptor = [:]
> 
> for (def p in projects) {
>   def items = new ArrayList(p.publishers.values())
>   items.addAll(p.builders)
>   items.addAll(p.properties.values()) // haven't actually tried this line in 
> an instance that has job properties
>   items.addAll(p.triggers.values())
>   items.addAll(p.buildWrappers.values())
>   items.add(p)
>   for (def item in items) {
> def desc = item.descriptor
> if (!projectsByDescriptor.containsKey(desc))
>   projectsByDescriptor.put(desc, [])
> if (!projectsByDescriptor[desc].contains(p))
>   projectsByDescriptor[desc].add(p)
>   }
> }
> 
> def s = ''<<''
> for (def desc in projectsByDescriptor.keySet().sort { 
> projectsByDescriptor.get(it).size() }) {
>   s << '' + desc.displayName + '\n' + 
> (desc.plugin?.displayName?:'Core') + ''
>   for (def proj in projectsByDescriptor.get(desc)) {
> s << "${proj.fullDisplayName}\n"
>   }
>   s << '\n'
> }
> 
> def ws = Thread.currentThread()?.executable.workspace
> ws.child('report').mkdirs()
> ws.child('report/usage.html').write(s.toString(), 'UTF-8')
> 
> 
> 
> This can be made available using the HTML Publisher plugin, folder is 
> 'report', index page 'usage.html'.
> 
> WTFPL license if it matters.
> 
> On 07.10.2013, at 10:54, Steffen Breitbach  wrote:
> 
> > Hi everyone!
> > 
> > Is there a way to list all jobs that use a certain plugin?
> > 
> > Scraping the config.xmls would be OK as a last resort.
> > 
> > Thans in advance
> > 
> > Steffen
> > 
> > -- 
> > 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.
> > For more options, visit https://groups.google.com/groups/opt_out.
> > 
> 

-- 
lies http://www.tty1.net/smart-questions_de.html
read http://c2.com/cgi/wiki?HowToAskQuestionsTheSmartWay

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


List Jobs by plugins used?

2013-10-07 Thread Steffen Breitbach
Hi everyone!

Is there a way to list all jobs that use a certain plugin?

Scraping the config.xmls would be OK as a last resort.

Thans in advance

Steffen

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: View job rights for anonymous users

2013-09-17 Thread Steffen Breitbach
Do anonymous users have overall read permission?

On Tue, 2013-09-17 at 15:10 +0800, Gocol Dev wrote: 
> Hi all,
> 
>  I am trying to set up jenkins such a way that all anonymous users
> have view rights of the jobs.
> 
>  I am choosing matrix based security to do this. And,security realm is
> set to "Jenkins own database" and allow users to sign up.
> 
> 
>  And I have an anonymous user with just Job - Discover, Read and View
> - Read access.
> 
> 
>  But I see that Jenkins always asks for a login even if I try to
> access the job via URL in a browser. 
> 
> 
>  How do I make this work? Thanks in advance.
> 
> Cheers,
> 
> G
> 

-- 
lies http://www.tty1.net/smart-questions_de.html
read http://c2.com/cgi/wiki?HowToAskQuestionsTheSmartWay

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Version upgrade

2013-09-16 Thread Steffen Breitbach
Hi Suri,

from what you describe I (can only) guess that your issue is with a plug
in. Have you updated plug ins after updating to 1.509.2 LTS?

You might try to disable the plugins manually and then re-enable then
one by one.

Regards
  Steffen

On Mon, 2013-09-16 at 23:34 -0700, Suri wrote: 
> Dear all,
> 
>  
> 
> I need your advice. Recently i have upgraded my Jenkins version 1.466
> to 1.509.2 LTS version. I have noticed that there is new security
> Re-key feature is added in latest LTS version.
> 
> I have seen 3 options in manage Jenkins page for continue new security
> re-key feature, i have selected “dismiss the message” option and
> re-started Jenkins.
> 
>  
> 
> I could able to access Jenkins without any issues. As per my business
> team requirement, i have  replaced Jenkins war from 1.509.2 to 1.466
> my existing version.
> 
> After that, i am not able to see Jenkins index page in console. I am
> getting below error. 
> 
>  
> 
> Status Code: 500
> 
> Exception: org.apache.commons.jelly.JellyTagException:
> jar:file:/var/lib/jenkins/war/WEB-INF/lib/jenkins-core-1.509.2.jar!/hudson/model/View/index.jelly:44:43:
>   org.apache.commons.jelly.JellyTagException: 
> jar:file:/var/lib/jenkins/war/WEB-INF/lib/jenkins-core-1.509.2.jar!/lib/hudson/projectView.jelly:64:22:
>   java.lang.NullPointerException
> Stacktrace: 
> 
> javax.servlet.ServletException:
> org.apache.commons.jelly.JellyTagException:
> jar:file:/var/lib/jenkins/war/WEB-INF/lib/jenkins-core-1.509.2.jar!/hudson/model/View/index.jelly:44:43:
>   org.apache.commons.jelly.JellyTagException: 
> jar:file:/var/lib/jenkins/war/WEB-INF/lib/jenkins-core-1.509.2.jar!/lib/hudson/projectView.jelly:64:22:
>   java.lang.NullPointerException
> 
> at
> org.kohsuke.stapler.jelly.JellyClassTearOff.serveIndexJelly(JellyClassTearOff.java:117)
> 
>  
> 
> Please can anyone help me to resolve this error.  
> 
>  
> 
>  
> 
> 

-- 
lies http://www.tty1.net/smart-questions_de.html
read http://c2.com/cgi/wiki?HowToAskQuestionsTheSmartWay

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Checking xCode plugin return code

2013-09-12 Thread Steffen Breitbach
Why don't you just use the "Buold other projects" post build step and
select "Trigger only if build succeeds"?

On Thu, 2013-09-12 at 11:54 -0700, reinhard.kar...@gmail.com wrote: 
> When I am running a shell script in Jenkins I can check the return
> code at the end by looking at $?
> Now I have a situation where I have two xCode builds and the second
> one should only run when the first one fails but with different source
> data 
> I can do a conditional build step but have to define the condition
> first
> Is it possible to run a shell script after the xCode plugin step to
> check the return code set in $? or is there any other / better way to
> determine the return code (fail or not fail) of the xCode plugin step?
> 

-- 
lies http://www.tty1.net/smart-questions_de.html
read http://c2.com/cgi/wiki?HowToAskQuestionsTheSmartWay

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: xCode instruments support

2013-09-10 Thread Steffen Breitbach
Hi Reinhard!

On Tue, 2013-09-10 at 15:48 -0700, reinhard.kar...@gmail.com wrote: 
> Is there a plan to support xCode instruments runs or a plugin that
> understands the output of xCode instruments (automation tests and
> performance tests)?

This won't ever be Jenkins core functionality and always be something
that will be provided by plugins. Unfortunately the XCode plugin is kind
of starving because the maintainer doesn't have proper time to work on
it any more (see https://wiki.jenkins-ci.org/display/JENKINS/Xcode
+Plugin)

All I have achieved so far was static code analysis with PMD trough
OClint.

Maybe that's a place to start?

Regards
  Steffen

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Limit project size?

2013-09-09 Thread Steffen Breitbach
Hi Stephen,

this sounds very promising, let's hope I get the time to build a plug in
or so ;)

Regards
  Steffen

On Mon, 2013-09-09 at 10:59 +0100, Stephen Connolly wrote: 
> There are the extension points that would allow you to write a plugin
> to do just that.
> 
> 
> Easiest way to start would be to depend on the disk usage plugin and
> then implement a QueueTaskDispatcher. If you want a per-project limit
> you would also want to implement a JobProperty to hold the per-project
> limit.
> 
> 
> The QueueTaskDispatcher just needs to for a
> https://github.com/jenkinsci/disk-usage-plugin/blob/master/src/main/java/hudson/plugins/disk_usage/ProjectDiskUsageAction.java
>  in the project and return a Cause of blockage when greater than the global 
> limit or a per-project limit if the project has a per-project limit job 
> property.
> 
> 
> It would make a nice plugin to try if you wanted to try your hand at
> writing plugins



-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Limit project size?

2013-09-09 Thread Steffen Breitbach
Hi everyone!

Is there a way to limit the size a project (or all projects) may use on
the file system?

Let's say I could limit the disk space (for all builds) to 2 GB. If the
project has reached its limit it won't build any more until an older
build has been deleted (or something like that).

Thanks in advance

Regards
  Steffen

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: polling for changes; where are credentials stored

2013-08-27 Thread Steffen Breitbach
Hi Michael!

On Wed, 2013-08-28 at 06:40 +0200, Michael Hüttermann wrote: 
>  Where on the file system are the 
>  credentials stored, which are used to connect to Subversion to poll for 
>  existence of changes?

Look for the hudson.scm.*SCM.xml files. For SVN it is stored in
hudson.scm.SubversionSCM.xml, for CVS in hudson.scm.CVSSCM.xml
respectively. I guess that it might be the very same for Git and so on.

Regards
  Steffen

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Jenkins AIX version

2013-08-22 Thread Steffen Breitbach
Hi Suri!

On Thu, 2013-08-22 at 01:24 -0700, Suri wrote: 
> Can anyone please suggest me, whether Jenkins installation is possible
> in AIX server or not.

As there is Java for AIX this shouldn't be a problem. You don't _have_
to use native packages.

Regards
  Steffen 

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


AW: Prevent job from when a particular job is running

2013-08-19 Thread Steffen Breitbach
Hi Jared!

> Is there a way to prevent job b from running if job a is running?

Beside the other solution you might want to give the "Throttle Concurrent 
Builds" plugin a look.

Regards
  Steffen

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


AW: understanding "Discard Old Builds"

2013-08-15 Thread Steffen Breitbach
Every threshold that matches. It's an "or" condition.

Example: 10 builds and 14 days. If you have 10 builds and the _youngest_ was 
older than 14 days you will end up with 1 build after running it.

-Ursprüngliche Nachricht-
Von: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] 
Im Auftrag von Andy
Gesendet: Donnerstag, 15. August 2013 16:17
An: jenkinsci-users@googlegroups.com
Betreff: Re: understanding "Discard Old Builds"

Not to hijack this thread, but in case that the 2 thresholds set, which one 
would take effect?



On Thu, Aug 15, 2013 at 9:08 AM, Richard Bywater  wrote:


Should be purged following a run of the job. So if the settings have 
been put in but no run has been done yet then that would be an issue.

Richard.


On Thu, Aug 15, 2013 at 10:47 AM, Tom Luong  wrote:


I inherited a Jenkins instance recently.  I noticed some old 
builds are not getting discarded.

For example, I have one job with the following settings:
Discard Old Builds
Days to keep builds: 14
Max # of builds to keep: 10

The build history has 135 builds and goes all the way back to 
July 25, 2013.  That's 21 days ago.  

Can someone please explain when the old builds get purge?








-- 
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 
 .
For more options, visit 
https://groups.google.com/groups/opt_out.





-- 
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 
 .
For more options, visit https://groups.google.com/groups/opt_out.





-- 
Andy 

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: "Failed to send out e-mail" from VM Jenkins machien

2013-08-14 Thread Steffen Breitbach
On Wed, 2013-08-14 at 06:19 -0700, Avihay Eyal wrote: 
> javax.mail.SendFailedException: Invalid Addresses;
> ...
> 
> Domain of sender address nobody@nowhere does not exist.

In your setup, you have to add a valid(!) address in "System Admin
e-mail address" under "Jenkins Location".

Regards
  Steffen

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




Re: jenkins very slowly at finish any jobs

2013-08-13 Thread Steffen Breitbach
Hi Luis!

On Mon, 2013-08-12 at 16:55 -0400, Luis Lopez wrote: 
> i have jenkins 1.526. When a job ends takes forever to cominece another job.
> Can anyone help me?

This might be related to fingerprinting. Are you running maven jobs?

You might try to put the fingerprints in a ramdisk just for testing
purposes.

Regards
  Steffen

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Why is my Jenkins logging in german?

2013-08-13 Thread Steffen Breitbach
Hi Daniel!

On Mon, 2013-08-12 at 19:55 +0200, Daniel Beck wrote: 
> Is there anything language-related in /systemInfo or 
> /computer/slavename/systemInfo, e.g. in environment variables?

Apparently in a startup configuration there was "-Duser.language=de".
I've set it to "-Duser.language=en" which seems to do the trick.

Thank you and Eduardo for pointing this out. However, I'm still a bit
puzzled why this affected slave event logging only?!

Regards
  Steffen

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Why is my Jenkins logging in german?

2013-08-12 Thread Steffen Breitbach
And how do I stop it?

Hi everyone!

Jenkins os logging in german, mostly events related to slaves. Here are
some examples:

SEVERE: Kann keinen Slave-Agenten starten für bsjenkinsslave02
WARNING: Node monitoring bsjenkinsslave01 for Antwortzeit aborted.
Exception in thread "Monitoring bsjenkinsslave01 for Freier TEMP-Platz"
Exception in thread "Monitoring bsjenkinsslave01 for Freier
Plattenplatz" java.lang.reflect.UndeclaredThrowableException

Why is it logging in german and how do I change it to english?

Most users use the frontend with a browser that is set to a german
locale, but that shouldn't affect the logging, should it?

Regards
  Steffen

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Jenkins with Tomcat7 very slow

2013-08-01 Thread Steffen Breitbach
Hi Eduardo!

On Thu, 2013-08-01 at 13:39 -0300, Eduardo Dias wrote:
> I am experiencing a very poor performance.

What does "poor performance" mean?

Regards
  Steffen

-- 
lies http://www.tty1.net/smart-questions_de.html
read http://c2.com/cgi/wiki?HowToAskQuestionsTheSmartWay

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




Re: build only if other job succeeded?

2013-08-01 Thread Steffen Breitbach
Hi Tânia!

On Thu, 2013-08-01 at 09:10 -0700, Tânia Magalhães wrote:
> B doesn't need to run right after A ends.

If it doesn't _need_ that still implies that it _can_, so why not
running as a downstream job?

Regards
  Steffen

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




Re: NodeLabel Parameter Plugin

2013-08-01 Thread Steffen Breitbach
> Just add a label on the slaves that you want to run your job on and
> then
> add the label to your job configuration under "Restrict where this
> project can be run". 

This is, by the way, achieved without any plugins.

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




Re: NodeLabel Parameter Plugin

2013-08-01 Thread Steffen Breitbach
Hi Tânia!

On Thu, 2013-08-01 at 07:09 -0700, Tânia Magalhães wrote:
> Does anyone knows how to this with this plugin or in other way?

Just add a label on the slaves that you want to run your job on and then
add the label to your job configuration under "Restrict where this
project can be run".

Regards
  Steffen

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Job success or failure message

2013-08-01 Thread Steffen Breitbach
> You could use a script that will do that for you and let Jenkins run the
> script only.

I just tried it: individual build steps (e.g. n times "Execute shell")
will do exactly the same by the way.

Regards
  Steffen

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Job success or failure message

2013-08-01 Thread Steffen Breitbach
Hi Tânia!

On Thu, 2013-08-01 at 04:31 -0700, Tânia Magalhães wrote:
> Is there way to configure the job so it will stop if any of the steps
> fail?

You could use a script that will do that for you and let Jenkins run the
script only.

> How can I configure it so this job test won't run if JOB_A fails? 

Use a post build action "Build other projects" with "Trigger only if
build succeeds". This is Jenkins core functionality.

Regards
  Steffen

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Jenkins cli copy command not working

2013-07-30 Thread Steffen Breitbach
Hi suresh!

On Mon, 2013-07-29 at 23:43 -0700, suresh wrote: 
> Below command i tried but did not work 
> 
> >java -jar c:\jenkins.jar -s http://localhost:8181/jenkins copy-job project1
> project2 --username suresh --password suresh 

It is "jenkins-cli.jar", not "jenkins.jar".

Regards
  Steffen

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Alter/Remove "All" view in "My Views"

2013-07-29 Thread Steffen Breitbach
Hi Daniel!

On Fri, 2013-07-26 at 22:04 +0200, Daniel Beck wrote:

> I just set up a 1.509.2 test instance from scratch. My 'reader' user 
> (permisisons Overall/Read, Job/Read when using Matrix-based security) can 
> create new views for himself and has access to configuring himself (including 
> the default 'My View') at /user/username/configure. Are you sure they're not 
> clicking on 'My Views' instead of their user name?

We're using our own authentication backend and plug in. I just switched
back to the original LDAP plug in and it immediately worked again. Seems
there is a bug in our plug in that we have to fix...

> It's similar to the global 'All' view: Configure a different one as default 
> to be able delete it afterwards. To rename, delete 'All' and then add it 
> again. Apart from that, 'All' has no configuration. 

It now works for me, too. I have no idea why it wouldn't work for me
before.

Thanks for your trouble!

Regards
  Steffen

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Alter/Remove "All" view in "My Views"

2013-07-26 Thread Steffen Breitbach
Hi Fred!

On Fri, 2013-07-26 at 04:33 -0700, Fred G wrote:
> The user's default view can be changed under "People" > "your
> username/userid" > "Configure".
> I updated the wiki page with instructions.

The strange thing is that people seem to be able to access "Configure"
only when being an Admin user. "Normal" users aren't allowed to do so
(we're running 1.509.2 LTS).

Apart from that this enables you only to choose the default view but not
to change or even delete the "All" view.

Regards
  Steffen



-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




Alter/Remove "All" view in "My Views"

2013-07-26 Thread Steffen Breitbach
Hi everyone!

Does someone know a way to remove or alter the "All" view in "My Views"?
There is a way to do so for the global "All" view
(https://wiki.jenkins-ci.org/display/JENKINS/Editing+or+Replacing+the
+All+View) but I can't find a way to do so for the users "All" view.

Even if I can't change the "All" view, enabling an other view as default
would be nice, too.

Regards
  Steffen

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Critical problem with my Jenkins server

2013-07-25 Thread Steffen Breitbach
On Thu, 2013-07-25 at 04:14 -0700, Mark Waite wrote: 
> If you're using Git for SCM, then you can reduce the polling
> significantly using a post-receive hook in your git repositories.

The same is true for SVN, of course. 

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [1.509.2 LTS] Job changing oprations take ages to finish

2013-07-23 Thread Steffen Breitbach
Hi Daniel!

On Tue, 2013-07-23 at 20:01 +0200, Daniel Beck wrote: 
> - Limit history to fewer entries than you have now (check the folders on disk 
> for the number of saved states)
> - Update Copy Artifact to a snapshot with the linked fix
> - Disable 'Do not save duplicate history'

I've disabled the Copy Artifact Plugin (because apparently nobody uses
it) and disabled 'Do not save duplicate history'. Hope that helps.

Thanks!

Steffen

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




[1.509.2 LTS] Job changing oprations take ages to finish

2013-07-23 Thread Steffen Breitbach
Hi everyone!

We're running 1.509.2 LTS inside a Tomcat 6.0.36 with Java 7u25-b15
(altough we also had this problem with 1.509.1 and 7u09) on a Linux
machine.

Operations that change jobs like changing the configuration or renaming
take ages to finish. Eventually the action will terminate, but it takes
10 minutes or more to finish.

There is no evidence in the Jenkins logs, System load is reasonalby low
and I can't detect any deadlocked threads.

I already tried to get a full heap dump but this will crash the VM after
only a few megabytes.

Do you have any idea what might be happening?

Regards
  Steffen

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




AW: Access Jenkins Parameter in job

2013-07-22 Thread Steffen Breitbach
Hi Gaurang!

> Is there any way i can access the jenkins parameter inside the job. ? 

What is "the jenkins parameter"?

Regards
  Steffen

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




SVN: ignore post commit hooks on maven release

2013-07-19 Thread Steffen Breitbach
Hi everyone!

We're testing post commit hooks for SVN at the moment.

Together with maven releases we have bit of a problem. If you allow concurrent 
builds in one job and start a release job, maven will commit to SVN twice, thus 
triggering two new builds trough the post commit hook.

Is there a way to tell the SVN plug in "ignore post commit hooks for this job 
while running a maven release build"?

Thanks in advance!

Regards
  Steffen

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




Policy of fixes in LTS?

2013-07-17 Thread Steffen Breitbach
Hi everyone!

What's the policy of fixes in LTS versions? The deadlock fix of
JENKINS-18589 for example, is this something we can expect to see e.g.
in 1.509.3?

Regards
  Steffen

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




What is "1.509.2.JENKINS-8856-diag"?

2013-07-11 Thread Steffen Breitbach
Hi Everyone!

Our LTS Jenkins announces "1.509.2.JENKINS-8856-diag" as the latest
version. However, that version doesn't exist anywhere.

I suppose this is a glitch in the update site?

Regards
  Steffen

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Disable fingerprinting? (1.509.1 LTS)

2013-07-08 Thread Steffen Breitbach


Hi Chris!

On 05.07.2013 18:58, Chris Withers wrote:
>
> What problem are you experiencing that make you think you want to go out
> of your way to disable fingerprinting?
>
> If you don't need it, don't actively use it, but it being there does you
> no harm...

Well, unfortunately, that isn't entirely true. We have the same problem 
as described in https://issues.jenkins-ci.org/browse/JENKINS-13154 on 
our machine (apart from having I/O issues in general which are made 
worse by this).

There is one comment in this issue:
"Seems to me that the size of the "fingerprints" folder has quite an 
impact on the performance of "collecting data". Today I backed up and 
removed the fingerprint data (~1,3Gb) and restarted Jenkins. Data 
collection now takes ~10 seconds instead of 10-15 minutes."


We had the same problem so I also deleted the fingerprints as a possible 
solution. We had a number of fingerprints with 6 digits (can't remember 
the exact number right now). Just after restarting Jenkins with an empty 
fingerprints folder, we had about 2500 new fingerprints.


Also it seems that the "Fingerprint cleanup.log" is never written.

Anyhow, as we don't use it I'd rather disable it completely.

Regards
  Steffen

--
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.
For more options, visit https://groups.google.com/groups/opt_out.




Re: How does the SVN polling work (internally)?

2013-07-08 Thread Steffen Breitbach

Hi Dean!

On 05.07.2013 20:41, Dean Yu wrote:

Having you considered using a Subversion post-commit hook to trigger your
jobs?


That sounds like a brilliant idea, I'll look into this!
Thanks!

Regards
  Steffen

--
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.
For more options, visit https://groups.google.com/groups/opt_out.




Re: How does the SVN polling work (internally)?

2013-07-05 Thread Steffen Breitbach
On Fri, 2013-07-05 at 12:11 +, Mandeville, Rob wrote: 
> I'm not sure, but I'm guessing that
> 
> H/15 * * * *
> 
> Would poll every fifteen minutes.

Yes, but as far as I know only from 1.510 onward. We're running 1.509.1
LTS.

For now, the syntax is H(x-y), so to "simulate" H/10 I used
H(0-9),H(10-19),H(20-29),H(30-39),H(40-49),H(50-59)

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




How does the SVN polling work (internally)?

2013-07-05 Thread Steffen Breitbach
Hi everyone!

Can someone tell me how Jenkins determines SCM changes in SVN for
projects?

At the moment, we have 741 projects that use the "Poll SCM" trigger to
determine wether there are SCM changes. Unfortunately, most of them use
a minute expression like "*/15" or "*/60", so almost everything polls
every full hour.
On the other hand, most of the projects use the same SVN repository.

How does Jenkins determine the SCM changes? Does it poll each and every
job individually?

We're experiencing some issues with the load on the authentication
backend of our SVN and I'm looking for a solution.

Thanks in advance!

Steffen

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




How to announce a plug in update for a "private" plug in?

2013-07-04 Thread Steffen Breitbach
Hi everyone!

We have written a plug in that makes use of our company wide
authentication infrastructure. As it will work in our company only, it
would't be of use for anyone else and so we haven't published it.

However, as several departments in our company use this plug in, it
would be really handy if Jenkins would look for an update as soon as it
is release just as it does with all the other "official" plug ins.

Is there a way to do so? How can we achieve that?

Regards
  Steffen

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




Disable fingerprinting? (1.509.1 LTS)

2013-07-03 Thread Steffen Breitbach
Hi everyone!

We don't use fingerprinting in our projects. Therefore I'd like to
disable fingerprinting globally. Is there a way to do so?

Regards
  Steffen

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




Vote for fixes in next LTS?

2013-07-01 Thread Steffen Breitbach
Hi everyone!

Is there a way to "vote" for fixes for the next LTS release?

We would like to see the fingerprinting and lazy loading related issues
fixed.

- Fixed file descriptor leak in fingerprint computation. (issue 18351)
- Fingerprint action deserialization problem fixed. (issue 17125)
- Optimizations in fingerprint recording. (issue 16301)
- Properly find parent POMs when fingerprinting a Maven project. (issue
17775)
- Mitigation of exception from fingerprinting in a Maven project when a
parent POM could not be located. (issue 17775)
- NullPointerException related to lazy loading when loading some builds
using fingerprinting. (issue 16845)
- Finding the last failed build for a job (e.g. from a view column)
broke lazy loading. (issue 16023)

Regards
  Steffen

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Host key verification failure: Trying to launch ssh

2013-06-24 Thread Steffen Breitbach
Hi Gupta!

On Mon, 2013-06-24 at 22:17 -0700, Gupta wrote:

> c:\jenkins\workspace\x86_Linux_SmoketestB>ssh root@192.168.x.x "ls -l 
> /usr/local/SWAT" 
> Host key verification failed.

Execute ssh without a parameter and then accept the host key.

Another option would be to use 'ssh -s StrictHostKeyChecking=no
root@192.168.x.x "ls -l /usr/local/SWAT"' but I don't think that's what
you want to do.

Regards
  Steffen



-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Jenkins login session timeout

2013-06-24 Thread Steffen Breitbach
Hi Pavel!

On Mon, 2013-06-24 at 09:48 +0300, Pavel Tankov wrote: 
> This can't be too hard, please tell me where to configure it. Thanks.

No, we just want to mess with you so we just ain't telling ;-)

However, if it is THAT important: install Jenkins in a container (e.g.
Tomcat) and delegate security handling to that container. You can easily
set a session timeout in a Tomcat container.

HTH

Steffen
-- 
Save energy: Drive a smaller shell.

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




Re: new user gets a Status Code: 404 @ login

2013-06-23 Thread Steffen Breitbach
Hi Kamal!

On Fri, 2013-06-21 at 13:38 -0700, Kamal Ahmed wrote: 
> I create a new user using Jenkins Security, but the user cannot login,
> and gte a 404 Status Code 

If you could be a litte more (or better: much more) verbose about your
issue someone on this list might acutally able to help you.

For starters: Wich kind of Realm and Authorization are you using in
which version of Jenkins and what is the Page URL that generates the
error?

Regards
  Steffen 

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Execute few Jenkin jobs under logged on user credential

2013-06-19 Thread Steffen Breitbach
Hi Vijendra!

On Wed, 2013-06-19 at 16:46 +0530, Vijendra Patil wrote: 
> The reason I am asking this is because, we have list of Jenkins job,
> while most of them does "Create Build on Local Build Server", while
> few jobs does "Release to Production".
  
> Is this possible? 

I don't know what you do your releases with, but wouldn't "sudo" be an
option?

Regards
  Steffen

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Jenkins login session timeout

2013-06-19 Thread Steffen Breitbach
On Wed, 2013-06-19 at 11:31 +0300, Pavel Tankov wrote:

> I searched high and low but couldn't find the answer to this simple
> question: How can I increase the Jenkins login session timeout? I
> would like to set it to, say, one week.

Where's the security in a week long timeout?

> When I am working on configuring a job in the evening and leave it
> half way done, then go to sleep and continue the next morning, I want
> to be able to just start from where I left and not have to login again
> and lose my half-way-done configuration.

Well, the same could happen to you if your machine/browser crashes,
there is a power outage or something else I can't think about right now.

Why don't you just click "Save" in the job configuration from time to
time? 
Regards
  Steffen

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Does "Build Now" behave differently than an automated build?

2013-06-19 Thread Steffen Breitbach
Hi Daniel!

On Tue, 2013-06-18 at 14:36 -0700, Daniel Spangler wrote:
> I'm trying to debug this and am curious if anyone has any pointers at
> why I'm seeing different results?

Not exactly a pointer specific to your problem, but you might give the
"Dump Info BuildWrapper Plugin" a try.

Regards
  Steffen 

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




Re: jenkins user password?

2013-06-18 Thread Steffen Breitbach
Hi Veer!

On Tue, 2013-06-18 at 11:58 -0700, Veer Mati wrote: 
> Hi!
>  
> What is the password for the user 'jenkins'? How is that user cerated?
> I am seeing that there is a user 'jenkins' (when do I 'whoami' in a
> script run by a Jenkins build - it prints out jenkins), but if I log
> on as user root, and then do a 'su jenkins', it doesn't let me switch
> users! I don't get any error either.

Your "issue" is a Linux "issue", not a Jenkins one.

Most likely the user "jenkins" doesn't have ha login shell, thus you
can't log in.

If you like to give/change his password however, you can always do this
as root.

The reason this is handled like this in Linux environment is mostly for
security reasons.

Hope that helps

Regards
  Steffen 

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




org.kohsuke.stapler.compression.CompressionFilter reportException, but only sometimes

2013-06-18 Thread Steffen Breitbach
Hi everyone!

We're running Jenkins 1.509.1 LTS. Sometimes, but really only somtimes,
Jenkins will hang completely for a few minutes (usually around 10).
After that, Jenkins will respond normally. When this happens, you can't
usually see any high load or other activity in Jenkins (in the example,
one slave was building a job).

I have posted the exception to http://pastebin.com/1zJx6UU6

I am aware of the Issue with
org.kohsuke.stapler.compression.CompressionFilter reportException and
the -Dorg.kohsuke.stapler.compression.CompressionFilter.disabled=true
option, but in this case it looks that while copying the job somehow the
job name (instead of a cron expression) is used for the cron trigger.

This might be because some kind of weird race condition because of the
org.kohsuke.stapler.compression.CompressionFilter reportException, but I
haven't looked deeper into that yet.

I'll go ahead an disable the compression, but I'm not convinced yet that
this will fix the issue.

What's your opinion on this one?

Regards
  Steffen

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




Redirect/Rewrite URL in Jenkins

2013-05-28 Thread Steffen Breitbach

Hi everyone!

Is there a way to rewrite or redirect URLs in Jenkins?

Here's the Problem that I'm trying to solve:

Currently, we have projects that may be linked somewhere (e.g. in 
documentations, wiki pages etc.) trough a link that contains the view. 
They look something like this:


http://hostname:8280/jenkins/view/viewName/job/jobName/

What I'm trying to achieve is that if you open this URL in your browser, 
you will be redirected to


http://hostname:8280/jenkins/job/jobName/

The reason why I want to do this: I'd like to be independent of views 
and their names for links to jobs. Even if someone used the view in a 
job URL, the URL should work regardless of the view itself working or not.
Thus I could delete views that aren't needed any more but the links 
would still work.


Jenkins is running in a Tomcat as container. I know the problem could be 
solved using an Apache HTTP Server (or an other HTTP server for that 
matter), but that ain't an option at the moment.


Regards
Steffen

--
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.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [1.509.1 LTS] Massive performance issues

2013-05-21 Thread Steffen Breitbach

Hi Arnaud!

On 19.05.2013 11:48, Arnaud Héritier wrote:

I have such issue and downgraded back to 1.480.3 LTS.


I'm also looking into this as a possible fix for our current situation.

Did you face any issues after downgrading to 1.480.3 LTS ?

Regards
  Steffen

--
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.
For more options, visit https://groups.google.com/groups/opt_out.




"Soft" stopping of slaves

2013-05-17 Thread Steffen Breitbach

Hi everyone!

I'd like to prevent our slaves from processing tasks in a given 
timeframe to have system ressources free for other tasks (e.g. backup 
tasks).


I don't want to shutdown the slaves, I'd rather make them stop 
processing jobs and then enable them some time later, much like the 
"safe shutdown" for Jenkins itself does.


I thought I might have seen a plug-in that could do the job but I don't 
seem to be able to find it any more.


A groovy script might do the job as well, but I couldn't find an example 
anywhere.


Do you have any ideas how I might do this?!

Thanks in advance

Steffen

--
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.
For more options, visit https://groups.google.com/groups/opt_out.




Getting LDAP groups to work

2013-01-15 Thread Steffen Breitbach
Hi everyone,

I'm desperately trying to get LDAP group based authentication to run. LDAP
user based security does work, but I can't get the groups to work. Most
obvious symptom is the "no entry"-Sign in front of every group.

I've debugged my installation using ldapsearch with those parameters:

ldapsearch -h ldap.1and1.com
-D"uid=tbshudson,ou=accounts,ou=ims_service,o=1und1,c=DE" -w"***" -b
"ou=roles,ou=tbshudson,ou=ims_service,o=1und1,c=DE" "(&
(cn=CBSYS_BS_HUDSON_ADMINS)(member=uid=sbreitbach))"

which worked, so I guess the search filter should be

(& (cn={0})(member=uid={1}))

I've tried to pass the filter to Jenkins with the
"-Dhudson.security.LDAPSecurityRealm.groupSearch=" parameter, which didn't
work.

What else could I try?

Thanks in advance

Steffen


smime.p7s
Description: S/MIME cryptographic signature


RE: JNLP slave no longer works

2013-01-11 Thread Steffen Breitbach
We'll fix this in the next mainline release, and once all the fallout bugs
like this are fixed and verified, I'll plan on another LTS release.

 

My apologies for the problems in the mean time.



No problem! The workaround using the anonymous user is OK for me in the
meantime. :)



smime.p7s
Description: S/MIME cryptographic signature