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

2013-10-23 Thread karg
There is none installed and I actually don't want to manually install one 
as Jenkins has an auto-install facility. So I do not see any other solution 
than specifying "ANT 1.9" in the job, as obviously Jenkins does not have a 
"I don't care, just install any" feature.

Am Mittwoch, 23. Oktober 2013 14:42:16 UTC+2 schrieb LesMikesell:
>
> On Wed, Oct 23, 2013 at 1:51 AM,  > wrote: 
> > It would be great if there would simply be a "Standard: [ANT 1.9]" 
> selection 
> > box in Jenkins' ANT installations section, so I could avoid manually 
> > installing it! :-) 
> > 
>
> I think standard means 'the one you already have and use' not 'pick 
> something random' in this case.  Can't you just specify some version 
> number that you know is available and  will work? 
>
> -- 
>Les Mikesell 
>  lesmi...@gmail.com  
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Creating and deleting View in jenkins via REST APIs ....

2013-10-23 Thread Mubs
Hi,

I tried searching for this , but couldn't figure out a way to create and 
delete a view through REST APIs.
Is this functionality available through REST API ? Is there any alternate 
way of doing this ?
Please help.

-Mubs

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Different behavior while executing puppet lint through jenkins

2013-10-23 Thread JonathanRRogers
On Tuesday, October 22, 2013 2:00:44 PM UTC-4, Maneesh M P wrote:
>
> 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? 
>

Set any variables that matter explicitly within the Jenkins job. I have a 
simple shell script which every job's shell command sources so that I don't 
have to worry about the difference between interactive and Jenkins-run 
environments.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


RE: Jenkins OutOfMemory while Recording Tests Results

2013-10-23 Thread James Nord (jnord)
Which version of Jenkins?

1.509.4 should have a fixed fix for this issue (unless all your tests are 
failing.)

/James

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Mehdi Hayani
Sent: 23 October 2013 15:23
To: jenkinsci-users@googlegroups.com
Subject: Re: Jenkins OutOfMemory while Recording Tests Results

i'm using -Xmx2048m, Are you sure that chaging JVM property is the only way to 
solve this problem ?
--
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Travails with upgrading, part 2

2013-10-23 Thread Joshua J. Kugler
So, I was using an old Jenkins version. Upgraded to to 1.533, then downgraded 
to 1.509.4.

Most things seem to be OK.  But when I go to a build, instead of the build 
results and matrix results (blue and red balls), I'm getting this 500 error 
(just where the results are supposed to be, the rest of the page renders OK):

Exception: org.apache.commons.jelly.JellyTagException: 
jar:file:/var/lib/jenkins/war/WEB-INF/lib/jenkins-
core-1.509.4.jar!/hudson/model/AbstractBuild/index.jelly:67:61:  
No page found 'digest.jelly' for class hudson.matrix.MatrixRun
Stacktrace:
javax.servlet.ServletException: org.apache.commons.jelly.JellyTagException: 
jar:file:/var/lib/jenkins/war/WEB-INF/lib/jenkins-
core-1.509.4.jar!/hudson/model/AbstractBuild/index.jelly:67:61:  
No page found 'digest.jelly' for class hudson.matrix.MatrixRun

(full strack trace attached)

I stopped Jenkins, deleted the $JENKINS_HOME/war directory, and then started 
Jenkins. No change. Not all build results produce that output. Just some of 
them. Not sure of the variable that is causing the difference. Oddly, some 
older builds of the job display fine. But both the "good" and "bad" builds were 
well before the first upgrade to 1.533.

Any ideas where I should be looking?

j

-- 
Joshua J. Kugler - Fairbanks, Alaska
Azariah Enterprises - Programming and Website Design
jos...@azariah.com - Jabber: pedah...@gmail.com
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Exception: org.apache.commons.jelly.JellyTagException: 
jar:file:/var/lib/jenkins/war/WEB-INF/lib/jenkins-core-1.509.4.jar!/hudson/model/AbstractBuild/index.jelly:67:61:
  No page found 'digest.jelly' for class hudson.matrix.MatrixRun
Stacktrace:
javax.servlet.ServletException: org.apache.commons.jelly.JellyTagException: 
jar:file:/var/lib/jenkins/war/WEB-INF/lib/jenkins-core-1.509.4.jar!/hudson/model/AbstractBuild/index.jelly:67:61:
  No page found 'digest.jelly' for class hudson.matrix.MatrixRun
at 
org.kohsuke.stapler.jelly.JellyClassTearOff.serveIndexJelly(JellyClassTearOff.java:117)
at 
org.kohsuke.stapler.jelly.JellyFacet.handleIndexRequest(JellyFacet.java:127)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:674)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:799)
at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:381)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:685)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:799)
at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:381)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:685)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:799)
at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:239)
at 
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:685)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:799)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:587)
at org.kohsuke.stapler.Stapler.service(Stapler.java:218)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
at winstone.ServletConfiguration.execute(ServletConfiguration.java:248)
at winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:376)
at 
hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95)
at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87)
at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48)
at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
at 
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
at 
hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
at 
org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:46)
at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
at 
hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
at winst

Re: Upgraded plugins, now my install is "bricked."

2013-10-23 Thread Joshua J. Kugler
Turns out as part of the downgrade from 1.533 to the 1.509.4 the credentials 
plugin got marked as disabled.  Apparently some other plugin wanted it, and 
thus wouldn't work correctly without it.  Removed the credentials.jpi.disabled 
file in $JENKINS_HOME/plugins cleared it up.

Is there no dependency checking in the plugin infrastructure, so as to not 
allow a plugin to be disabled if another plugin relies on it?

j

On Tuesday, October 22, 2013 16:22:40 Slide wrote:
> Do you have publish-over-ssh or publish-over-ftp installed? I believe there
> was some issue with one or both of those.
> 
> On Tue, Oct 22, 2013 at 4:13 PM, Joshua J. Kugler wrote:
> > 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 what
> > might be causing it.
> > 
> > Help?  Pointers to documentation?
> > 
> > Thanks in advance for any help given!
> > 
> > j
> > 
> > --
> > Joshua J. Kugler - Fairbanks, Alaska
> > Azariah Enterprises - Programming and Website Design
> > jos...@azariah.com - Jabber: pedah...@gmail.com
> > PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A
> > 
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Jenkins Users" group.
> > To unsubscribe from this group and stop receiving emails from it, send an
> > email to jenkinsci-users+unsubscr...@googlegroups.com.
> > For more options, visit https://groups.google.com/groups/opt_out.

-- 
Joshua J. Kugler - Fairbanks, Alaska
Azariah Enterprises - Programming and Website Design
jos...@azariah.com - Jabber: pedah...@gmail.com
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


unable to Zip without full directory path

2013-10-23 Thread kenp11
We have been trying to zip a file with a Jenkins linux build server with a 
network path. We were trying use the different options for zip.
We either get the full directory path with zip -r option or no directory 
with zip -j
We need just the main path without the network path:example: /Documents & 
/InstallDirectory
Here are the commands we used in shell:
Note: using zip -j creates a zip with a full directory path & no files

ssh rlinuxbuilduser@prd64db zip -rj 
//foothill/Applications/FoundationRelease/Deltek/InstallDirectory.zip 
//foothill/Applications/FoundationRelease/Deltek/InstallDirectory

ssh rlinuxbuilduser@prd64db zip -r 
//foothill/Applications/FoundationRelease/Deltek/InstallDirectory.zip 
//foothill/Applications/FoundationRelease/Deltek/InstallDirectory


What are we doing wrong?

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Jenkins OutOfMemory while Recording Tests Results

2013-10-23 Thread Mehdi Hayani
i'm using -Xmx2048m, Are you sure that chaging JVM property is the only way
to solve this problem ?

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Jenkins OutOfMemory while Recording Tests Results

2013-10-23 Thread Maureen Barger
You may have to do it again with larger values. What are your MAVEN_OPTS now?

On Wed, Oct 23, 2013 at 6:02 PM, Mehdi Hayani  wrote:
> Hello Maureen,
>
> I've already done this, but it didn't work :(
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Jenkins OutOfMemory while Recording Tests Results

2013-10-23 Thread Mehdi Hayani
Hello Maureen,

I've already done this, but it didn't work :(

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Compiler warnings script in global configuration

2013-10-23 Thread Ullrich Hafner
But was is the output of the plugin in the console log?

Am Mittwoch, 23. Oktober 2013 schrieb Maneesh M P :

> Yes, there is no side panel link. But the error Trend graph is displayed
> on the right side with no "error" data.
> Just wondering why it is not capturing the error, since my regexp detected
> correctly from sample log
>
> On Wednesday, October 23, 2013 8:30:03 AM UTC-7, Ullrich Hafner wrote:
>>
>> What is in your console log? Is there no side panel link?
>>
>> Ulli
>>
>> Am 23.10.2013 um 10:19 schrieb Maneesh M P :
>>
>> Ok finally I am able to figure out the regular expression -> ^.*(err:)
>> (.*)at(.*\.pp):(\d+)$
>> But I had to change the order of mapping script strings the way it is
>> assigned, that shouldnt be a problem i guess.
>>
>> import hudson.plugins.warnings.**parser.Warning
>>
>> String category = matcher.group(1)
>> String message = matcher.group(2)
>> String fileName = matcher.group(3)
>> String lineNumber = matcher.group(4)
>>
>>
>> return new Warning(fileName, Integer.parseInt(lineNumber), "Dynamic
>> Parser", category, message);
>>
>> Now I configure the job with Name I gave for parser, But i don't see any
>> "Link name" displayed in the build page :(
>> any clue?
>>
>> Thanks,
>> M
>>
>> On Tuesday, October 22, 2013 11:32:14 PM UTC-7, Maneesh M P wrote:
>>>
>>> Yeah, I found that now.. Thank you!! But I am not able to figure out a a
>>> regular expression for below pattern
>>>
>>> 19:35:11 err: Could not parse for environment production: Syntax error
>>> at '{'; expected '}' at /home/build/jenkins/workspace/**
>>> puppet-parser-try/modules/**profile/manifests/shard/**master.pp:5
>>> 19:35:11 err: Try 'puppet help parser validate' for usage
>>>
>>> Whatever I write, I get this error "The regular expression does not
>>> match the example text."
>>>
>>> Thanks,
>>> M
>>>
>>> On Tuesday, October 22, 2013 10:31:49 PM UTC-7, Ullrich Hafner wrote:

 Isn't there an example in the help of the script and regular
 expression text fields?

 Ulli

 Am Mittwoch, 23. Oktober 2013 schrieb 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 the Google
> Groups "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to jenkinsci-users+unsubscribe@**googlegroups.com.
> For more options, visit 
> https://groups.google.com/**groups/opt_out
> .
>

>> --
>> You received this message because you are subscribed to the Google Groups
>> "Jenkins Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to jenkinsci-use...@**googlegroups.com.
>> For more options, visit 
>> https://groups.google.com/**groups/opt_out
>> .
>>
>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-users+unsubscr...@googlegroups.com  'cvml', 'jenkinsci-users%2bunsubscr...@googlegroups.com');>.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Jenkins OutOfMemory while Recording Tests Results

2013-10-23 Thread Maureen Barger
Hi - you have to adjust Maven's heap -
job  - configure - build - go to Maven section, click Advanced - add
new parameters to MAVEN_OPTS
ie   -Xmx1024m -XX:PermSize=256m

Hope this helps!

On Wed, Oct 23, 2013 at 5:43 PM, Mehdi Hayani  wrote:
> Hi,
>
> We are getting an OutOfMemory error in Jenkins while recording tests
> results.
>
> ---
>  T E S T S
> ---
> Running com.plugin.TestPlugin
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 430.495 sec
> - in com.plugin.TestPlugin
>
> Results :
>
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
>
> [JENKINS] Recording test results
> java.lang.OutOfMemoryError: Java heap space
> mavenExecutionResult exceptions not empty
> message : Java heap space
> Stack trace :
> java.lang.OutOfMemoryError: Java heap space
>   at java.nio.HeapCharBuffer.(HeapCharBuffer.java:57)
>   at java.nio.CharBuffer.allocate(CharBuffer.java:331)
>   at java.nio.charset.CharsetDecoder.decode(CharsetDecoder.java:792)
>   at java.nio.charset.Charset.decode(Charset.java:810)
>   at hudson.tasks.junit.SuiteResult.(SuiteResult.java:215)
>   at hudson.tasks.junit.SuiteResult.parseSuite(SuiteResult.java:147)
>   at hudson.tasks.junit.SuiteResult.parse(SuiteResult.java:132)
>   at hudson.tasks.junit.TestResult.parse(TestResult.java:267)
>   at hudson.tasks.junit.TestResult.parsePossiblyEmpty(TestResult.java:223)
>   at hudson.tasks.junit.TestResult.parse(TestResult.java:192)
>   at
> hudson.maven.reporters.SurefireArchiver.postExecute(SurefireArchiver.java:148)
>   at
> hudson.maven.Maven3Builder$MavenExecutionListener.recordMojoEnded(Maven3Builder.java:453)
>   at
> hudson.maven.Maven3Builder$MavenExecutionListener.mojoSucceeded(Maven3Builder.java:435)
>   at
> org.jfrog.build.extractor.maven.BuildInfoRecorder.mojoSucceeded(BuildInfoRecorder.java:255)
>   at
> org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:87)
>   at
> org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:42)
>   at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:228)
>   at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>   at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>   at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
>   at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
>   at
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
>   at
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
>   at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
>   at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>   at
> org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:79)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>   at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:606)
>   at
> org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)
>   at
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
> channel stopped
>
> Even chaging the JVM Xmx property to 2048Mo does not change the build
> output.
>
> We think that this may occur because Jenkins tries to serialize test reports
> (which it's size in this case is about 325Mo) and send it from the slave
> (where the build is executed) to the master,
>
>
> I would appreciate any suggestion on how to solve this issue.
> Thanks in advance.
>
>
> Regards,
> Mehdi
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Jenkins OutOfMemory while Recording Tests Results

2013-10-23 Thread Mehdi Hayani
Hi,

We are getting an OutOfMemory error in Jenkins while recording tests
results.

---
 T E S T S
---
Running com.plugin.TestPlugin
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
430.495 sec - in com.plugin.TestPlugin

Results :

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

[JENKINS] Recording test results
java.lang.OutOfMemoryError: Java heap space
mavenExecutionResult exceptions not empty
message : Java heap space
Stack trace :
java.lang.OutOfMemoryError: Java heap space
at java.nio.HeapCharBuffer.(HeapCharBuffer.java:57)
at java.nio.CharBuffer.allocate(CharBuffer.java:331)
at java.nio.charset.CharsetDecoder.decode(CharsetDecoder.java:792)
at java.nio.charset.Charset.decode(Charset.java:810)
at hudson.tasks.junit.SuiteResult.(SuiteResult.java:215)
at hudson.tasks.junit.SuiteResult.parseSuite(SuiteResult.java:147)
at hudson.tasks.junit.SuiteResult.parse(SuiteResult.java:132)
at hudson.tasks.junit.TestResult.parse(TestResult.java:267)
at hudson.tasks.junit.TestResult.parsePossiblyEmpty(TestResult.java:223)
at hudson.tasks.junit.TestResult.parse(TestResult.java:192)
at 
hudson.maven.reporters.SurefireArchiver.postExecute(SurefireArchiver.java:148)
at 
hudson.maven.Maven3Builder$MavenExecutionListener.recordMojoEnded(Maven3Builder.java:453)
at 
hudson.maven.Maven3Builder$MavenExecutionListener.mojoSucceeded(Maven3Builder.java:435)
at 
org.jfrog.build.extractor.maven.BuildInfoRecorder.mojoSucceeded(BuildInfoRecorder.java:255)
at 
org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:87)
at 
org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:42)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:228)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at 
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at 
org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:79)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
channel stopped

Even chaging the JVM Xmx property to 2048Mo does not change the build
output.

We think that this may occur because Jenkins tries to serialize test
reports (which it's size in this case is about 325Mo) and send it from the
slave (where the build is executed) to the master,


I would appreciate any suggestion on how to solve this issue.
Thanks in advance.


Regards,
Mehdi

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Compiler warnings script in global configuration

2013-10-23 Thread Maneesh M P
Yes, there is no side panel link. But the error Trend graph is displayed on 
the right side with no "error" data. 
Just wondering why it is not capturing the error, since my regexp detected 
correctly from sample log

On Wednesday, October 23, 2013 8:30:03 AM UTC-7, Ullrich Hafner wrote:
>
> What is in your console log? Is there no side panel link?
>
> Ulli
>
> Am 23.10.2013 um 10:19 schrieb Maneesh M P 
> >:
>
> Ok finally I am able to figure out the regular expression -> ^.*(err:) 
> (.*)at(.*\.pp):(\d+)$
> But I had to change the order of mapping script strings the way it is 
> assigned, that shouldnt be a problem i guess.
>
> import hudson.plugins.warnings.parser.Warning
>
> String category = matcher.group(1)
> String message = matcher.group(2)
> String fileName = matcher.group(3)
> String lineNumber = matcher.group(4)
>
>
> return new Warning(fileName, Integer.parseInt(lineNumber), "Dynamic 
> Parser", category, message);
>
> Now I configure the job with Name I gave for parser, But i don't see any 
> "Link name" displayed in the build page :(
> any clue?
>
> Thanks,
> M
>
> On Tuesday, October 22, 2013 11:32:14 PM UTC-7, Maneesh M P wrote:
>>
>> Yeah, I found that now.. Thank you!! But I am not able to figure out a a 
>> regular expression for below pattern
>>
>> 19:35:11 err: Could not parse for environment production: Syntax error at 
>> '{'; expected '}' at 
>> /home/build/jenkins/workspace/puppet-parser-try/modules/profile/manifests/shard/master.pp:5
>> 19:35:11 err: Try 'puppet help parser validate' for usage
>>
>> Whatever I write, I get this error "The regular expression does not 
>> match the example text."
>>
>> Thanks,
>> M
>>
>> On Tuesday, October 22, 2013 10:31:49 PM UTC-7, Ullrich Hafner wrote:
>>>
>>> Isn't there an example in the help of the script and regular 
>>> expression text fields?
>>>
>>> Ulli
>>>
>>> Am Mittwoch, 23. Oktober 2013 schrieb 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 the Google 
 Groups "Jenkins Users" group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to jenkinsci-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.

>>>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to jenkinsci-use...@googlegroups.com .
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Jenkins Maven NPE

2013-10-23 Thread Christoph Kutzinski

> JVM: Oracle Zero VM 21.0-b17
What kind of VM is that? I've never heard of it.

From the stacktrace it looks like you're trying to run the Maven build 
with a Java 5 VM (which is not supported). So you might want to try it 
with a Java 6 or 7 VM.


Anyway, the NullPointerException shouldn't happen. Could you please open 
a JIRA issue for that?


Am 23.10.2013 21:12, schrieb Christian Beikov:
It seems that jenkins is not able to parse my pom.xml or maybe it is 
something different?

Please Help!

My System:

OS: Darwin 9.8.0
JVM: Oracle Zero VM 21.0-b17
AS: JBoss EAP 6.1
Jenkins: 1.535
Maven: 3.1.1
Maven-Plugin: 2.0

Console Output:
Parsing POMs
[Booking] $ java -cp 
/Users/jboss/.jenkins/plugins/maven-plugin/WEB-INF/lib/maven31-agent-1.4.jar:/Users/jboss/.jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.1.1/boot/plexus-classworlds-2.5.1.jar:/Users/jboss/.jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.1.1/conf/logging
 jenkins.maven3.agent.Maven31Main 
/Users/jboss/.jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.1.1 
/Library/JBossAS/current/standalone/tmp/vfs/tempad4550f3c74303/jenkins.war-9212d6c4d4b41483/WEB-INF/lib/remoting-2.32.jar
 
/Users/jboss/.jenkins/plugins/maven-plugin/WEB-INF/lib/maven31-interceptor-1.4.jar
 
/Users/jboss/.jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.4.jar
 49293
<===[JENKINS REMOTING CAPACITY]===>channel started
ERROR: Processing failed due to a bug in the code. Please report this 
tojenkinsci-us...@googlegroups.com
java.lang.NullPointerException
    
athudson.maven.AbstractMavenProcessFactory.newProcess(AbstractMavenProcessFactory.java:261)  

athudson.maven.ProcessCache.get(ProcessCache.java:235)  


athudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:739)
  

athudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:562)  

athudson.model.Run.execute(Run.java:1665)  

athudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:509)  

athudson.model.ResourceController.execute(ResourceController.java:88)  

athudson.model.Executor.run(Executor.java:246)  

project=hudson.maven.MavenModuleSet@156ffe7[Booking]
project.getModules()=[hudson.maven.MavenModule@1c92bb[Booking/at.ac.tuwien.sse:sse-agile-1][Booking/at.ac.tuwien.sse:sse-agile-1][relativePath:]]
project.getRootModule()=hudson.maven.MavenModule@1c92bb[Booking/at.ac.tuwien.sse:sse-agile-1][Booking/at.ac.tuwien.sse:sse-agile-1][relativePath:]
FATAL: null
java.lang.NullPointerException
    
athudson.maven.AbstractMavenProcessFactory.newProcess(AbstractMavenProcessFactory.java:261)  

athudson.maven.ProcessCache.get(ProcessCache.java:235)  


athudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:739)
  

athudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:562)  

athudson.model.Run.execute(Run.java:1665)  

athudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:509)  

athudson.model.ResourceController.execute(ResourceController.java:88)  

athudson.model.Executor.run(Executor.java:246)  


Jenkins Maven NPE

2013-10-23 Thread Christian Beikov
It seems that jenkins is not able to parse my pom.xml or maybe it is 
something different?

Please Help!

My System:

OS: Darwin 9.8.0
JVM: Oracle Zero VM 21.0-b17
AS: JBoss EAP 6.1
Jenkins: 1.535
Maven: 3.1.1
Maven-Plugin: 2.0

Console Output:

Parsing POMs

[Booking] $ java -cp 
/Users/jboss/.jenkins/plugins/maven-plugin/WEB-INF/lib/maven31-agent-1.4.jar:/Users/jboss/.jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.1.1/boot/plexus-classworlds-2.5.1.jar:/Users/jboss/.jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.1.1/conf/logging
 jenkins.maven3.agent.Maven31Main 
/Users/jboss/.jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.1.1 
/Library/JBossAS/current/standalone/tmp/vfs/tempad4550f3c74303/jenkins.war-9212d6c4d4b41483/WEB-INF/lib/remoting-2.32.jar
 
/Users/jboss/.jenkins/plugins/maven-plugin/WEB-INF/lib/maven31-interceptor-1.4.jar
 
/Users/jboss/.jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.4.jar
 49293

<===[JENKINS REMOTING CAPACITY]===>channel started

ERROR: Processing failed due to a bug in the code. Please report this to 
jenkinsci-users@googlegroups.com
java.lang.NullPointerException
    
athudson.maven.AbstractMavenProcessFactory.newProcess(AbstractMavenProcessFactory.java:261)  

athudson.maven.ProcessCache.get(ProcessCache.java:235)  


athudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:739)
  

athudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:562)  

athudson.model.Run.execute(Run.java:1665)  

athudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:509)  

athudson.model.ResourceController.execute(ResourceController.java:88)  

athudson.model.Executor.run(Executor.java:246)  

project=hudson.maven.MavenModuleSet@156ffe7[Booking]
project.getModules()=[hudson.maven.MavenModule@1c92bb[Booking/at.ac.tuwien.sse:sse-agile-1][Booking/at.ac.tuwien.sse:sse-agile-1][relativePath:]]
project.getRootModule()=hudson.maven.MavenModule@1c92bb[Booking/at.ac.tuwien.sse:sse-agile-1][Booking/at.ac.tuwien.sse:sse-agile-1][relativePath:]
FATAL: null
java.lang.NullPointerException
    
athudson.maven.AbstractMavenProcessFactory.newProcess(AbstractMavenProcessFactory.java:261)  

athudson.maven.ProcessCache.get(ProcessCache.java:235)  


athudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:739)
  

athudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:562)  

athudson.model.Run.execute(Run.java:1665)  

athudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:509)  

athudson.model.ResourceController.execute(ResourceController.java:88)  

athudson.model.Executor.run(Executor.java:246)  



--

Mit freundlichen Grüßen,

*Christian Beikov*

--
You received this message because you are subscribed to the Google Groups "Jenkins 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googleg

Re: SSH-Agent git problem

2013-10-23 Thread Christian Beikov

Did that and now I get the following:

Fetching upstream changes from g...@bitbucket.org:kuetsch/booking.git
java.lang.UnsatisfiedLinkError: could not load FFI provider 
jnr.ffi.provider.jffi.Provider
at jnr.ffi.provider.InvalidRuntime.newLoadError(InvalidRuntime.java:83)
at jnr.ffi.provider.InvalidRuntime.findType(InvalidRuntime.java:24)
at jnr.ffi.Struct$NumberField.(Struct.java:649)
at jnr.ffi.Struct$Unsigned8.(Struct.java:880)
at 
jnr.unixsocket.SockAddrUnix$BSDSockAddrUnix.(SockAddrUnix.java:112)
at jnr.unixsocket.SockAddrUnix.create(SockAddrUnix.java:99)
at jnr.unixsocket.UnixSocketAddress.(UnixSocketAddress.java:32)
at 
com.cloudbees.jenkins.plugins.sshagent.jna.AgentServer.start(AgentServer.java:66)
at 
com.cloudbees.jenkins.plugins.sshagent.jna.JNRRemoteAgent.(JNRRemoteAgent.java:64)
at 
com.cloudbees.jenkins.plugins.sshagent.jna.JNRRemoteAgentStarter.call(JNRRemoteAgentStarter.java:54)
at 
com.cloudbees.jenkins.plugins.sshagent.jna.JNRRemoteAgentStarter.call(JNRRemoteAgentStarter.java:35)
at hudson.remoting.LocalChannel.call(LocalChannel.java:45)
at 
com.cloudbees.jenkins.plugins.sshagent.jna.JNRRemoteAgentFactory.start(JNRRemoteAgentFactory.java:61)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:885)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.fetch(CliGitAPIImpl.java:163)
at hudson.plugins.git.GitAPI.fetch(GitAPI.java:229)
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:610)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:836)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:861)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1411)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:652)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:557)
at hudson.model.Run.execute(Run.java:1665)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:509)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:246)
Caused by: java.lang.ExceptionInInitializerError
at 
jnr.ffi.provider.jffi.NativeRuntime.getInstance(NativeRuntime.java:49)
at jnr.ffi.provider.jffi.Provider.(Provider.java:29)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at java.lang.Class.newInstance0(Class.java:372)
at java.lang.Class.newInstance(Class.java:325)
at 
jnr.ffi.provider.FFIProvider$SystemProviderSingletonHolder.getInstance(FFIProvider.java:60)
at 
jnr.ffi.provider.FFIProvider$SystemProviderSingletonHolder.(FFIProvider.java:49)
at jnr.ffi.provider.FFIProvider.getSystemProvider(FFIProvider.java:35)
at jnr.ffi.Runtime$SingletonHolder.(Runtime.java:85)
at jnr.ffi.Runtime.getSystemRuntime(Runtime.java:70)
at jnr.unixsocket.SockAddrUnix.(SockAddrUnix.java:34)
at 
jnr.unixsocket.SockAddrUnix$BSDSockAddrUnix.(SockAddrUnix.java:110)
at jnr.unixsocket.SockAddrUnix.create(SockAddrUnix.java:99)
at jnr.unixsocket.UnixSocketAddress.(UnixSocketAddress.java:32)
at 
com.cloudbees.jenkins.plugins.sshagent.jna.AgentServer.start(AgentServer.java:66)
at 
com.cloudbees.jenkins.plugins.sshagent.jna.JNRRemoteAgent.(JNRRemoteAgent.java:64)
at 
com.cloudbees.jenkins.plugins.sshagent.jna.JNRRemoteAgentStarter.call(JNRRemoteAgentStarter.java:54)
at 
com.cloudbees.jenkins.plugins.sshagent.jna.JNRRemoteAgentStarter.call(JNRRemoteAgentStarter.java:35)
at hudson.remoting.LocalChannel.call(LocalChannel.java:45)
at 
com.cloudbees.jenkins.plugins.sshagent.jna.JNRRemoteAgentFactory.start(JNRRemoteAgentFactory.java:61)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:885)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.getHeadRev(CliGitAPIImpl.java:1244)
at 
hudson.plugins.git.UserRemoteConfig$DescriptorImpl.doCheckUrl(UserRemoteConfig.java:154)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at 
org.kohsuke.stapler.Function$InstanceFunction.invoke(Fu

Is there a way to get console ouput total line number count - for email-ext plugin

2013-10-23 Thread Maneesh M P
I use a jelly script with email-ext plugin to trigger mail in html 
template. Currently I am hard coding the build.getLog() value, so remaining 
lines it will truncate.
Is there a way I can get the total line of console output and pass to 
build.getLog()






! PUPPET-LINT WARNINGS !
${line}




Thanks,
M

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Jenkins SSH slave launcher for 10x faster data transfer rates

2013-10-23 Thread Dan Tehranian
Oh one other thing... This was prompted by Kohsuke mentioning recent 
improvements around SSH performance in Jenkins.  Unfortunately this is 
currently only available in 1.536 and not on LTS (yet). 
 See: http://jenkins-ci.org/changelog

Dan


On Wednesday, October 23, 2013 11:16:48 AM UTC-7, Dan Tehranian wrote:
>
> (Sharing this based on a conversation with Kohsuke at JUC this morning)
>
> Greetings!  If you use Jenkins to generate/archive/copy large artifacts 
> like ISOs, OVAs, Vagrant Boxes, etc then you may find this useful.
>
> Leveraging the learning from 
> http://www.damtp.cam.ac.uk/user/ejb48/sshspeedtests.html I created a 
> custom SSH slave launcher which gives my organization 10x faster network IO 
> performance when archiving & copying large artifacts.
>
> Here's the gist: https://gist.github.com/tehranian/7123269
>
> You may have to modify the details to fit your environment, but the 
> principle is there.
>
> Kohsuke - Maybe we can incorporate the learnings from the SSH Cipher/MAC 
> benchmarks into Jenkins' SSH Slave plugin.  I see that "trilead-ssh" has 
> implementations of several ciphers:
>   
> https://github.com/jenkinsci/trilead-ssh2/tree/master/src/com/trilead/ssh2/crypto/cipher
>
> Dan
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Jenkins SSH slave launcher for 10x faster data transfer rates

2013-10-23 Thread Dan Tehranian
(Sharing this based on a conversation with Kohsuke at JUC this morning)

Greetings!  If you use Jenkins to generate/archive/copy large artifacts 
like ISOs, OVAs, Vagrant Boxes, etc then you may find this useful.

Leveraging the learning 
from http://www.damtp.cam.ac.uk/user/ejb48/sshspeedtests.html I created a 
custom SSH slave launcher which gives my organization 10x faster network IO 
performance when archiving & copying large artifacts.

Here's the gist: https://gist.github.com/tehranian/7123269

You may have to modify the details to fit your environment, but the 
principle is there.

Kohsuke - Maybe we can incorporate the learnings from the SSH Cipher/MAC 
benchmarks into Jenkins' SSH Slave plugin.  I see that "trilead-ssh" has 
implementations of several ciphers:
  
https://github.com/jenkinsci/trilead-ssh2/tree/master/src/com/trilead/ssh2/crypto/cipher

Dan

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: SSH-Agent git problem

2013-10-23 Thread Stephen Connolly
You probably want to switch to Git 2.0 and it's native support for
credentials (i.e. should not need ssh-agent configured explicitly)


On 23 October 2013 18:08, Christian Beikov wrote:

> Hello,
>
> I have a problem with jenkins git plugin and ssh-agent checking out from a
> bitbucket git repository. The credentials defined for the ssh-agent are the
> right ones.
>
> I have no clue what this error is about. Please help me.
>
> My system:
>
> OS: Darwin 9.8.0
> JVM: Oracle Zero VM 21.0-b17
> AS: JBoss EAP 6.1
> Jenkins: 1.535
> Git Plugin: 1.5.0
> Git Client: 1.4.3
> SSH-Agent: 1.4
> SSH-Credentials: 1.5.1
>
> The stacktrace:
>
> [ssh-agent] Using credentials jboss (sse-jenkins bitbucket account)
> [ssh-agent] Looking for ssh-agent implementation...
> [ssh-agent]   Java/JNR ssh-agent
> [ssh-agent] FATAL: Could not find a suitable ssh-agent provider
> [ssh-agent] Diagnostic report
> [ssh-agent] * Java/JNR ssh-agent
> [ssh-agent] java.lang.UnsatisfiedLinkError: could not load FFI provider 
> jnr.ffi.provider.jffi.Provider
> [ssh-agent]   at 
> jnr.ffi.provider.InvalidRuntime.newLoadError(InvalidRuntime.java:83)
> [ssh-agent]   at 
> jnr.ffi.provider.InvalidRuntime.findType(InvalidRuntime.java:24)
> [ssh-agent]   at jnr.ffi.Struct$NumberField.(Struct.java:649)
> [ssh-agent]   at jnr.ffi.Struct$Unsigned8.(Struct.java:880)
> [ssh-agent]   at 
> jnr.unixsocket.SockAddrUnix$BSDSockAddrUnix.(SockAddrUnix.java:112)
> [ssh-agent]   at 
> jnr.unixsocket.SockAddrUnix.create(SockAddrUnix.java:99)
> [ssh-agent]   at 
> jnr.unixsocket.UnixSocketAddress.(UnixSocketAddress.java:32)
> [ssh-agent]   at 
> com.cloudbees.jenkins.plugins.sshagent.jna.AgentServer.start(AgentServer.java:66)
> [ssh-agent]   at 
> com.cloudbees.jenkins.plugins.sshagent.jna.JNRRemoteAgent.(JNRRemoteAgent.java:64)
> [ssh-agent]   at 
> com.cloudbees.jenkins.plugins.sshagent.jna.JNRRemoteAgentStarter.call(JNRRemoteAgentStarter.java:54)
> [ssh-agent]   at 
> com.cloudbees.jenkins.plugins.sshagent.jna.JNRRemoteAgentStarter.call(JNRRemoteAgentStarter.java:35)
> [ssh-agent]   at 
> hudson.remoting.LocalChannel.call(LocalChannel.java:45)
> [ssh-agent]   at 
> com.cloudbees.jenkins.plugins.sshagent.jna.JNRRemoteAgentFactory.start(JNRRemoteAgentFactory.java:61)
> [ssh-agent]   at 
> com.cloudbees.jenkins.plugins.sshagent.SSHAgentBuildWrapper$SSHAgentEnvironment.(SSHAgentBuildWrapper.java:211)
> [ssh-agent]   at 
> com.cloudbees.jenkins.plugins.sshagent.SSHAgentBuildWrapper.createSSHAgentEnvironment(SSHAgentBuildWrapper.java:123)
> [ssh-agent]   at 
> com.cloudbees.jenkins.plugins.sshagent.SSHAgentBuildWrapper.preCheckout(SSHAgentBuildWrapper.java:93)
> [ssh-agent]   at 
> jenkins.scm.SCMCheckoutStrategy.preCheckout(SCMCheckoutStrategy.java:78)
> [ssh-agent]   at 
> hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:556)
> [ssh-agent]   at hudson.model.Run.execute(Run.java:1665)
> [ssh-agent]   at 
> hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:507)
> [ssh-agent]   at 
> hudson.model.ResourceController.execute(ResourceController.java:88)
> [ssh-agent]   at hudson.model.Executor.run(Executor.java:246)
> [ssh-agent] Caused by: java.lang.ExceptionInInitializerError
> [ssh-agent]   at 
> jnr.ffi.provider.jffi.NativeRuntime.getInstance(NativeRuntime.java:49)
> [ssh-agent]   at 
> jnr.ffi.provider.jffi.Provider.(Provider.java:29)
> [ssh-agent]   at 
> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> [ssh-agent]   at 
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
> [ssh-agent]   at 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> [ssh-agent]   at 
> java.lang.reflect.Constructor.newInstance(Constructor.java:525)
> [ssh-agent]   at java.lang.Class.newInstance0(Class.java:372)
> [ssh-agent]   at java.lang.Class.newInstance(Class.java:325)
> [ssh-agent]   at 
> jnr.ffi.provider.FFIProvider$SystemProviderSingletonHolder.getInstance(FFIProvider.java:60)
> [ssh-agent]   at 
> jnr.ffi.provider.FFIProvider$SystemProviderSingletonHolder.(FFIProvider.java:49)
> [ssh-agent]   at 
> jnr.ffi.provider.FFIProvider.getSystemProvider(FFIProvider.java:35)
> [ssh-agent]   at 
> jnr.ffi.Runtime$SingletonHolder.(Runtime.java:85)
> [ssh-agent]   at jnr.ffi.Runtime.getSystemRuntime(Runtime.java:70)
> [ssh-agent]   at 
> jnr.unixsocket.SockAddrUnix.(SockAddrUnix.java:34)
> [ssh-agent]   at 
> jnr.unixsocket.SockAddrUnix$BSDSockAddrUnix.(SockAddrUnix.java:110)
> [ssh-agent]   ... 17 more
> [ssh-agent] Caused by: java.lang.IllegalStateException: Can't overwrite 
> cause
> [ssh-agent]   at java.lang.Throwable.

Re: Advice on integrating SonarQube with Jenkins?

2013-10-23 Thread Ed of the Mountain
This may apply to C++ development mostly, but I am hearing that SonarQube 
may not be well regarded.  

I suppose I could build similar functionality to the SonarQube C++ Plugin 
(Community) by 
installing the listed various external code analyzers dependencies this 
plug-in uses:

*Various external code analyzers used by SonarQube C++ Plugin:*


   - *Cppcheck*. Detects a wide range of problems ranging from performance 
issues and resource leakage to undefined behaviour. Binary packets are 
available on/for various platforms. Using the latest release pays off in 
general; compile from source if in doubt.
   - *RATS*. Detects (potential) security problems in code, sensible for code 
bases with increased security requirements. Use binary packages or compile from 
source.
   - *Vera++*. Focuses on code style issues. There's a binary package for 
Windows, users of other platforms are likely to compile themselves.
   - *Valgrind* (memcheck). Detects various memory management problems at 
runtime. Basically Linux only; just use the packages from your distribution.
   - *CppNcss*. Provides cyclomatic (McCabe) complexity measures. This is a 
Java program distributed as a zip archive. Just unpack and make sure the "bin" 
directory is in PATH.
   - *Pc-Lint*. Static analyser from Gimpel Software
   - *GCC, gcov, gcovr, Bullseye* and Python for coverage determination. 
Install Python and place the script somewhere on the PATH. 
   
I see Jenkins already has at least a Cppcheck 
Plugin and 
likely has added plugins supporting the above.  I think C++ Linux code 
analysis / code coverage might be a little easier than Windows.  I think 
Windows has all the pieces they just may be totally different or likely 
commercial rather than open source.


On Saturday, October 19, 2013 2:33:51 AM UTC-5, teilo wrote:
>
> Is best not to install it anywhere as it is an awful piece of software 
> based on it changing you build such that you are never guaranteed to get 
> the same build result foe identical source.
> Ie release 1.2.3 today and tag it, a year layer check out that tag and 
> build again and you can get a build failure or completely different report 
> result.
>
> That said if you must install it the good practice these days is to use a 
> new VM for each service.
>
A VM for each server seems like a good idea rather than combining with any 
of my existing VM's.

Thank you for the feedback!

-Ed 

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


SSH-Agent git problem

2013-10-23 Thread Christian Beikov
Hello,

I have a problem with jenkins git plugin and ssh-agent checking out from a 
bitbucket git repository. The credentials defined for the ssh-agent are the 
right ones.

I have no clue what this error is about. Please help me.

My system:

OS: Darwin 9.8.0
JVM: Oracle Zero VM 21.0-b17
AS: JBoss EAP 6.1
Jenkins: 1.535
Git Plugin: 1.5.0
Git Client: 1.4.3
SSH-Agent: 1.4
SSH-Credentials: 1.5.1

The stacktrace:

[ssh-agent] Using credentials jboss (sse-jenkins bitbucket account)
[ssh-agent] Looking for ssh-agent implementation...
[ssh-agent]   Java/JNR ssh-agent
[ssh-agent] FATAL: Could not find a suitable ssh-agent provider
[ssh-agent] Diagnostic report
[ssh-agent] * Java/JNR ssh-agent
[ssh-agent] java.lang.UnsatisfiedLinkError: could not load FFI provider 
jnr.ffi.provider.jffi.Provider
[ssh-agent] at 
jnr.ffi.provider.InvalidRuntime.newLoadError(InvalidRuntime.java:83)
[ssh-agent] at 
jnr.ffi.provider.InvalidRuntime.findType(InvalidRuntime.java:24)
[ssh-agent] at jnr.ffi.Struct$NumberField.(Struct.java:649)
[ssh-agent] at jnr.ffi.Struct$Unsigned8.(Struct.java:880)
[ssh-agent] at 
jnr.unixsocket.SockAddrUnix$BSDSockAddrUnix.(SockAddrUnix.java:112)
[ssh-agent] at 
jnr.unixsocket.SockAddrUnix.create(SockAddrUnix.java:99)
[ssh-agent] at 
jnr.unixsocket.UnixSocketAddress.(UnixSocketAddress.java:32)
[ssh-agent] at 
com.cloudbees.jenkins.plugins.sshagent.jna.AgentServer.start(AgentServer.java:66)
[ssh-agent] at 
com.cloudbees.jenkins.plugins.sshagent.jna.JNRRemoteAgent.(JNRRemoteAgent.java:64)
[ssh-agent] at 
com.cloudbees.jenkins.plugins.sshagent.jna.JNRRemoteAgentStarter.call(JNRRemoteAgentStarter.java:54)
[ssh-agent] at 
com.cloudbees.jenkins.plugins.sshagent.jna.JNRRemoteAgentStarter.call(JNRRemoteAgentStarter.java:35)
[ssh-agent] at 
hudson.remoting.LocalChannel.call(LocalChannel.java:45)
[ssh-agent] at 
com.cloudbees.jenkins.plugins.sshagent.jna.JNRRemoteAgentFactory.start(JNRRemoteAgentFactory.java:61)
[ssh-agent] at 
com.cloudbees.jenkins.plugins.sshagent.SSHAgentBuildWrapper$SSHAgentEnvironment.(SSHAgentBuildWrapper.java:211)
[ssh-agent] at 
com.cloudbees.jenkins.plugins.sshagent.SSHAgentBuildWrapper.createSSHAgentEnvironment(SSHAgentBuildWrapper.java:123)
[ssh-agent] at 
com.cloudbees.jenkins.plugins.sshagent.SSHAgentBuildWrapper.preCheckout(SSHAgentBuildWrapper.java:93)
[ssh-agent] at 
jenkins.scm.SCMCheckoutStrategy.preCheckout(SCMCheckoutStrategy.java:78)
[ssh-agent] at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:556)
[ssh-agent] at hudson.model.Run.execute(Run.java:1665)
[ssh-agent] at 
hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:507)
[ssh-agent] at 
hudson.model.ResourceController.execute(ResourceController.java:88)
[ssh-agent] at hudson.model.Executor.run(Executor.java:246)
[ssh-agent] Caused by: java.lang.ExceptionInInitializerError
[ssh-agent] at 
jnr.ffi.provider.jffi.NativeRuntime.getInstance(NativeRuntime.java:49)
[ssh-agent] at 
jnr.ffi.provider.jffi.Provider.(Provider.java:29)
[ssh-agent] at 
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[ssh-agent] at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
[ssh-agent] at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[ssh-agent] at 
java.lang.reflect.Constructor.newInstance(Constructor.java:525)
[ssh-agent] at java.lang.Class.newInstance0(Class.java:372)
[ssh-agent] at java.lang.Class.newInstance(Class.java:325)
[ssh-agent] at 
jnr.ffi.provider.FFIProvider$SystemProviderSingletonHolder.getInstance(FFIProvider.java:60)
[ssh-agent] at 
jnr.ffi.provider.FFIProvider$SystemProviderSingletonHolder.(FFIProvider.java:49)
[ssh-agent] at 
jnr.ffi.provider.FFIProvider.getSystemProvider(FFIProvider.java:35)
[ssh-agent] at 
jnr.ffi.Runtime$SingletonHolder.(Runtime.java:85)
[ssh-agent] at jnr.ffi.Runtime.getSystemRuntime(Runtime.java:70)
[ssh-agent] at 
jnr.unixsocket.SockAddrUnix.(SockAddrUnix.java:34)
[ssh-agent] at 
jnr.unixsocket.SockAddrUnix$BSDSockAddrUnix.(SockAddrUnix.java:110)
[ssh-agent] ... 17 more
[ssh-agent] Caused by: java.lang.IllegalStateException: Can't overwrite 
cause
[ssh-agent] at java.lang.Throwable.initCause(Throwable.java:456)
[ssh-agent] at 
com.kenai.jffi.Type$Builtin.lookupTypeInfo(Type.java:252)
[ssh-agent] at 
com.kenai.jffi.Type$Builtin.getTypeInfo(Type.java:237)
[ssh-agent] at com.kenai.jffi.Type.resolveSize(Type.java:155)
[ssh-agent] at com

Immediately Need Salesforce Consultants

2013-10-23 Thread Sai Kanth
Hi Partners,



Hope you are doing good. Please have a look over the below position and
please send me your most updated resume ASAP….



*Job Title:** Salesforce.com System Analyst/Technology Lead*

*Location:** El Segundo, Los Angeles, US*

*Duration** : 6 months*



*Min IT Experience:** 10 years***

* *

*Min Salesforce.com Technology Experience:* 5 years

* *

*Responsibilities:*

Should liaise with business teams to understand CRM business requirements
and translate into Salesforce.com design

Perform fit-gap analysis and detailed estimation for Salesforce.com projects

Delivery ownership of Functional and Technical Design for SFDC projects

Lead the development team for high quality and timely deliverables

Experience in Global Delivery Model working with Offshore teams

End to End ownership of complex Salesforce.com projects including
deployment and post deployment support

Perform preventive and corrective maintenance practices like root cause
analysis to remove and prevent defects

* *

*Skill Requirement:*

Certified in Salesforce.com Sales and Service clouds

Strong hands-on Apex programming and Visual Force pages development
capability

Good Java programming skills

Hands-on with job scheduling and Integration of Salesforce.com using Web
Services

Knowledge of Informatica Cloud, database.com, sites.com and CTI

Experienced in handling data migration and code deployment using data
loader and Eclipse respectively in SFDC environments

Well versed in Salesforce.com Fit gap analysis,  creation of SFDC design
and entity models

Good understanding of solution implementation on Force.com

Experienced in SFDC Release Management/deployment activities

Strong functional knowledge of CRM functions like Lead Management and
Campaign Management

Knowledge of testing tools and techniques to write scripts and set up test
environment for development and Integration environments

Strong customer interfacing skills, written and Verbal Communication skills

Working Experience in agile development projects



Thanks & Regards



Sai Kanth



*TekisHub Consulting Services LLC***

1000 N West Street, Suite 1200, Wilmington, Delaware, 19801

(D) 302 613 2500 Ext: 106 (F) 617 830 0525



Under Bill s.1618 Title III passed by the 105th U.S. Congress this mail
cannot be considered Spam as long as we include contact information and a
remove link for removal from our mailing list. To be removed from our
mailing list reply with *"REMOVE FROM THE MAILING LIST"* in the subject
heading and your email address in the body. Include complete address and/or
domain/ aliases to be removed. If you still get the emails, please call us
at the numbers given above.



 P Please consider the environment and do not print this email unless
absolutely necessary.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Unable to deploy jenkins.war in Apache Tomcat 7.0

2013-10-23 Thread Brett Delle Grazie
See interleaved,

Sent from my mobile so please forgive any auto correct errors

Kind regards,
Brett
On 20 Oct 2013 15:51, "Suhaas Mohandos"  wrote:
>
> Ok, finally, after trying out many things I decided to post this:
>
> I downloaded jenkins.war and put it in Tomcat webapps folder. When I
start tomcat I get the following error:
>
> Oct 20, 2013 7:18:01 PM org.apache.catalina.core.AprLifecycleListener init
> INFO: The APR based Apache Tomcat Native library which allows optimal
performance in production environments was not found on the
java.library.path: C:\Program Files
(x86)\Java\jre7\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program
Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS
Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program
Files (x86)\Windows Live\Shared;C:\Program Files (x86)\Intel\OpenCL
SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL
SDK\2.0\bin\x64;C:\Program Files\Intel\Intel(R) Management Engine
Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine
Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine
Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine
Components\IPT;C:\Program Files (x86)\Java\jdk1.7.0_09\bin;C:\Program Files
(x86)\Heroku\bin;C:\Program Files
(x86)\git\cmd;C:\Users\Karuna\Downloads;C:\Ruby200-x64\bin;C:\Users\Karuna\AppData\Local\Smartbar\Application\;C:\Program
Files\TortoiseSVN\bin;C:\Program Files (x86)\Java\jre7;C:\Program Files
(x86)\Java\jre7\bin;C:\Users\Karuna\Downloads\apache-tomcat-7.0.42\bin;.
> Oct 20, 2013 7:18:01 PM org.apache.coyote.AbstractProtocol init
> INFO: Initializing ProtocolHandler ["http-bio-8080"]
> Oct 20, 2013 7:18:01 PM org.apache.coyote.AbstractProtocol init
> INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
> Oct 20, 2013 7:18:01 PM org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 684 ms
> Oct 20, 2013 7:18:01 PM org.apache.catalina.core.StandardService
startInternal
> INFO: Starting service Catalina
> Oct 20, 2013 7:18:01 PM org.apache.catalina.core.StandardEngine
startInternal
> INFO: Starting Servlet Engine: Apache Tomcat/7.0.42
> Oct 20, 2013 7:18:01 PM org.apache.catalina.startup.HostConfig deployWAR
> INFO: Deploying web application archive
C:\Users\Karuna\Downloads\apache-tomcat-7.0.42\webapps\ROOT.war
> Oct 20, 2013 7:18:01 PM org.apache.catalina.startup.ContextConfig init
> SEVERE: Exception fixing docBase for context []
> java.util.zip.ZipException: error in opening zip file

Your download of Jenkins is broken. Please download it again and verify the
download with a zip utility.

> at java.util.zip.ZipFile.open(Native Method)
> at java.util.zip.ZipFile.(Unknown Source)
> at java.util.zip.ZipFile.(Unknown Source)
> at java.util.jar.JarFile.(Unknown Source)
> at java.util.jar.JarFile.(Unknown Source)
> at sun.net.www.protocol.jar.URLJarFile.(Unknown Source)
> at sun.net.www.protocol.jar.URLJarFile.getJarFile(Unknown Source)
> at sun.net.www.protocol.jar.JarFileFactory.get(Unknown Source)
> at sun.net.www.protocol.jar.JarURLConnection.connect(Unknown Source)
> at sun.net.www.protocol.jar.JarURLConnection.getJarFile(Unknown
Source)
> at org.apache.catalina.startup.ExpandWar.expand(ExpandWar.java:113)
> at
org.apache.catalina.startup.ContextConfig.fixDocBase(ContextConfig.java:722)
> at
org.apache.catalina.startup.ContextConfig.init(ContextConfig.java:843)
> at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:387)
> at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> at
org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)
> at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:110)
> at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139)
> at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
> at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
> at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
> at
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:976)
> at
org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1653)
> at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
> at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
> at java.util.concurrent.FutureTask.run(Unknown Source)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> at java.lang.Thread.run(Unknown Source)
>
> Oct 20, 2013 7:18:02 PM org.apache.catalina.core.StandardContext
resourcesStart
> SEVERE: Error starting static Resources
> java.lang.Il

Jenkins Window Service gives access denied in windows 2012

2013-10-23 Thread bernie
Hi All,

We have a fairly large Jenkins install (over 50 slaves).  Up until now the 
slaves were all Windows Server 2008.  I am trying our first install on 
Windows Server 2012 and am getting an error 5 access denied when I try to 
start the the slave service as a our user.  I am following the exact 
procedure we use on 2008, so I was wondering if anyone has seen this 
behavior in 2012.  Our user has full control over the folder where Jenkins 
resides.
If any one has any ideas I would really appreciate it.   The Jenkins logs 
don't give me anything useful, nor does the event viewer.

Thanks!


-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Compiler warnings script in global configuration

2013-10-23 Thread Ulli Hafner
What is in your console log? Is there no side panel link?

Ulli

Am 23.10.2013 um 10:19 schrieb Maneesh M P :

> Ok finally I am able to figure out the regular expression -> ^.*(err:) 
> (.*)at(.*\.pp):(\d+)$
> But I had to change the order of mapping script strings the way it is 
> assigned, that shouldnt be a problem i guess.
> 
> import hudson.plugins.warnings.parser.Warning
> 
> String category = matcher.group(1)
> String message = matcher.group(2)
> String fileName = matcher.group(3)
> String lineNumber = matcher.group(4)
> 
> 
> return new Warning(fileName, Integer.parseInt(lineNumber), "Dynamic Parser", 
> category, message);
> 
> Now I configure the job with Name I gave for parser, But i don't see any 
> "Link name" displayed in the build page :(
> any clue?
> 
> Thanks,
> M
> 
> On Tuesday, October 22, 2013 11:32:14 PM UTC-7, Maneesh M P wrote:
> Yeah, I found that now.. Thank you!! But I am not able to figure out a a 
> regular expression for below pattern
> 
> 19:35:11 err: Could not parse for environment production: Syntax error at 
> '{'; expected '}' at 
> /home/build/jenkins/workspace/puppet-parser-try/modules/profile/manifests/shard/master.pp:5
> 19:35:11 err: Try 'puppet help parser validate' for usage
> 
> Whatever I write, I get this error "The regular expression does not match the 
> example text."
> 
> Thanks,
> M
> 
> On Tuesday, October 22, 2013 10:31:49 PM UTC-7, Ullrich Hafner wrote:
> Isn't there an example in the help of the script and regular expression text 
> fields?
> 
> Ulli
> 
> Am Mittwoch, 23. Oktober 2013 schrieb 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 the Google Groups 
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.



signature.asc
Description: Message signed with OpenPGP using GPGMail


Writing plugins in groovy

2013-10-23 Thread Kyle Boon
Has anyone tried to write a jenkins plugin in groovy? I saw a thread about 
this form 2009 but nothing since then. 

Kyle

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


LDAP setup for Jenkins

2013-10-23 Thread alok kumar
Hi All,
We have users in two different domains in our company. The users of both
these domains should be able to trigger builds.

My question is - Is it possible to setup two LDAP server settings in
Jenkins master?

If so, how? If not, is there any other way in which this can be achieved?




Thanks,
Alok

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


regarding parametrized build trigger job

2013-10-23 Thread alok kumar
Hi All,
I am working on creating a parametrized build trigger job in order to
accept inputs from the users before the build is triggered.

All is well, but, then I need an option where i can disable or enable a
particular parameter based on another parameter.

e.g. Say I have a choice parameter where the user can choose to build linux
or windows. Now based on the choice my node label parameter should show
only the linux machines as the machines that can be chosen from. Similarly,
if a check box parameter is chosen, it should disable one of the string
parameters.

Is it possible to achieve this kind of functionality using the parametrized
build trigger OR is there any other way to achieve this?

This is really important for our group and hence, any help would be greatly
appreciated.

Thanks,
Alok

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Problems in login using LDAP server

2013-10-23 Thread Mauricio
2013/10/22 Mauricio 

>
> On Oct 22, 2013 6:49 PM, "Daniel Beck"  wrote:
> >
> > On 22.10.2013, at 23:21, Mauricio  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
> http://jenkinshost/jenkins/whoAmI (depending on your configuration) in
> your browser after logging in.
>
> It says that I'm log as anonymous
>
>
Do know you know any other way to debug this?

Thanks!



> >
> > --
> > You received this message because you are subscribed to a topic in the
> Google Groups "Jenkins Users" group.
> > To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/jenkinsci-users/aP-2C5vuS3A/unsubscribe.
> > To unsubscribe from this group and all its topics, send an email to
> jenkinsci-users+unsubscr...@googlegroups.com.
> > For more options, visit https://groups.google.com/groups/opt_out.
>
>


-- 
Saludos!
Mauricio

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Cannot save changes to job configuration after upgrading to 1.536

2013-10-23 Thread Vinod Doshi
For falling back, I just replace the jenkins.war file ? Or I have to do
apr-get remove jenkins and then reinstall the deb package for 1.535

Thanks,
Vinod


On Wed, Oct 23, 2013 at 6:32 PM,  wrote:

> There seem to be a number of problems in this area with 1.536, I suggest
> you fall back to 1.535.
>
> >> 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
> github-api plugins breaking in this build?
>
> --
> This e-mail and any attachments may contain confidential, copyright and or
> privileged material, and are for the use of the intended addressee only. If
> you are not the intended addressee or an authorised recipient of the
> addressee please notify us of receipt by returning the e-mail and do not
> use, copy, retain, distribute or disclose the information in or attached to
> the e-mail.
> Any opinions expressed within this e-mail are those of the individual and
> not necessarily of Diamond Light Source Ltd.
> Diamond Light Source Ltd. cannot guarantee that this e-mail or any
> attachments are free from viruses and we cannot accept liability for any
> damage which you may sustain as a result of software viruses which may be
> transmitted in or with the message.
> Diamond Light Source Limited (company no. 4375679). Registered in England
> and Wales with its registered office at Diamond House, Harwell Science and
> Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
>
>
>
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Jenkins Users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/jenkinsci-users/IFjFwcv9y8U/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> jenkinsci-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


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-23 Thread Ulli Hafner
I'm not sure if this is related but it seems that 1.536 changed the JSON 
binding (Jenkins core) which also breaks my plug-ins: 
https://issues.jenkins-ci.org/browse/JENKINS-20199

Ulli

Am 22.10.2013 um 16:41 schrieb 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 with stapler to know why that could happen.
> 
> 
> On Tue, Oct 22, 2013 at 5:59 AM, mubbashir  wrote:
> 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 )
> - I open the advance option of the editable email and there were couple of 
> empty values in the triggers advance option
> - I deleted all the triggers, added new triggers
> - I was able to save the the job
> - On  executing the build I got null pointer exception  (see below the 
> exception 2 , couldn't find the complete stack trace)
> 
> I removed the editable email notifications from post build actions run the 
> build it worked fine. 
> 
> I got the same null pointer exception on adding the editable email 
> notification again. 
> 
> Any thoughts?
> 
> _
> 
> 
> Exception 1 (unable to save the job):
> 
> Oops!
> 
> A problem occurred while processing the request. Please check our bug tracker 
> to see if a similar problem has already been reported. If it is already 
> reported, please vote and put a comment on it to let us gauge the impact of 
> the problem. If you think this is a new issue, please file a new issue. When 
> you file an issue, make sure to add the entire stack trace, along with the 
> version of Jenkins and relevant plugins. The users list might be also useful 
> in understanding what has happened.
> 
> Stack trace
> 
> javax.servlet.ServletException: java.lang.RuntimeException: Failed to 
> instantiate class hudson.plugins.emailext.ExtendedEmailPublisher from 
> {"project_recipient_list":"$DEFAULT_RECIPIENTS","project_replyto":"$DEFAULT_RECIPIENTS","project_content_type":"default","project_default_subject":"$DEFAULT_SUBJECT","project_default_content":"$DEFAULT_CONTENT","project_attachments":"","project_attach_buildlog":"0","project_presend_script":"","project_save_output":false,"project_triggers":[{"stapler-class":"","kind":""},{"stapler-class":"","kind":""},{"stapler-class":"","kind":""},{"stapler-class":"","kind":""},{"stapler-class":"","kind":""}],"stapler-class":"hudson.plugins.emailext.ExtendedEmailPublisher","kind":"hudson.plugins.emailext.ExtendedEmailPublisher"}
> at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:777)
> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:841)
> at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:248)
> at 
> org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
> at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:727)
> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:841)
> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:630)
> at org.kohsuke.stapler.Stapler.service(Stapler.java:224)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
> at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:96)
> at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:58)
> at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:99)
> at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:88)
> at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48)
> at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at 
> hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
> at 
> hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
> at 
> hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
> at 
> jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117)
> at 
> hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
> at 
> org.acegisecurity.providers.anonymous.Ano

RE: Cannot save changes to job configuration after upgrading to 1.536

2013-10-23 Thread Matthew.Webber
There seem to be a number of problems in this area with 1.536, I suggest you 
fall back to 1.535.

>> 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 
>> github-api plugins breaking in this build?

-- 
This e-mail and any attachments may contain confidential, copyright and or 
privileged material, and are for the use of the intended addressee only. If you 
are not the intended addressee or an authorised recipient of the addressee 
please notify us of receipt by returning the e-mail and do not use, copy, 
retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not 
necessarily of Diamond Light Source Ltd. 
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments 
are free from viruses and we cannot accept liability for any damage which you 
may sustain as a result of software viruses which may be transmitted in or with 
the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and 
Wales with its registered office at Diamond House, Harwell Science and 
Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
 



-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


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

2013-10-23 Thread Les Mikesell
On Wed, Oct 23, 2013 at 1:51 AM,   wrote:
> It would be great if there would simply be a "Standard: [ANT 1.9]" selection
> box in Jenkins' ANT installations section, so I could avoid manually
> installing it! :-)
>

I think standard means 'the one you already have and use' not 'pick
something random' in this case.  Can't you just specify some version
number that you know is available and  will work?

-- 
   Les Mikesell
 lesmikes...@gmail.com

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reclaim disc space on all slaves when removing jobs

2013-10-23 Thread Dirk Heinrichs
Hi,

from time to time we remove old Mercurial repositories. During this
process, a small Groovy program removes all Jenkins jobs which are
configured to poll one of those repositories.

This works quite well, however, it doesn't currently remove the
workspaces and mercurial caches of the removed jobs from all slaves.
Unfortunately, I have no clue as to how to enhance the program to do
exactly this, so any help would be appreciated.

import hudson.model.*
import hudson.scm.*
import hudson.plugins.mercurial.*

// Get the repo from the command line and split it at /
repo = args[0]
(type, name) = repo.split("/")

// Iterate over all jobs
for(item in Hudson.instance.items)
{
// Does the jobs have a Mercurial configuration?
if (item.getScm() instanceof MercurialSCM)
{
// Get the repository Url
MercurialSCM hg = (MercurialSCM)item.getScm()
source = hg.getSource()

// Does the Url contain our repository name?
if (source.contains(repo))
{
// Delete the job
println (" Removing job $item.name for $type repository
$name...")
item.delete()
}
}
}

Thanks in advance...

Dirk
-- 

*Dirk Heinrichs*, Senior Systems Engineer, Infrastructure
*Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach
*Tel*: +49 2226 159 1149
*Email*: d...@recommind.com 
*Skype*: dirk.heinrichs.recommind
www.recommind.com 


http://www.recommind.com

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Double-builds, if any SCM change while first build ist still running

2013-10-23 Thread Michael Clarke
A fix for this issue is being worked on: see JENKINS-20192.


On 23 Oct 2013, at 11:08, Horst Krause  wrote:

I recently installed your nèw version 2.10.

But unfortunately I now get the following error when trying to build at the
slave.
Do you have any idea, what could be the problem?
After switching back to 2.9 the build is fine - except for the double
builds. ;-)

Gestartet durch Benutzer Administrator
Baue auf Slave prod01 in workspace 
Using locally configured password for connection to
:pserver:jenkins@myserver:/cvsprojekte
cvs checkout -P -D 23 Oct 2013 11:30:14 +0200 -d myproject myproject
Using locally configured password for connection to
:pserver:jenkins@myserver:/cvsprojekte
cvs rlog -S -d23 Oct 2013 11:17:04 +0200<23 Oct 2013 11:30:12 +0200
myproject
hudson.util.IOException2: remote file operation failed: <
http://myserver/job/myproject/ws/> at hudson.remoting.Channel@e266df:prod01
at hudson.FilePath.act(FilePath.java:784)
at hudson.FilePath.act(FilePath.java:770)
at hudson.scm.AbstractCvs.getRemoteLogForModule(AbstractCvs.java:678)
at hudson.scm.AbstractCvs.calculateChangeLog(AbstractCvs.java:774)
at hudson.scm.AbstractCvs.postCheckout(AbstractCvs.java:793)
at hudson.scm.CVSSCM.checkout(CVSSCM.java:351)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1195)
at
hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:579)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:468)
at hudson.model.Run.run(Run.java:1408)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:481)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:238)
Caused by: java.io.IOException: Unable to serialize
hudson.FilePath$FileCallableWrapper@1fec37f
at hudson.remoting.UserRequest.serialize(UserRequest.java:166)
at hudson.remoting.UserRequest.(UserRequest.java:62)
at hudson.remoting.Channel.call(Channel.java:680)
at hudson.FilePath.act(FilePath.java:777)
... 12 more
Caused by: java.io.NotSerializableException: java.io.PrintStream
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1164)
at
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
at
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1346)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1154)
at
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
at
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
at
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
at
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
at
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
at
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
at
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
at
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)
at hudson.remoting.UserRequest._serialize(UserRequest.java:155)
at hudson.remoting.UserRequest.serialize(UserRequest.java:164)
... 15 more


Am Montag, 21. Oktober 2013 14:00:10 UTC+2 schrieb Michael Clarke:
>
> JENKINS-19314 describes your issue. I have a change sitting on my machine
> which should fix your issue, but I still need to push it to Git.
>
> I aim to release a new version of the CVS plugin later this week which
> will therefore fix your issue.
>
> Thanks
> Michael
>
> On 21 Oct 2013, at 12:54, Horst Krause >
> wrote:
>
> Hi.
>
> After we added many more integration tests to our project the build now
> runs about 20 minutes instead of 10 before. This causes jenkins to always
> run 2 builds for 1 SCM change, because the build is still running when SCM
> poll next time in his interval.
>
> In Detail:
>
> Scenario: SCM polling interval is smaller than build duration. e.

Re: Double-builds, if any SCM change while first build ist still running

2013-10-23 Thread Horst Krause
I recently installed your nèw version 2.10. 

But unfortunately I now get the following error when trying to build at the 
slave.
Do you have any idea, what could be the problem?
After switching back to 2.9 the build is fine - except for the double 
builds. ;-)

Gestartet durch Benutzer Administrator
Baue auf Slave prod01 in workspace 
Using locally configured password for connection to 
:pserver:jenkins@myserver:/cvsprojekte
cvs checkout -P -D 23 Oct 2013 11:30:14 +0200 -d myproject myproject 
Using locally configured password for connection to 
:pserver:jenkins@myserver:/cvsprojekte
cvs rlog -S -d23 Oct 2013 11:17:04 +0200<23 Oct 2013 11:30:12 +0200 
myproject
hudson.util.IOException2: remote file operation failed: 
 at hudson.remoting.Channel@e266df:prod01
at hudson.FilePath.act(FilePath.java:784)
at hudson.FilePath.act(FilePath.java:770)
at hudson.scm.AbstractCvs.getRemoteLogForModule(AbstractCvs.java:678)
at hudson.scm.AbstractCvs.calculateChangeLog(AbstractCvs.java:774)
at hudson.scm.AbstractCvs.postCheckout(AbstractCvs.java:793)
at hudson.scm.CVSSCM.checkout(CVSSCM.java:351)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1195)
at 
hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:579)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:468)
at hudson.model.Run.run(Run.java:1408)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:481)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:238)
Caused by: java.io.IOException: Unable to serialize 
hudson.FilePath$FileCallableWrapper@1fec37f
at hudson.remoting.UserRequest.serialize(UserRequest.java:166)
at hudson.remoting.UserRequest.(UserRequest.java:62)
at hudson.remoting.Channel.call(Channel.java:680)
at hudson.FilePath.act(FilePath.java:777)
... 12 more
Caused by: java.io.NotSerializableException: java.io.PrintStream
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1164)
at 
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1346)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1154)
at 
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
at 
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
at 
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
at 
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)
at hudson.remoting.UserRequest._serialize(UserRequest.java:155)
at hudson.remoting.UserRequest.serialize(UserRequest.java:164)
... 15 more


Am Montag, 21. Oktober 2013 14:00:10 UTC+2 schrieb Michael Clarke:
>
> JENKINS-19314 describes your issue. I have a change sitting on my machine 
> which should fix your issue, but I still need to push it to Git.
>
> I aim to release a new version of the CVS plugin later this week which 
> will therefore fix your issue.
>
> Thanks
> Michael
>
> On 21 Oct 2013, at 12:54, Horst Krause > 
> wrote:
>
> Hi.
>
> After we added many more integration tests to our project the build now 
> runs about 20 minutes instead of 10 before. This causes jenkins to always 
> run 2 builds for 1 SCM change, because the build is still running when SCM 
> poll next time in his interval.
>
> In Detail:
>
> Scenario: SCM polling interval is smaller than build duration. e.g. 
> polling intervall 15min, build duration about 20 min 
>
> My observations 

Re: Test results aggregation

2013-10-23 Thread Maureen Barger
I am working with what is suggested here:
http://shotgunsandpenguins.blogspot.com/2009/07/how-to-aggregate-downstream-test.html?m=1

I have noticed that the owner of my fingerprinted file
($JOB_NAME.$BUILD_ID.txt) is a different job altogether! The names are
not similar at all. In fact the job it references is 3 months old.
What could cause this?

So aggregation is not yet working.

On Tue, Oct 22, 2013 at 6:05 PM, Maureen Barger  wrote:
> 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 and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Compiler warnings script in global configuration

2013-10-23 Thread Maneesh M P
Ok finally I am able to figure out the regular expression -> ^.*(err:) 
(.*)at(.*\.pp):(\d+)$
But I had to change the order of mapping script strings the way it is 
assigned, that shouldnt be a problem i guess.

import hudson.plugins.warnings.parser.Warning

String category = matcher.group(1)
String message = matcher.group(2)
String fileName = matcher.group(3)
String lineNumber = matcher.group(4)


return new Warning(fileName, Integer.parseInt(lineNumber), "Dynamic 
Parser", category, message);

Now I configure the job with Name I gave for parser, But i don't see any 
"Link name" displayed in the build page :(
any clue?

Thanks,
M

On Tuesday, October 22, 2013 11:32:14 PM UTC-7, Maneesh M P wrote:
>
> Yeah, I found that now.. Thank you!! But I am not able to figure out a a 
> regular expression for below pattern
>
> 19:35:11 err: Could not parse for environment production: Syntax error at 
> '{'; expected '}' at 
> /home/build/jenkins/workspace/puppet-parser-try/modules/profile/manifests/shard/master.pp:5
> 19:35:11 err: Try 'puppet help parser validate' for usage
>
> Whatever I write, I get this error "The regular expression does not match 
> the example text."
>
> Thanks,
> M
>
> On Tuesday, October 22, 2013 10:31:49 PM UTC-7, Ullrich Hafner wrote:
>>
>> Isn't there an example in the help of the script and regular 
>> expression text fields?
>>
>> Ulli
>>
>> Am Mittwoch, 23. Oktober 2013 schrieb 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 the Google 
>>> Groups "Jenkins Users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to jenkinsci-users+unsubscr...@googlegroups.com.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.