jenkins login issue under tomcat

2014-03-07 Thread Hemang Lavana
Hi, I have installed jenkins LTS ver 1.532.2 under tomcat and have enabled security via servlet container as follows: Access Control - Security Realm - Delegate to servlet container The tomcat server is configured to use LDAP for authentication. The login process works fine but upon login,

Build Unstable when using Fitnesse Plug in

2014-03-07 Thread Iain Kennelly
Hi, I am having an issue with Jenkins where all my builds are being marked as unstable. I am running Jenkins and fitnesse in a Linux Red Hat installation. I get the following in the console log: Xml results saved as UTF-8 to

Re: plugin wishlist/ideas

2014-03-07 Thread Tomáš Bambas
Thank you all for your suggestions! I like the most Installshield plugin and Scheduling plugin ideas. *rginga*, could you please provide me some more info, e.g. what possibilities would you expect from Installshield Plugin? *Mark*, I have to create some new plugin. It's because I have to use my

SECURITY-89 breaking remote scripts authentication

2014-03-07 Thread Jochen Hinrichsen
Dear group, since upgrading LTS from 1.532.1. to 1.532.2, the commit https://github.com/jenkinsci/jenkins/commit/5548b5220cfd496831b5721124189ff18fbb12a3 is active and breaks our existing authentication setup for remote scripts. Jenkins is configured to use LDAP for human login users, and

Re: SECURITY-89 breaking remote scripts authentication

2014-03-07 Thread Daniel Beck
It appears that the commit mostly fixes the issue of users that used to exist in the directory. Which is definitely an issue, especially in larger organizations, so I guess this change will be kept. As a workaround in your case, it should be easy to modify your security realm (LDAP Plugin?) to

Project with dependencies: incorrect upstream build [Maven][Artifactory]

2014-03-07 Thread Albee
I have created 3 Jenkins jobs that rely to each other. The latter one (project 3) depends on project 1 and project 2. However my project 3 has now compilation errors. When I click on the build information of project 3, I see it relies on build #7 of project 1 and build #3 of project 2, which

Github Plugin throws exception when using 'pull_request' type

2014-03-07 Thread Nukul Bhasin
I opened a JIRA yesterday but I did not hear back - https://issues.jenkins-ci.org/browse/JENKINS-22071 so I am asking here if anyone can help work around this issue. When configuring a Webhook from github of type 'push' the post is successfully processed by the plugin. When a Webhook from

Re: Groovy task to promote job via Promoted Builds Plugin

2014-03-07 Thread Benny Hofmann
Hi, I have not found a way to solely trigger a promotion via a groovy script. However you are able to trigger a build and give a parameter with which a promotion will be triggered after the build is through. You will have to check Promote immediately once the build is complete based on build

Re: Get User that approved a promotion

2014-03-07 Thread Benny Hofmann
You could use the Rest API, you will need to know the promotion build number: jenkins url/job/job name/promotion/process/promotion name/promotion build nr/api/json?pretty=true - causes.userName Am Sonntag, 22. Dezember 2013 14:20:24 UTC+1 schrieb alex ouzounis: Hi all, Is there a way to

RE: plugin wishlist/ideas

2014-03-07 Thread Ginga, Dick
Tomas, I would take a look at the command line parameters for IsCmdBld.exe and provide fields for each. You should allow token expansion so that Jenkins environment variables can be used. You should support selecting different versions of IsCmdBld as we build installers with 2010, 2011 and

Re: Update existing job configuration parameter from code

2014-03-07 Thread Eric Pyle
You need to update the ParametersAction object of the build. I found the solution in the following link: https://groups.google.com/forum/#!topic/jenkinsci-users/szhuDfCvpiE. I could not use the code exactly as written in my company's instance of Jenkins. The ParametersAction.createUpdated

Re:Github Plugin throws exception when using 'pull_request' type

2014-03-07 Thread Kevin Fleming (BLOOMBERG/ 731 LEXIN)
First, keep in mind that nearly everyone in the Jenkins community is a volunteer, and they do what they can to help out. Very few JIRA issues will ever get a response within one day, let alone one week! Your issue is that you are trying to use the GitHub plugin for something it does not know

Re: Jenkins API

2014-03-07 Thread JonathanRRogers
On Thursday, March 6, 2014 3:01:04 PM UTC-5, Andrew Sumner wrote: Couple of questions: 1. Where can I find a list of functions I can call? eg I found toggleOffline while searching the internet, I don't think its strictly an api method, but where can I find documentation for this and

Re: Rebooting Windows Slaves

2014-03-07 Thread Eric Pyle
I've been working on Groovy code to do this. Essentially it takes the slave offline (equivalent to clicking Mark this node temporarily offline button). Any running jobs on the slave continue, but no new jobs are accepted. Once the slave is offline it goes into a loop monitoring the countBusy()

Re: Jenkins API

2014-03-07 Thread Eric Pyle
Re: 1 - see http://jenkins-ci.361315.n4.nabble.com/quot-wipe-out-current-workspace-quot-via-REST-API-td4687766.html for suggestions on how to find the most useful functions. Re: 2 - The comments on the Jenkins wiki page mentioned by Robin Rosenberg contain several examples of Python code to

Is it possible to have non editable execute shell for users?

2014-03-07 Thread Maneesh M P
I have a job which has two shell executions, one set of operation happens in shell and another set of execution happens in Execute shell in remote server option. I want to lock down or give only read permission to Execute shell in remote server steps to users. Is there a way to achieve the

Re: Is it possible to have non editable execute shell for users?

2014-03-07 Thread Slide
I don't think that is currently possible, you would need to extend the buildstep to allow a read only flag and then check for administrator or some other privilege. On Fri, Mar 7, 2014 at 2:58 PM, Maneesh M P maneesh.po...@gmail.com wrote: I have a job which has two shell executions, one set