Jenkins reports a different ruby version than what is installed on build server

2013-10-22 Thread Maneesh M P
If I check the version of ruby by logging into build server, I get the version as 1.9.3 ruby --version ruby 1.9.3p448 (2013-06-27 revision 41675) [x86_64-linux] But if I execute ruby --version through execute shell option in jenkins, I get a different ruby version. [xyz-abc] $ /bin/bash -xe

Violations plugin uses wrong path to find pep8 report

2013-10-22 Thread Dmitry S
I'm using pytest to run pep8 check: py.test --pep8 --junitxml=reports\pep8.log I setup a job to look for pep8.log file in reports\pep8.log But when i run the job I see that the path where violations plugin looks for reports makes no sense: generated xml file:

Re: Violations plugin uses wrong path to find pep8 report

2013-10-22 Thread Ulli Hafner
What did you specify as file pattern? Ulli Am 22.10.2013 um 12:07 schrieb Dmitry S thexmeis...@gmail.com: I'm using pytest to run pep8 check: py.test --pep8 --junitxml=reports\pep8.log I setup a job to look for pep8.log file in reports\pep8.log But when i run the job I see that the

Re: Jenkins 1.514 successfully uses explicitly told ANT version to build, but fails to find ANT when asking to use Standard.

2013-10-22 Thread karg
Are you sure you are talking about ANT? It sounds like you talk about JDK. Am Freitag, 18. Oktober 2013 18:55:22 UTC+2 schrieb Daniel Beck: The 'default' tool version uses whatever is the preferred version on the node's PATH. In this case, there is none. This can be useful when you don't

Re: Jenkins 1.514 successfully uses explicitly told ANT version to build, but fails to find ANT when asking to use Standard.

2013-10-22 Thread karg
In my particular case, the ANT script to run is so ridiculously simple that it won't fail ever. It consists only of a single exec. So I'd be happy if I could just tell Jenkins that it shall just pick any ANT to do the job. Am Montag, 21. Oktober 2013 11:39:52 UTC+2 schrieb Andreas Schilling:

Re: Violations plugin uses wrong path to find pep8 report

2013-10-22 Thread Dmitry S
reports\pep8.log вторник, 22 октября 2013 г., 14:23:05 UTC+4 пользователь Ullrich Hafner написал: What did you specify as file pattern? Ulli Am 22.10.2013 um 12:07 schrieb Dmitry S thexm...@gmail.com javascript: : I'm using pytest to run pep8 check: py.test --pep8

Re: Violations plugin uses wrong path to find pep8 report

2013-10-22 Thread Ulli Hafner
Seems that something is broken there. Please create a bug report in our issue tracker. Can you please check if the pep8 parser in the warnings plug-in works for your file? If the same exceptions appears there too then maybe your input file is somehow corrupt? Ulli Am 22.10.2013 um 12:37

how to display a filtered history of a parameterized build?

2013-10-22 Thread Michal Maruska
Hello, I have a parameterized build. I would like to see the build history, but limited to those builds with a fixed parameter value. It seems customizable views do not list the history, so I'm lost. thanks -- You received this message because you are subscribed to the Google Groups

Re: Jenkins 1.514 successfully uses explicitly told ANT version to build, but fails to find ANT when asking to use Standard.

2013-10-22 Thread Les Mikesell
On Tue, Oct 22, 2013 at 5:26 AM, k...@quipsy.de wrote: In my particular case, the ANT script to run is so ridiculously simple that it won't fail ever. It consists only of a single exec. So I'd be happy if I could just tell Jenkins that it shall just pick any ANT to do the job. Is there an

Null pointer exception in ExtendedEmailPublisher after updated jenkins it's plugin and build script- Jenkins ver. 1.536 - Email Extension Plugin ver. 2.35.1

2013-10-22 Thread mubbashir
Hi guys, Today I had updated jenkins and it's plugin, after the update I am getting some weird exception as soon as jenkins is done with scm This will only happen if the build script of a job is updated. After updating the build script I wasn't able to save the job (see below the exception 1

Re: Jenkins 1.514 successfully uses explicitly told ANT version to build, but fails to find ANT when asking to use Standard.

2013-10-22 Thread karg
No, it is not. I want Jenkins to install ANT and then use that one, which works fine if I specify an explicit ANT version in the job. But I don't care that the exact version, as the job in fact would run with really any version of ANT. Am Dienstag, 22. Oktober 2013 14:53:12 UTC+2 schrieb

Re: Jenkins 1.514 successfully uses explicitly told ANT version to build, but fails to find ANT when asking to use Standard.

2013-10-22 Thread Daniel Beck
I used the tool whose version is least significant in most of my jobs as example, but as you're facing the exact same situation with Ant, it applies as well. That's basically the use case: You install Ant system-wide (e.g. from your Linux distro's repository), it's put into your PATH (possibly

Re: Null pointer exception in ExtendedEmailPublisher after updated jenkins it's plugin and build script- Jenkins ver. 1.536 - Email Extension Plugin ver. 2.35.1

2013-10-22 Thread Daniel Beck
I think we had this just yesterday, try removing and adding the email-ext publisher, then make sure to add a trigger (e.g. 'Success'). On 22.10.2013, at 14:59, mubbashir mubbashi...@gmail.com wrote: Hi guys, Today I had updated jenkins and it's plugin, after the update I am getting some

Re: Null pointer exception in ExtendedEmailPublisher after updated jenkins it's plugin and build script- Jenkins ver. 1.536 - Email Extension Plugin ver. 2.35.1

2013-10-22 Thread Ahmed Mubbashir Khan
I tried the same after posting to the mailing list, didn't help :( Regards, -- Ahmed Mubbashir Khan I don't make Software, I make it better http://about.me/mubbashir On Tue, Oct 22, 2013 at 6:09 PM, Daniel Beck m...@beckweb.net wrote: I think we had this just

Re: how to display a filtered history of a parameterized build?

2013-10-22 Thread Michal Maruska
On 22 October 2013 14:40, Michal Maruska mmaru...@gmail.com wrote: Hello, I have a parameterized build. I would like to see the build history, but limited to those builds with a fixed parameter value. It seems a possible way is to use the Pipeline View: invoke the parameterized build with

Re: Null pointer exception in ExtendedEmailPublisher after updated jenkins it's plugin and build script- Jenkins ver. 1.536 - Email Extension Plugin ver. 2.35.1

2013-10-22 Thread mubbashir
I tried the same after posting to the mailing list, didn't help :( It actually went back to the same thing where I wasn't able to save the job :( On Tuesday, 22 October 2013 18:09:51 UTC+4, Daniel Beck wrote: I think we had this just yesterday, try removing and adding the email-ext

Re: Null pointer exception in ExtendedEmailPublisher after updated jenkins it's plugin and build script- Jenkins ver. 1.536 - Email Extension Plugin ver. 2.35.1

2013-10-22 Thread Slide
Seems like something from the form is not making it through to the post with the values for the DataBoundConstructor of the triggers. project_triggers:[{stapler-class:,kind:},{stapler-class: ,kind:},{stapler-class:,kind:},{stapler-class :,kind:},{stapler-class:,kind:}] I'm not familiar enough

post-step top-level maven target doesn't find class

2013-10-22 Thread Ramin Rad
I am having a class not found exception in Jenkins when I run a “Post Step” top-level maven target. A google search leads me to not having set M2_HOME or M3_HOME env variable. But on my Ubuntu, I don’t have a maven home because I used apt-get to install maven and didn’t build it from scratch!

How can I parameterize a value across all of my jobs

2013-10-22 Thread Eric Wood
I have a bunch of jobs that are connecting to a TFS server and I have to put the server path in all of my jobs.  I'm migrating to a new server and would like to be able to parameterize the value for this server across all my jobs so I do not have to go through them all and change in the future.

Re: How can I parameterize a value across all of my jobs

2013-10-22 Thread Robert CHAVANNE
Eric Wood eric.wood at rocketmail.com writes: I have a bunch of jobs that are connecting to a TFS server and I have to put the server path in all of my jobs.  I'm migrating to a new server and would like to be able to parameterize the value for this server across all my jobs so I do not

Different behavior while executing puppet lint through jenkins

2013-10-22 Thread Maneesh M P
Puppet-lint just works fine while executing the command from build server console using the below command find . -iname *.pp -exec puppet-lint --log-format %{path}:%{linenumber}:%{check}:%{KIND}:%{message} {} \; But gives all sorts of error while executing same command through jenkins execute

Re: Different behavior while executing puppet lint through jenkins

2013-10-22 Thread Daniel Beck
You don't have your usual shell environment when running a command from Jenkins. Compare the output of the 'env' command. From the installation instructions at https://rvm.io/rvm/install, it looks like you just need to add the command source $HOME/.rvm/scripts/rvm before your find

email-ext plugin error

2013-10-22 Thread agentbilly
After updating Jenkins to 1.536 today, the email extension plugin version (2.35.1) started throwing this exception. ERROR: Processing failed due to a bug in the code. Please report this to jenkinsci-us...@googlegroups.comjava.lang.NullPointerException

Re: email-ext plugin error

2013-10-22 Thread Slide
Yes, already fixed via pull request. A new version will be released shortly. On Tue, Oct 22, 2013 at 9:48 AM, agentbilly agentbi...@gmail.com wrote: After updating Jenkins to 1.536 today, the email extension plugin version (2.35.1) started throwing this exception. ERROR: Processing failed

Re: post-step top-level maven target doesn't find class

2013-10-22 Thread Ramin Rad
Just as a follow-up, it turns out I do have a maven home, /usr/share/maven2, but setting my M2_HOME env variable didn't help. A colleague suggested that this might be an issue with plugin dependency. Also, I failed to mention in my original post that maven works in all the build steps except the

S3 links from several jobs

2013-10-22 Thread Curtis Kline
I have a Build Flow job that orchestrates running three Jenkins projects with various parameters, so there are a total of 12 (Maven) jobs that run. After these jobs are complete, a wrap-up job is run that just emails out a list of S3 links to the artifacts that were produced in each of the 12

Re: Different behavior while executing puppet lint through jenkins

2013-10-22 Thread Maneesh M P
I did that, I tried providing all path through slave properties as well. But still no luck. Is there a way I can make jenkins use same shell environment? Thanks, M On Tuesday, October 22, 2013 9:30:48 AM UTC-7, Daniel Beck wrote: You don't have your usual shell environment when running a

Re: Different behavior while executing puppet lint through jenkins

2013-10-22 Thread Maneesh M P
If i execute using ssh also I get the same error like jenkins ssh -l build 300.ab..xy.com find . -iname *.pp -exec puppet-lint --log-format %{path}:%{linenumber}:%{check}:%{KIND}:%{message} {} \; /home/cdadmin/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:247:in

Cannot save changes to job configuration after upgrading to 1.536

2013-10-22 Thread Vinod Doshi
I upgraded jenkins to 1.536 today. After the upgrade, I cannot save any job configuration changes. There is a exception thrown by github plugin. I uninstalled github,github-api plugin and then everything started working fine. I was able to save job configuration changes. Are hte github and

EC2 instances terminate after building job

2013-10-22 Thread Vinod Doshi
I used latest stable 1.509.4 to setup a jenkins master. I installed the EC2 plugin and setup a job to launch on demand instances from an ami. The instance is launched fine and the build succeeds. However about a min after the build succeeds the slave on ec2 is disconnected with an unexpected

Problems in login using LDAP server

2013-10-22 Thread Mauricio Fuentes Montero
Hi everyone, I'm trying to configure security for a new instance of jenkins using LDAP. Our LDAP server allows anonymous queries and I've set up all the needed information on jenkins. When I try to login, I enter the username and password and press the log in, I understand that if the login

Re: Problems in login using LDAP server

2013-10-22 Thread Daniel Beck
What's shown on /whoAmI ? On 22.10.2013, at 23:01, Mauricio Fuentes Montero fuentes.mont...@gmail.com wrote: Hi everyone, I'm trying to configure security for a new instance of jenkins using LDAP. Our LDAP server allows anonymous queries and I've set up all the needed information on

Re: Problems in login using LDAP server

2013-10-22 Thread Mauricio
+56985101709 On Oct 22, 2013 6:08 PM, Daniel Beck m...@beckweb.net wrote: What's shown on /whoAmI ? Are you refering to the *nix command or is that a Jenkins plugin? On 22.10.2013, at 23:01, Mauricio Fuentes Montero fuentes.mont...@gmail.com wrote: Hi everyone, I'm trying to

Re: Problems in login using LDAP server

2013-10-22 Thread Daniel Beck
On 22.10.2013, at 23:21, Mauricio fuentes.mont...@gmail.com wrote: Are you refering to the *nix command or is that a Jenkins plugin? That's a URL path to a Jenkins page with some diagnostic information about your user account. Open http://jenkinshost/whoAmI or

help with Collabnet Plugin authenticating to team forge via certificates

2013-10-22 Thread DrewS
I have installed jenkins on RHEL 6.4 via RPM. I have installed the CollabNet Plugin to enable uploads of files/etc... to our project after a build. The SCM repository is svn, and is functioning fine after modification of the .subversion/servers file: ssl-client-cert-file =

Re: Problems in login using LDAP server

2013-10-22 Thread Mauricio
On Oct 22, 2013 6:49 PM, Daniel Beck m...@beckweb.net wrote: On 22.10.2013, at 23:21, Mauricio fuentes.mont...@gmail.com wrote: Are you refering to the *nix command or is that a Jenkins plugin? That's a URL path to a Jenkins page with some diagnostic information about your user account.

Test results aggregation

2013-10-22 Thread Maureen Barger
With multiple environments running their own sets of tests, what is the best way to aggregate their results? So far, solutions I have googled are not working. Thanks. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group

Re: Different behavior while executing puppet lint through jenkins

2013-10-22 Thread Maneesh M P
I solved this issue by launching the slave manually using the command ssh bu...@3.ab.xy.com 'bash -l -c java -jar /home/build/jenkins/slave.jar' On Tuesday, October 22, 2013 11:17:10 AM UTC-7, Maneesh M P wrote: If i execute using ssh also I get the same error like jenkins ssh -l build

Upgraded plugins, now my install is bricked.

2013-10-22 Thread Joshua J. Kugler
I have Jenkins 1.509.4 installed on RHEL6. I just went and upgraded all my plugins, and when Jenkins restarted, I get the attached spit out in the browser. Nothing in /var/log/jenkins/jenkins.log, just spit to the browser. I can't even get to my manage screen to try disabling plugins to see

Re: How to pass CLASSPATH variable to Jenkins.

2013-10-22 Thread puyo puy
Thanks guys, I found the solution by calling the bat file directly from Jenkins. In this way, CLASSPATH is available. exec dir=. executable=cmd.exe arg line='/c my.bat'/ /exec On Fri, Oct 18, 2013 at 5:04 PM, Dirk Heinrichs d...@recommind.com wrote: Am 18.10.2013

Compiler warnings script in global configuration

2013-10-22 Thread Maneesh M P
I would like to add a error finding script for our project. I know I can add a groovy script under compiler warning global configuration. Can anyone give me complete example of the global configuration and a groovy script ? Thanks, M -- You received this message because you are subscribed to