Re: Using CLI with AD plugin

2013-10-15 Thread David Resnick
I've opened a bug for this problem. https://issues.jenkins-ci.org/browse/JENKINS-20064 - David On Monday, October 14, 2013 9:03:10 AM UTC+3, David Resnick wrote: > > I'm trying to use the Jenkins CLI for a server that is set up with AD as > the access control security realm. Logged in users can

Jenkins PREFIX is not working

2013-10-15 Thread Maneesh M P
I have the PREFIX set in /etc/default/jenkins file # port for HTTP connector (default 8080; disable with -1) HTTP_PORT=8081 # servlet context, important if you want to use apache proxying PREFIX=/jenkins But if i open the URL wit prefix http://abc.cv.xy.com:8081/jenkins

Re: CVS error "file was lost" in matrix build

2013-10-15 Thread cscooper
Actually, I found what appears to be a successful workaround (and might help in understanding the problem) - if I turn off "Use Update" in the "Source Code Management" section, the problem goes away. -- View this message in context: http://jenkins-ci.361315.n4.nabble.com/CVS-error-file-was-los

Re: CORS for REST API

2013-10-15 Thread Michaël Pailloncy
You can try to build it yourself using Maven and upload manually the hpi file generated in the target directory. Hope this help. 2013/10/9 Ashley Coker > Does anyone know how to install: > https://github.com/jhinrichsen/cors-plugin/ > > I want to enable CORS for the REST API so that OPTIONS re

Re: CVS error "file was lost" in matrix build

2013-10-15 Thread cscooper
Do you have any suggestions on workarounds until I more permanent fix is found? I tried putting a "cvs status" command as the Script Content in the "Prepare an environment for the run" but it didn't help - the cvs update still gave all the "not found" errors. Is there a "cvs repair thyself" comma

Re: Role Strategy Plugin - how to apply multiple patterns in project roles

2013-10-15 Thread Maneesh M P
You can do with piping I guess *(?i)RB_MIB.* *|* (?i)HMI_MIB.* | **(?i)JXE_MIB.** Thanks, Maneesh On Friday, October 11, 2013 4:35:12 AM UTC-7, Daniel Beck wrote: > > There's no way to define multiple patterns for a given role (which would > enable different permissions depending on the job fo

Re: Job category-based security

2013-10-15 Thread Daniel Beck
You could use the Role Strategy Plugin, if your 'job categories' are reflected in the job names, as it uses regular expression pattern matching on the job name to assign permissions. Alternatively, organize your jobs in folders (Cloudbees Folders plugin) and assign permissions based on these it

Re: Error from CLI command

2013-10-15 Thread oliver gondža
The command is clearly broken as it result in NPE whenever build number does not exist for particular job. Please, file an issue and feel free to assign to me, this one is trivial. -- oliver -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group.

Job category-based security

2013-10-15 Thread Scott Danzig
Is there a way to specify security settings for a particular category/group/type of job? For instance, if I'd people from the QA LDAP group to only be able to run "test-only" jobs, is there a way to easily specify certain jobs as test jobs and then do a one time security setting for all of the

Error from CLI command

2013-10-15 Thread Ginga, Dick
Anyone know about this error: C:\Users\DG>java -jar \Jenkins\jenkins-cli.jar -s http://dilithium.xx.net:8082 set-build-display-name "Build-Main-Stream-iChem3D" 292 "iChem3D-Test-Main-2.0.0-292" java.lang.NullPointerException at hudson.cli.SetBuildDisplayNameCommand.run(SetBuildDispl

Re: Is there a way to pass File parameter for jekins jobs ?

2013-10-15 Thread Scott Evans
Have you looked into using a matrix build to run a build job on all of the slave nodes at the same time? Just put the script in a common location and reference it via unc path in your build steps. Then set the matrix job to run on each of the nodes and then run the job, should be pretty easy, esp

Is there a way to pass File parameter for jekins jobs ?

2013-10-15 Thread Maneesh M P
our developers gives a mysql script file [abc.sql] each time to execute on all the build servers [we have 7 slave nodes]. So every time I have to manually login and execute the sql command in all build servers. Is there a way from jenkins I can browse and select the sql file as input parameter a

RE: "Failed to test the validity of the user name ..."

2013-10-15 Thread David Aldrich
Thanks Stephen, we'll consider using the Active Directory plugin instead. BR David From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Stephen Connolly Sent: 15 October 2013 15:37 To: jenkinsci-users@googlegroups.com Subject: Re: "Failed to test the val

Re: "Failed to test the validity of the user name ..."

2013-10-15 Thread Stephen Connolly
Blame Kohsuke if it goes wrong ;-) On 15 October 2013 16:03, David Aldrich wrote: > Thanks Stephen, we’ll consider using the Active Directory plugin instead. > > > ** ** > > BR > > ** ** > > David > > ** ** > > *From:* jenkinsci-users@googlegroups.com [mailto: > jenkinsci-users@go

Source code formatter

2013-10-15 Thread Jürgen
Is there a way to have the source code in the workspace view formatted? The source code should look like in an IDE. Ideally references should be browseable. Or is there a kind of opengrok plugin for Jenkins? Thanks, Juergen -- You received this message because you are subscribed to the Google

Re: LDAP Configuration

2013-10-15 Thread teilo
Hi Stephen, I will see what I can do, but can't promise a quick turnaround (I need to get a fair amount done before the JUC next week) This may have something to do with the location of the main servers for the domain. e.g. nslookup -q=SRV _ldap._tcp.mydomain.com returns servers that are not

Re: "Failed to test the validity of the user name ..."

2013-10-15 Thread Stephen Connolly
Well Kohsuke always is confused as to why people use a plugin that doesn't have "Active Directory" in its name when trying to connect to Active Directory... so going on Kohsuke's philosophy, you should be using the Active Directory plugin to connect to Active Directory... and if that doesn't work f

Re: LDAP Configuration

2013-10-15 Thread Stephen Connolly
James, would you be amenable to firing up a test jenkins and giving some comparative timings? At least in Unix mode they should be pretty much identical in performance, though theAD plugin should be much easier to configure On 15 October 2013 14:47, teilo wrote: > The LDAP plugin is (at least

Re: LDAP Configuration

2013-10-15 Thread teilo
The LDAP plugin is (at least it was before we unceremoniously ditched it) MUCH MUCH quicker to authenticate users than the AD one when you have a lovely large tree of domains… Now I will prefix this with I am not an AD expert but… http://technet.microsoft.com/en-us/library/cc728188(v=ws.10)

RE: "Failed to test the validity of the user name ..."

2013-10-15 Thread David Aldrich
Hi Stephen Thanks for your reply. Would it help if we used the Active Directory plugin instead of the LDAP plugin? I'm afraid I know nothing about groovy scripts. How would I run that script please? David From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Be

Re: "Failed to test the validity of the user name ..."

2013-10-15 Thread Stephen Connolly
Have you tried the troubleshooting groovy script in the Troubleshooting section of the LDAP plugin wiki page? On 15 October 2013 14:30, David Aldrich wrote: > Hi > > ** ** > > We have seen this issue: > > ** ** > > JENKINS-12619 "Failed to test the validity of the user name on all > se

"Failed to test the validity of the user name ..."

2013-10-15 Thread David Aldrich
Hi We have seen this issue: JENKINS-12619 "Failed to test the validity of the user name on all security matrices since upgrade on our Jenkins instance for a long time. We are running Jenkins 1.509.3 (LTS). Does anyone have a solution for this issue please? Best regards David -- You receiv

Re: LDAP Configuration

2013-10-15 Thread Stephen Connolly
Can we just ask one question: WHY ARE YOU USING THE LDAP PLUGIN AND NOT THE ACTIVE DIRECTORY PLUGIN? People seem to keep on wanting to inflict pain on themselves and go with the more complex LDAP plugin rather than the much much easier to use Active Directory plugin. If there is some feature mis

Re: How to configure email on jenkins server installed on an EC2 instance

2013-10-15 Thread srini
Just to clarify: Jenkins v1.530 was installed on Ubuntu 12.04 version 64-bit Should I be using Amazon's Simple Email Service (SES) to do this? if yes, how can I glue SES + Active Directory + with the Jenkin's job where email addresses are configured? > -- You received this message because yo

How to configure email on jenkins server installed on an EC2 instance

2013-10-15 Thread srini
Hi all, I have an Jenkins server installed on EC2 instance and I would like to configure the email setup so after a Jenkins build that it can send emails to the users configured on that particular job. The users' emails addresses are normal corporate email addresses. Should I be using Amazon's

Re: LDAP Configuration

2013-10-15 Thread Ricardo García Fernández
Hi Zac ! I was dealing with the same issue: authentication against LDAP/AD and your answer was the right one. Also, I fixed the group filter and configured group properties using this filter: Group search filter: (& (cn={0}) (objectclass=group) ) Group Search Base: your OU groups separated wit

Re: Jenkins kick of all the builds after restarting the service

2013-10-15 Thread Michaël Pailloncy
Alternatively, you can add an init script to Jenkins : https://wiki.jenkins-ci.org/display/JENKINS/Configuring+Jenkins+upon+start+up This script can call "jenkins.model.Jenkins.instance.doQuietDown()" to put Jenkins in "quiet" mode on startup. Then, you can wait your slaves to start, and exit quiet

Aw: Re: Console output in LTS 1.509.4

2013-10-15 Thread Christoph Kutzinski
It's fixed on trunk - at least for Java 7, but no release of the maven-plugin has been made, yet.   Gesendet: Dienstag, 15. Oktober 2013 um 11:45 Uhr Von: "Harald Wellmann" An: jenkinsci-users@googlegroups.com Betreff: Re: Console output in LTS 1.509.4 Hmm, the impact on LTS is not clear to me.

Re: Console output in LTS 1.509.4

2013-10-15 Thread Harald Wellmann
Hmm, the impact on LTS is not clear to me. Does this mean the issue *is* a bug which is fixed (at least for Java 7) on trunk but still present in LTS? Cheers, Harald 2013/10/15 Christoph Kutzinski > Harald, see https://issues.jenkins-ci.org/browse/JENKINS-19396 and > https://issues.jenkins-ci.

RE: Help need to debug "channel is already closed" failure

2013-10-15 Thread David Aldrich
Hi Further inspection showed that the slave had never properly connected to Jenkins since a reboot of the slave yesterday. This was clear in the node's log, but no problem was indicated for the slave on the dashboard. I was busy and so didn't investigate deeper. Anyway, a manual disconnect/r

User password at startup of jenkins service since 1.535

2013-10-15 Thread wohauser
Hello, If I update from 1.534 to 1.535 jenkins asks for a jenkins user password. How to startup jenkins w/o a password like 1.534 ? Regards Wolfgang -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiv

Aw: Console output in LTS 1.509.4

2013-10-15 Thread Christoph Kutzinski
Harald, see https://issues.jenkins-ci.org/browse/JENKINS-19396 and https://issues.jenkins-ci.org/browse/JENKINS-19352   Gesendet: Dienstag, 15. Oktober 2013 um 11:22 Uhr Von: "Harald Wellmann" An: jenkinsci-users@googlegroups.com Betreff: Console output in LTS 1.509.4 After upgrading from 1.50

Console output in LTS 1.509.4

2013-10-15 Thread Harald Wellmann
After upgrading from 1.509.3 to 1.509.4, my console output looks somewhat broken. Mojo execution headlines are no longer emphasized in bold, and there's a lot of messages of the following kind: Oct 15, 2013 11:11:59 AM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted INFO: Looks like

Help need to debug "channel is already closed" failure

2013-10-15 Thread David Aldrich
Hi I have a matrix job that is failing because the slave used by the job disconnects. The console output for the job is shown below. I am running Jenkins ver. 1.509.3 (LTS) with SSH Slaves Plugin 1.3 and Credentials plugin 1.8.3. The machines run Centos Linux. This problem appeared yesterday

Re: How to setup JaCoco plugin to exclude a maven module

2013-10-15 Thread Vu Pham
Unfortunately, the problem have not fixed yet. See the issue https://github.com/jacoco/jacoco/issues/67 for more details. Regards, Kioncopxki On Wednesday, July 24, 2013 8:57:34 AM UTC+7, Niranjan Rao wrote: > > For my deployment, I have one master pom which includes bunch of other > modules. B

Using Build Flow to run a test using two machines

2013-10-15 Thread teilo
There is a commercial plugin from cloudbees that will allow you to do this with VMware. A single job can have multiple VMs assigned on which you can run commands like starting your server and then starting your client. There are possibly other ways but I have not used them. -- You received th