Could I use 2 OU in LDAP plugin?

2014-01-21 Thread dennys
I can use LDAP to get user and group now, but I have 2 OU in 1 LDAP server like the following. Is it possible to use 2 (or more) OU ? OU=CO,OU=Root,DC=company OU=Groups1,OU=Root2,DC=company -- View this message in context: http://jenkins-ci.361315.n4.nabble.com/Could-I-use-2-OU-in-LDAP-plugin-

Re: No git consumers

2014-01-21 Thread Mark Waite
If schedule is empty, I believe no polling is performed. If you insert the keyword @daily, it will only poll once a day, but will respond to build requests since there is some polling interval defined. At least, I think that is what I observed previously. Mark Waite On Tue, Jan 21, 2014 at 6:5

Re: No git consumers

2014-01-21 Thread Craig Rodrigues
Hi, I have the TrueNAS-master2 build configured with the MultipleSCM plugin. TrueNAS-master2 is configured to check out from 3 different git repos. One of the git repos is g...@gitserver.ixsystems.com:/ git/repos/freenas-build/trueos.git In the TrueNAS-master2 build, in the Build Triggers sectio

Re: Strange error when using git reference repos.

2014-01-21 Thread Mark Waite
I think that may be the same issue as was reported in: https://issues.jenkins-ci.org/browse/JENKINS-21434 The change to fix that problem was submitted just recently, so the next release of the git client plugin should fix it (if I've understood the problem correctly). Mark Waite On Tuesday, J

Re: No git consumers

2014-01-21 Thread Mark Waite
I don't think you're doing anything wrong, though that message is surprising. Do you have any jobs which are polling the Git URL g...@gitserver.ixsystems.com:/git/repos/freenas-build/trueos.git ? If not, then I think you could probably remove that warning by creating a job which polls that Git UR

Re: No git consumers

2014-01-21 Thread Craig Rodrigues
Thanks for that pointer. I am confused about one thing. In my environment, I have a build named TrueNAS-master2 configured with the MultipleSCM plugin. One of the repos in my build is configured to use this URL: g...@gitserver.ixsystems.com:/git/repos/freenas-build/trueos.git If I do this: cu

Re: No git consumers

2014-01-21 Thread Mark Waite
The message comes from https://github.com/jenkinsci/git-plugin/blob/master/src/main/java/jenkins/plugins/git/GitSCMSource.java#L180 I think it means that the git source control provider inside Jenkins expected that something was interested in that URL, but when it iterated over the list of thin

Re: No git consumers

2014-01-21 Thread Craig Rodrigues
Hi, In the configuration for your build, what did you put in the git section for the "Repository URL"? I'm not sure if the Git plugin ( https://wiki.jenkins-ci.org/display/JENKINS/Git+Plugin ) supports an ssh:// URL. -- Craig On Tue, Jan 21, 2014 at 2:17 PM, wrote: > I tried to setup pollin

scan the console output to set email subject [email-ext]

2014-01-21 Thread Maneesh M P
Hello, I am using email-ext plugin to send my build mails. based on the job environment values, i create an html file and use the html file in the body to send the mail ${FILE, path="$WORKSPACE/mail.html"} I have a requirement where i have to put the subject of the mail parsing console ou

No git consumers

2014-01-21 Thread ttung
I tried to setup polling in Jenkins so it will do a build on every push to Git. The error I kept getting remote: No git consumers for URI ssh://gitserver@svn-sim-cur2/~/git/ tidemark.git To ssh://gitserver@svn-sim-cur2/~/git/tidemark.git 0c8c278..a25713e feature-test2 -> feature-test2 What

Strange error when using git reference repos.

2014-01-21 Thread Christian Goetze
http://stackoverflow.com/questions/21267270/jenkins-git-plugin-and-reference-repos I have a bare repo on the same host as the agent, and I get errors like these: Error: object directory /.git/objects does not exist; check .git/objects/info/alternates the funny thing is that that .git/objects/i

Re: Semaphore system for matrix jobs

2014-01-21 Thread Thorsten Meinl
Am 21.01.2014 17:20, schrieb Magnus Sandberg: > I was just trying to see if there's a true use case for this or not, I > have thought about this along the same lines as in "Throttle Concurrent > Builds Plugin" but for Job Groups as defined in Priority Sorter. Definitely there is a use case. The lin

Re: Stop EC2 slave instances

2014-01-21 Thread David V
What do you think about exposing the stop() method? I found it in the source on GitHub, but I've only just begun to take a look at the source code for this project. void stop() { try { AmazonEC2 ec2 = getCloud().connect(); StopInstancesRequest request = new StopIn

Re: Stop EC2 slave instances

2014-01-21 Thread David V
Hey Kevin. Thanks for your help. The following script prints out the EC2 slaves and computers (it does not provide an actual description) jenkins = Jenkins.instance; for (slave in jenkins.slaves.findAll({s -> s instanceof hudson.plugins.ec2.EC2OndemandSlave})) { println slave computer = sla

Re: Jenkins can't connect to my Windows dumb slave

2014-01-21 Thread Vincent Latombe
So it matches the extraction of windows slave to a plugin ( https://github.com/jenkinsci/jenkins/commit/2669e4a86d72f2d8b67417812db8f52aa487f3de). I guess something has gone wrong in the process... Vincent 2014/1/21 Deniz Zoeteman > Moving from 1.547 to 1.546 fixed the issue indeed. Thank you

Re: Fwd: Urgent Opening for Power Builder Developer Location Hartford CT

2014-01-21 Thread Niranjan Rao
Please don't BCC to the list. It breaks all the mail filters and is very annoying. Personally I don't mind job postings if they are relevant, but please check posting guidelines and see if its appropriate. If you are trying to avoid "reply all" spam, users in this list are savvy enough to get

Re: Stop EC2 slave instances

2014-01-21 Thread Kevin Fleming (BLOOMBERG/ 731 LEXIN)
Ahh... well that makes sense, but I'm fairly certain that the EC2 plugin doesn't currently offer any way to initiate the 'timeout' process that results in an instance being stopped (as opposed to terminated). It's possible that the existing function that handles timeouts could be called from a G

Re: Jenkins can't connect to my Windows dumb slave

2014-01-21 Thread Deniz Zoeteman
Moving from 1.547 to 1.546 fixed the issue indeed. Thank you for your help! -Deniz 2014/1/21 Vincent Latombe > I think I hit a similar issue while playing with latest core a few weeks > back, so I think it is a regression at jenkins core level. I would > recommend you to rollback to your previ

Re: Jenkins can't connect to my Windows dumb slave

2014-01-21 Thread Vincent Latombe
I think I hit a similar issue while playing with latest core a few weeks back, so I think it is a regression at jenkins core level. I would recommend you to rollback to your previous jenkins core version (and probably raise an issue for this to track the regression) Cheers, Vincent 2014/1/21 De

Re: Stop EC2 slave instances

2014-01-21 Thread David V
Presently, they have been idle when the shutdown occurs. I'm working on updating the shutdown process to try to ensure that it waits until all jobs are complete to enforce this. On Tuesday, January 21, 2014 12:13:31 PM UTC-6, Kevin Fleming wrote: > > Are these slaves running active jobs, or are

Re: Stop EC2 slave instances

2014-01-21 Thread Kevin Fleming (BLOOMBERG/ 731 LEXIN)
Are these slaves running active jobs, or are they idle (from Jenkins point of view)? - Original Message - From: jenkinsci-users@googlegroups.com To: jenkinsci-users@googlegroups.com Cc: Kevin Fleming (BLOOMBERG/ 731 LEXIN) At: Jan 21 2014 13:12:43 I would like to stop them, not terminate

Re: Jenkins can't connect to my Windows dumb slave

2014-01-21 Thread Deniz Zoeteman
I should note that technically it can connect, but can't do anything much it seems... it creates a jenkins folder on my C drive but that's it. Op dinsdag 21 januari 2014 19:06:05 UTC+1 schreef Deniz Zoeteman: > > I've set-up Jenkins for my Windows slave (I am running Jenkins under > CentOS) with

Re: Stop EC2 slave instances

2014-01-21 Thread David V
I would like to stop them, not terminate them. Is there a proper way to stop the instance from a Groovy script? On Tuesday, January 21, 2014 11:51:00 AM UTC-6, Kevin Fleming wrote: > > Yes, a Groovy script could iterate over the current list of Jenkins nodes, > determine which ones are EC2 slave

Jenkins can't connect to my Windows dumb slave

2014-01-21 Thread Deniz Zoeteman
I've set-up Jenkins for my Windows slave (I am running Jenkins under CentOS) with DCOM access (so Jenkins runs as service). This was working fine until I updated my CentOS set-up last night (incl. Jenkins), and now it can't seem to connect to my Windows node anymore.. it is stuck on "Checking i

Re:Stop EC2 slave instances

2014-01-21 Thread Kevin Fleming (BLOOMBERG/ 731 LEXIN)
Yes, a Groovy script could iterate over the current list of Jenkins nodes, determine which ones are EC2 slaves, and then delete them. This would terminate the EC2 instances for those slaves. - Original Message - From: jenkinsci-users@googlegroups.com To: jenkinsci-users@googlegroups.com

Stop EC2 slave instances

2014-01-21 Thread David V
Our Jenkins master server runs on an EC2 instance and we stop it twice a day to switch between a small and medium instance to reduce our bills during off hours. Our build slaves are EC2 instances using the Jenkins EC2 plugin. To keep the builds fast we have it configured to only stop the slaves

Jenkins Enterprise from Cloudbees

2014-01-21 Thread Maureen Barger
Hi - just curious if anyone here has implemented JE. Can same functionality be achieved with free plugins instead of going with the paid versions that Cloudbees offers? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this gr

Can Jenkins-Jira plugin move Jira issues from Resolved to Needs Verification?

2014-01-21 Thread dudemous
We are using the git plugin and the Jenkins-Jira plugin in our job configurations. Our git commit messages all have a Jira ID, so in a continuous build we see a list of git changes and the Jira IDs associated with them. We use the Jenkins-Jira plugin to update issues for each build, which is wor

Re: xUnit and ctest results

2014-01-21 Thread JonathanRRogers
On Tuesday, January 21, 2014 8:03:00 AM UTC-5, ycollet wrote: > > Hello, > > I've configured a project using cmake and I use ctest to generate xml > test results file. > This test results file is sent to jenkins xUnit plugin. > Each time I start jenkins, a new directory is created in my build

Re: Semaphore system for matrix jobs

2014-01-21 Thread Magnus Sandberg
Hi, I know ;-) feel free to add any requirement or suggestions you might have. I was just trying to see if there's a true use case for this or not, I have thought about this along the same lines as in "Throttle Concurrent Builds Plugin" but for Job Groups as defined in Priority Sorter. /Magnus

RE: Post build action -- how can I build job B if A is successful or job C if A fails?

2014-01-21 Thread Mandeville, Rob
The build flow plugin (https://wiki.jenkins-ci.org/display/JENKINS/Build+Flow+Plugin) is just for you. You would set up the master job as a build flow job and set up logic similar to this: guard{ build("setup") build("run-tests") }rescue{ build("cleanup") } Think of gua

Re: Gerrit trigger custom comments for verification on Gerrit

2014-01-21 Thread HuberSimmons
I was able to do this with the Environment Inject plugin (https://wiki.jenkins-ci.org/display/JENKINS/EnvInject+Plugin) You could for example set The BUILD_OUTPUT variable that way and then reference in the template as $BUILD_OUTPUT Endlines are a bit tricky: To get an endline you should do it li

lastSuccessfulBuild displays incorrect build on published job

2014-01-21 Thread Pasi
Hi, I have 2 Jenkins instances on different HW, the "master" Jenkins runs the actual builds and then publishes them to another Jenkins which is displaying the results so that Sonar can get them via URL like http://serverforsonar.net/jenkins/job/unittestrun/lastSuccessfulBuild. My issue is that

Re: Managing maven credentials on a shared build server

2014-01-21 Thread Stephen Connolly
On 21 January 2014 15:27, Daniel Beck wrote: > > On 21.01.2014, at 16:16, Stephen Connolly > wrote: > > > 4.0 > > Also worth noting is that the major changes in 4.0 were removal of several > of the nicer features as described here: > > > http://blog.cloudbees.com/2013/10/cloudbees-folders-plugin

Post build action -- how can I build job B if A is successful or job C if A fails?

2014-01-21 Thread cpjust
I'd like to split a job into 3 jobs: 1. setup 2. run-tests 3. cleanup If setup is successful, it should launch the run-tests job. If it fails, it should run the cleanup job. The run-tests job should always run the cleanup job. The "Build other projects" plugin doesn't have that functionali

lastSuccessfulBuild points incorrectly to some old build

2014-01-21 Thread Pasi
Hi all, I have 2 Jenkins instances on different HW, both with 1.509.4 LTS Jenkins version. The "master" Jenkins runs the actual builds and then publishes them to to another instance, from where Sonar takes the build results using the an URL like this: http://serverforsonar.net/jenkins/job/unit

Re: Managing maven credentials on a shared build server

2014-01-21 Thread Daniel Beck
On 21.01.2014, at 16:16, Stephen Connolly wrote: > 4.0 Also worth noting is that the major changes in 4.0 were removal of several of the nicer features as described here: http://blog.cloudbees.com/2013/10/cloudbees-folders-plugin-now-open-source.html > This 4.0 release is fully functional o

Re: Managing maven credentials on a shared build server

2014-01-21 Thread Stephen Connolly
I work for CloudBees... I can assure you that it is free and open source... look here: https://github.com/jenkinsci/cloudbees-folder-plugin. -Stephen. Open Frickin Source == Fecking Open Source Baby == Open source and not something else. Prior to 4.0 it was Closed Source but Free as in "tell me

Re: Managing maven credentials on a shared build server

2014-01-21 Thread Naumenko, Roman
You mean folders plugin from cloudbees? As far as I know it's not free. PS What's Open Frickin Source? On 2014/01/17 12:13 PM, Stephen Connolly wrote: There is actually a layered set of credential stores... if you use the folders plugin (which as of version 4.0 is free as in Open Frickin Source

Re: Large Jenkins installations

2014-01-21 Thread Daniel Beck
I'm running a Jenkins instance with ~7000 jobs (that is otherwise unremarkable). The limiting factor with many jobs is mostly plugins or specific core features that have scalability problems. Examples: * Cloudbees RBAC had really slow group membership resolutions a few versions ago, leading to

Re: Semaphore system for matrix jobs

2014-01-21 Thread Thorsten Meinl
Hi Magnus, The description is a bit "high-level" but it looks like this could be a fit to our problem. I'm happy to give it a try! Thorsten Am 21.01.2014 14:34, schrieb Magnus Sandberg: > Hi, > > I'm thinking about adding something like this to the Priority Sorter > (JENKINS-21214

Re: jenkins cli giving an error

2014-01-21 Thread Yardena Meymann
I would guess that the second error is caused by an invalid patch file On Mon, Jan 20, 2014 at 1:27 PM, Jon wrote: > Hi , > > yes we have both the build steps in the build. > 1) review parameter > 2) notify reviewboard > > one more point when i am trying build with jenkins cli with patch > pa

Fwd: Urgent Opening for Power Builder Developer Location Hartford CT

2014-01-21 Thread ankit rane
Hi, Do quick response at ank...@eruditionweb.com, Please review the below job details and let me know if you are available = Position : Powerbuilder Developer Location : Hartford CT Duration :3 Months Start Date : Possibly Feb 1st Skill set-

Re: Semaphore system for matrix jobs

2014-01-21 Thread teilo
I know of a comercial (not free) plugin that does this - http://www.cloudbees.com/jenkins-enterprise-by-cloudbees-features-label-throttled-build-execution-plugin.cb As a plugin exists, the answer to your second question about extension points is answered with a yes - but I'm not sure what they a

Jenkins with Saml 2.0 SSO Authentication

2014-01-21 Thread St. Georgiou
Hey there, I'm looking for a jenkins plugin to enable sso authetication using shibboleth2. Is there such a thing? I can only find the CAS Plugin that only goes up to saml 1.1. Cheers -- View this message in context: http://jenkins-ci

Re: Semaphore system for matrix jobs

2014-01-21 Thread Magnus Sandberg
Hi, I'm thinking about adding something like this to the Priority Sorter ( JENKINS-21214 ) do you think that would be something for you? /Magnus 2014/1/20 Benjamin Lau > I've always managed this by limiting the executors on the host where I

xUnit and ctest results

2014-01-21 Thread ycollet
Hello, I've configured a project using cmake and I use ctest to generate xml test results file. This test results file is sent to jenkins xUnit plugin. Each time I start jenkins, a new directory is created in my build directory: Testing/Temporary/2014*/Test.xml The problem I've got is that xUni

Re: API to create/manage nodes

2014-01-21 Thread Alex Henderson
This worked perfectly, thank you very much! I wish there was a way to bring this to the top of search results. Now I need to figure out how to dynamically create jobs... On Tuesday, 5 February 2013 08:36:18 UTC, Viliam Aboši wrote: > > I know this "thread" is old, but in case someone has the sa

Re: "wipe out current workspace" via REST API?

2014-01-21 Thread Daniel Beck
Not as a 'look, here's everything you can use like an API'. I've looked at the Javadoc, sources, or the web UI to find these in the past. Javadoc/sources example: You want to perform an action on a freestyle project. Go to javadoc.jenkins-ci.org and look for "freestyle", and you'll find e.g.: ht

Plot Plugin - Line Colour

2014-01-21 Thread Glenn Halstead
Hi folks, I'm using the Plot plugin and I'd like to change the colours used for the plot lines (because some of them represent Pass and Fail). Is it possible to do this? thanks Glenn -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsu

Re: How to browse the results (target) directory

2014-01-21 Thread Vivekanand S V
You can use wildcards (ant pattern) I think (**/*.log) if you know the extension. or *.* if you need all the files. If both wont work, then you better move the logs to a separate folder (or zip it) during the build process and use that for archiving. On Tue, Jan 21, 2014 at 4:15 PM, Moddy Ʈe'en

Re: How to browse the results (target) directory

2014-01-21 Thread Moddy Ʈe'eni
You mean using Archive the artifacts? I can't do that. There are potentially hundreds of such files, and I don't know their names beforehand. Moddy On Tue, Jan 21, 2014 at 9:07 PM, Maciej Jaros wrote: > Moddy Ʈe'eni (2014-01-21 09:13): > > My testing job (Maven/TestNG) creates logs for failed

ssh-agent remote windows slave

2014-01-21 Thread Tobias Hieta
Hi, I am trying to setup my slaves to the ssh-agent plugin. This works great on the unix slaves, but I am having problems with the windows slave. This one seems to require tomcat native libraries, which is where I get lost since I am not a Java dude. I have installed the binaries that I downloa

Re: How to browse the results (target) directory

2014-01-21 Thread Maciej Jaros
Moddy Ʈe'eni (2014-01-21 09:13): My testing job (Maven/TestNG) creates logs for failed tests. Is there a way to view these logs using jenkins' http server? Currently I have to login into the machine and/or copy files with FTP. My files are under the workspace directory, but I can write them s

RE: LDAP Plugin update failure

2014-01-21 Thread David Aldrich
Ok, it's working for me now. Thanks David From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Maciej Jaros Sent: 21 January 2014 10:01 To: jenkinsci-users@googlegroups.com Subject: Re: LDAP Plugin update failure David Aldrich (2014-01-21 09:26): Hi I

Re: LDAP Plugin update failure

2014-01-21 Thread Maciej Jaros
David Aldrich (2014-01-21 09:26): Hi I am trying to download LDAP Plugin v.1.8, but for the last two days I have got error: hudson.util.IOException2: Failed to download from http://updates.jenkins-ci.org/download/plugins/ldap/1.8/ldap.hpi Does this indicate a problem with the updates serv

A question about matrix parent build jobs

2014-01-21 Thread David Aldrich
Hi I am using the 'Matrix Tie Parent' plugin to tie the parent build job of our matrix jobs to a specific node. I want the parent job to be allocated to a Linux slave, not one of our Windows slaves, so I chose to tie it to our Jenkins master (which runs on Linux). My question is: Can multipl

problem to download jenkins 1.548

2014-01-21 Thread David Gang
Hi all, Is there an alternative site to download jenkins? When trying to download from http://updates.jenkins-ci.org/download/war/1.548/jenkins.war I get ERROR 504: Gateway Time-out. Thanks, David -- You received this message because you are subscribed to the Google Groups "Jenkins Users" gr

LDAP Plugin update failure

2014-01-21 Thread David Aldrich
Hi I am trying to download LDAP Plugin v.1.8, but for the last two days I have got error: hudson.util.IOException2: Failed to download from http://updates.jenkins-ci.org/download/plugins/ldap/1.8/ldap.hpi Does this indicate a problem with the updates server? Best regards David -- You rece

How to browse the results (target) directory

2014-01-21 Thread Moddy Ʈe'eni
My testing job (Maven/TestNG) creates logs for failed tests. Is there a way to view these logs using jenkins' http server? Currently I have to login into the machine and/or copy files with FTP. My files are under the workspace directory, but I can write them somewhere else if it makes things ea