Jenkins Surefire Cross Reference Source code

2013-08-29 Thread Gaurang shah
Hi Guys, Is there any way I can cross reference source code in Surefire plugin of Jenkins. I got this example on the internet, however this only cross reference source code while generating html reports, i want source code cross reference in the surefire reports which jenkins shows after

Re: Jenkins with Webdriver falil to launch browser

2013-08-29 Thread Gaurang shah
Thanks Roger, For the update, however i figure out what was wrong. Earlier i was starting Jenkins from the war file and everything was working fine. however after I install it as windows services it stopped working. After searching i realize that i require node to be created where i want

Jenkins Shows Empty Reports for CheckStyle Plugin

2013-08-29 Thread Gaurang shah
Hi Guys, I am trying to configure *checkstyle *plugin for few days, however facing a problem. I have *Pre-Steps *I am invoking following Maven Goal, *checkstyle:checkstyle* And I have configured Checkstyle reports on dashboard as well. When i see the console it shows the following line,

Jenkins and Ruby commands - fail to execute via SSH (non interactive shell problem)

2013-08-29 Thread Avihay Eyal
Hi, I have a job trying to call some Ruby commands, like bundle, rake, etc.. The problem is, that when I'm trying to execute these commands via the Execute Shell, I receive an *error saying bundle: not found.* When I'm opening a shell of my own, this commands work, so it might be related to

Re: Manual Promotion and Upstream Promotion Criteria along with Role Strategy plugin

2013-08-29 Thread John Vacz
Am 22.08.2013 14:41, schrieb deevant07: Hi, I have the following scenario. A build job is created. On successful build i want the build to be promoted by a particular role( DEV Approvers - Using Role Strategy Plugin ) to environment say DEV. On successful completion of DEV promotion i want

Re: Manual Promotion and Upstream Promotion Criteria along with Role Strategy plugin

2013-08-29 Thread deevant07
Thanks for the reply... I agree it works fine with manual approver as username, but i am trying to use role which is defined using RoleStrategy plugin. By mentioning the role as manual approver it does not provide Approve Button but only Force promotion Regards, Deevan -- View this message in

Warnings Plugin with JsLint issuing a SAXParseException?

2013-08-29 Thread Giovanni Toraldo
Hi, I've setup a new project with the latest version of warnings plugin to scan js file with the JsLint integrated scanner. However, it looks like that the plugin is using the wrong scanner (an XML one?), hence I've selected JsLint from the dropdown for files of type **/.js The stacktrace I

jenkins is deleting files

2013-08-29 Thread Paul McGregory
Jenkins is deploying a git repository to my web-servers / nodes directly into the htdocs of the apache This are only static files like css or js, nor images, videos, etc. Those files are not in the git repository. For some reason sometimes jenkins is deleting those files, which are not in the

Right procedure to...

2013-08-29 Thread Christian Catalano
Hi everyone, I am executing a PT for my company... in my targets there is a server with a Jenkins application. I think I have found a severe security vulnerability so I would like to know the right procedure to: - advise the jenkins team - send the documentation to explait the vulnerability

Right procedure to send for Security Advisories

2013-08-29 Thread Christian Catalano
Hi everyone, I am executing a PT for my company... in my targets there is a server with a Jenkins application. I think I have found a severe security vulnerability so I would like to know the right procedure to: - advise the jenkins team - send the documentation to explait the vulnerability

Re: Right procedure to send for Security Advisories

2013-08-29 Thread teilo
Hi Christian, You should create an issue in the Jenkins bug tracker under the Security Issues project. This project has restricted access so only the select few will be able to see your report. See https://wiki.jenkins-ci.org/display/JENKINS/Security+Advisories for more info. /James On

Re: Right procedure to send for Security Advisories

2013-08-29 Thread Christian Catalano
Ok I am doing it... is this the right procedure to obtain a CVE too? Can you help me? Christian On Thu, Aug 29, 2013 at 12:47 PM, teilo teilo+goo...@teilo.net wrote: Hi Christian, You should create an issue in the Jenkins bug tracker under the Security Issues project. This project has

Re: Jenkins with Webdriver falil to launch browser

2013-08-29 Thread Eric Pyle
By default, Windows services run under the Local System account, which does not have access to the desktop. JNLP slaves run as the user logged in who starts up JNLP. Likewise, starting from a war file you run as the user who issues the startup command (java -jar jenkins.war). Eric On

Use of Jenkins environment variable in directory path

2013-08-29 Thread TP
I'm relatively new to the Jenkins world and I'm having issues with the use of environment variables. I'm currently running builds from code I check out from a git repository. I inject an environment variable called GIT_BUILD_NUMBER that I pull from the checkout and use it successfully in a

Request for GIT commit rights

2013-08-29 Thread Edward Hurst-Frost
Hi, I already have a few hosted plugins, which up to now I've been maintaining over SVN, but just seen this is deprecated so I'd like to switch to GIT. My jenkins-ci.org username is cafebabe. My gitbub username is also cafebabe. My plugins include sounds-plugin, speaks-plugin, avatar-plugin.

One parameter depending on the other

2013-08-29 Thread Mateusz Polański
Is there any possibility to make one choice parameter be depending on the choice taken in the other? Any plugins, triggered jobs? Or do I have to do this in different jobs? -- View this message in context:

Re: SVN Checkout failing on Jenkins slave servers

2013-08-29 Thread todd heidenthal
Hello, I am experiencing the same issue as the OP. And while Andreas' chose to ignore the OP's statement that he had entered his credentials, I noticed that and have entered my credentials repeatedly. On the credential screen, it indicates that the credentials are good, but the project

Re: Request for GIT commit rights

2013-08-29 Thread nicolas de loof
I've added you to corresponding repositories 2013/8/29 Edward Hurst-Frost edw...@hurst-frost.net Hi, I already have a few hosted plugins, which up to now I've been maintaining over SVN, but just seen this is deprecated so I'd like to switch to GIT. My jenkins-ci.org username is cafebabe.

RE: Right procedure to send for Security Advisories

2013-08-29 Thread Matthew.Webber
I opened a “Security Issues” ticket (SECURITY-53) back in Jan/2013, with no response. So I’m not sure what triggers someone to actually look at your report … From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of teilo Sent: 29 August 2013 11:48 To:

Re: Right procedure to send for Security Advisories

2013-08-29 Thread teilo
My experience (of just one) was that it got picked up and looked at pretty quickly. Perhaps it got missed if it was towards the end of holidays, or because one of the select few[1] was busy flying around the world for Jenkins user events - so a prod on the dev list may help to spur things

Re: Jenkins and Ruby commands - fail to execute via SSH (non interactive shell problem)

2013-08-29 Thread Chanda Unmack
When you open a shell of your own, are you logged into the same machine and as the same user as Jenkins is running? It could be the environment variables that are set for your user aren't the same as the Jenkins user. I know we source the .bash_profile before running any ruby commands, but that's

Re: Use of Jenkins environment variable in directory path

2013-08-29 Thread mark_kendzior
Have you tried to use ${GIT_BUILD_NUMBER} instead of %GIT_BUILD_NUMBER%? If you do a SET command in the second Batch command block do you see the GIT_BUILD_NUMBER set? Is it possible to run the commands you need to in the first block where GIT_BUILD_NUMBER appears to be working fine? Thanks

Re: Jenkins Shows Empty Reports for CheckStyle Plugin

2013-08-29 Thread Richard Bywater
We had a similar problem with Junit test results which was being caused by an OutOfMemory error. Perhaps it's something similar (or perhaps not but its a start :) ) Richard. On Thursday, August 29, 2013, Gaurang shah wrote: Hi Guys, I am trying to configure *checkstyle *plugin for few

Re: Loading the list of choices from file or database

2013-08-29 Thread Owen B. Mehegan
Try the Extended Choice Parameter plugin: https://wiki.jenkins-ci.org/display/JENKINS/Extended+Choice+Parameter+plugin On Wednesday, August 28, 2013 1:15:25 AM UTC-7, M Polański wrote: When I have a parameterized build, how can I load the choice list for the choice parameter from a file or

Re: rsync instead of archiving?

2013-08-29 Thread JonathanRRogers
On Wednesday, August 28, 2013 5:10:38 PM UTC-4, Avihay Eyal wrote: Hi, I have a job that builds a debug version, and a job that runs regression tests and publish code coverage. The code coverage (gcovr) needs *access to the code base* itself, which is close to *3 GB.* I've tried *archiving*

Re: Running a shell script in Windows.

2013-08-29 Thread schleprock
to change the exec that is used in Execute Shell on a windows based server (jenkins running on windows or a jenkins slave running on windows) you cannot use: #!/bin/bash as you get the error stated. it appears that jenkins takes whatever is after the #! and adds that to the command line that

job level permissions not taking precidence over global permissions

2013-08-29 Thread Maven User
Hi all - I want to allow all users at the global level to do a few things BUT for a particular job, I only want a few people to be able to run it. I seems like once at a global level, if authenticated users have been granted access to run a job then on a per job basis, I can't specify a

Re: Jenkins Shows Empty Reports for CheckStyle Plugin

2013-08-29 Thread Ullrich Hafner
Why are you running CheckStyle as pre step? Can you retry as Build step? Is there a [CHECKSTYLE] Message in the Log? Am Donnerstag, 29. August 2013 schrieb Gaurang shah : Hi Guys, I am trying to configure *checkstyle *plugin for few days, however facing a problem. I have *Pre-Steps *I am

Re: rsync instead of archiving?

2013-08-29 Thread Avihay Eyal
Cause I have a machine that's used for build purpose, and a machine that's used for regression/unittest. So the output files that trace the code coverage, are actually produced on machine that run the regression/unittest, but these coverage files (.gcda files) and must be joined with the

Re: Jenkins and Ruby commands - fail to execute via SSH (non interactive shell problem)

2013-08-29 Thread Avihay Eyal
Hi, I solved it via calling to #!/bin/bash, and after that calling to few ruby initialize function (rvm, and something else I can't remember now...). That did the trick...Thanks anyway :) On Thursday, August 29, 2013 8:18:09 PM UTC+3, Chanda Unmack wrote: When you open a shell of your own,

Post-build on success-only still triggered on failure...

2013-08-29 Thread Jeff
Running the latest Jenkins 1.529 and we have a Maven job that has an HTTPRequest post-build step set to run only on a stable job. However, it is triggered even when the Maven build fails. Could this be a side effect of the Maven error messages not showing up? -- Jeff Vincent See my LinkedIn

Collect artifacts from multi-config build and upload to a server

2013-08-29 Thread Roland Asmann
Hi all, I currently have an environment set up with 5-7 jenkins instances. I have several multi-config jobs, that run on 2-3 machines. What I need is a way to collect the artifacts that are created on the nodes onto the master (which is the server running the lightweight multi-config job) and

Re: rsync instead of archiving?

2013-08-29 Thread Jonathan Rogers
Avihay Eyal wrote: Cause I have a machine that's used for build purpose, and a machine that's used for regression/unittest. So the output files that trace the code coverage, are actually produced on machine that run the regression/unittest, but these coverage files (.gcda files) and must be

Re: Trac Publisher plugin

2013-08-29 Thread Daniel Ritchie
I'll join Magnus on this being an unresolved issue for us. In my scenario, we're using Debian 6.0.7 apt versions of Jenkins and Trac. Jenkins 1.529 Trac Plugin 1.13 Trac Publisher 1.3 Trac 0.11.7-4 trac-xmlrpc 1.0.6+svn6598-1 Basically, take today's Debian Squeeze (previous stable), install

Re: job level permissions not taking precidence over global permissions

2013-08-29 Thread Daniel Beck
This is desired behavior in Project-based Matrix security. Try adding a user/group with no permissions on a specific job. This no-op entry will simply disappear when saving. Permissions granted globally cannot be revoked on specific jobs using this security strategy. You could use Role

Re: job level permissions not taking precidence over global permissions

2013-08-29 Thread Maven User
Thank you so much! It also seems additive - so if I add everyone to the job with read-only perms, it's in addition to their global permissions? On Thursday, August 29, 2013 7:16:20 PM UTC-4, Daniel Beck wrote: This is desired behavior in Project-based Matrix security. Try adding a

Re: rsync instead of archiving?

2013-08-29 Thread Daniel Beck
You could trigger the test/coverage build using Parameterized Trigger plugin, specifying the node name and workspace path the compilation ran on (i.e. the rsync source host and folder) as parameters. If you're using host names for node names, you're done, otherwise, you need to do a little

Re: Trac Publisher plugin

2013-08-29 Thread Brent Atkinson
Jenkins 1.529 Trac Plugin 1.13 Trac Publisher 1.3 Trac 0.11.7-4 trac-xmlrpc 1.0.6+svn6598-1 Could you also provide the configuration settings you are using? 127.0.0.1 - - [29/Aug/2013:18:10:49 -0400] POST /trac HTTP/1.1 500 829 - Apache XML RPC 3.1.3 (Jakarta Commons httpclient

Re: Trac Publisher plugin

2013-08-29 Thread Daniel Ritchie
My previous test was done according to jenkins-php.org configuration on the Jenkins side, and install-and-use config (according to Trac Wiki's mod_wsgi instructions) on the Trac side. I've a solution (upgrade Trac to 0.12.3) that works. Since I was due for Debian distribution upgrade, I did

Re: Trac Publisher plugin

2013-08-29 Thread Olemis Lang
On 8/29/13, Brent Atkinson brent.atkin...@gmail.com wrote: Jenkins 1.529 Trac Plugin 1.13 Trac Publisher 1.3 Trac 0.11.7-4 trac-xmlrpc 1.0.6+svn6598-1 Could you also provide the configuration settings you are using? Up to this point I notice that latest version of Trac XML-RPC is 1.1.2

Re: Jenkins Shows Empty Reports for CheckStyle Plugin

2013-08-29 Thread Gaurang shah
Hi Guys, Following is my configuration, let me know if anything is wrong. I am not able to see any [CHECKSTYLE] message in the logs. [image: Inline image 1] Gaurang Shah Blog: qtp-help.blogspot.com Mobile: +91 738756556 On Fri, Aug 30, 2013 at 1:33 AM, Ullrich Hafner