Re: Display the result of an Execute Shell

2015-05-05 Thread Peter Marcoen
That is correct Richard, I could go to the console output and there, along 
with a whole lot of other output, I would see my result.
For me, as a semi-experienced Jenkins user, this is doable, but for my 
colleagues who have never seen a console output in their life, this is 
trickier.
Not to mention all the other rubbish that is printed there. So I was 
looking if there was some other way.

Op woensdag 6 mei 2015 04:25:50 UTC+2 schreef Richard Bywater:
>
> I would presume that if you are executing a Java program that outputs a 
> string it should show on the Console for the particular build of the job?
>
> Richard.
>
> On Wed, 6 May 2015 at 03:41 Peter Marcoen > 
> wrote:
>
>> I have a Jenkins Parameterized job.
>> This job does 2 things:
>>
>>1. Compiles a java program to a jar
>>2. Runs this jar through "Execute Shell" with the given parameters
>>
>> The output of this java program is a single string.
>> What I would like to accomplish is that if a user runs this job, this 
>> return string is displayed to him on screen.
>>
>> Are there any plugins or default options that can help me achieve this?
>>
>> Another option would be to pipe the output of this java program to an 
>> email command and get the result to the user in this way but I would prefer 
>> to just stay in the Jenkins environment.
>>
>> I hope I make myself clear.
>>
>> -- 
>> 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 .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/0239169f-5ae6-48c1-b7b4-9f7a8f6cf007%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/9fc5e732-986a-46c9-99ad-96df769b8f09%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Display the result of an Execute Shell

2015-05-05 Thread Richard Bywater
I would presume that if you are executing a Java program that outputs a
string it should show on the Console for the particular build of the job?

Richard.

On Wed, 6 May 2015 at 03:41 Peter Marcoen  wrote:

> I have a Jenkins Parameterized job.
> This job does 2 things:
>
>1. Compiles a java program to a jar
>2. Runs this jar through "Execute Shell" with the given parameters
>
> The output of this java program is a single string.
> What I would like to accomplish is that if a user runs this job, this
> return string is displayed to him on screen.
>
> Are there any plugins or default options that can help me achieve this?
>
> Another option would be to pipe the output of this java program to an
> email command and get the result to the user in this way but I would prefer
> to just stay in the Jenkins environment.
>
> I hope I make myself clear.
>
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/0239169f-5ae6-48c1-b7b4-9f7a8f6cf007%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAMui944-OLABHvbMpJhr6UvsZAtaGs1J_WaoS8Dg3ZezRYdizw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Display a field from every job

2015-05-05 Thread zippo7061
We are alway incrementing our release numbers.  I"d like to display the tfs 
source location of all jobs in a view so we can easlity make sure each job 
is pointing ot the right location. How can i do this?  Thank you in advance

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/7144fddb-6a0e-4e60-add7-355049eba18d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: S3 plugin metadata tags

2015-05-05 Thread Stephen Roberts
For anyone else searching, it appears support for cache-control and expires 
was added on Aug 11, 2014, then support for content-encoding was added on 
Sept 11, 2014. However, the version currently available via Jenkins (0.7) 
did not work for me. I ended up cloning the repo and building the plugin 
from the latest source code which now sets the metadata correctly. 

On Thursday, February 27, 2014 at 10:18:12 AM UTC-6, mkr...@trialfire.com 
wrote:
>
> Hey we have the exact same problem. Were you able to come up with anything?
>>  
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/67c4ea4f-a7c4-4be2-ab7f-17eed63c7e85%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Fwd: Multiple Job openings in SFDC Domain for Architect / Business Change / Integration Architect / Business Analyst in Texas

2015-05-05 Thread Avancer Corp
Hi

send your resumes to v.avancerc...@gmail.comv.avancerc...@gmail.com

We have Salesforce Domain / Architect / Business Change / Integration
Architect multiple jobs in Houston TX

We need profiles for the given below requirements for one of our direct
client If you have candidates please send me the resume and the following
information:


*1> Position Title: Salesforce Business Architect *
Scope: Standard Biz Arch role for Service Cloud
Start: 5/11/15
End: 7/3/15
Location: Houston TX - heavy travel first 4 weeks
Hours:
40 hrs/week weeks 1-6
10 hrs/week weeks 7-8
Total: 260 hrs

*2>Position Title: Salesforce Business Change *
Scope: Change Workshops for Service Cloud Implantation + change enablement
planning/documenting
Start: 5/4 or 5/11
Duration - 8 weeks
20 hrs/week
Location - Houston TX - some travel required (could likely do 40 hrs/week
if that's better)


*3>Position Title: Salesforce Integration Architect *
Scope: Integration Arch - customer will do hands on, Integration Arch will
advise on system limits, integration tools, integration strategy and best
practices
Start: 5/11 (or sooner)
40 hrs/week through 7/17
20 hrs/week from 7/20 - 10/5/15
Location - Houston TX - heavy onsite time required up front.


*4>Position Title: Business Analist*
Location - St. Louis
Onstie - 75%
Start: 5/11 (or before)
End: 6/7
Full Time: 200 hrs

Scope: SFDC Business Analyst (sales cloud) for blueprint work in order to
plan/analyze for future deployment, assist Appirio's Business Architect in
creating a roadmap of functionality, benefits and relative effort that is
be used to align with the business to determine prioritization

send your resumes to v.avancerc...@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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAFVrP_1EacQ1MLWDV%2Bvmd0-%2BCraeX0v%3DOi4XjoBUtRAJqu%2Bvzw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: jenkins support for parametrized test results

2015-05-05 Thread Mark Waite
https://jenkins.ci.cloudbees.com/job/plugins/job/git-client-plugin/org.jenkins-ci.plugins$git-client/lastCompletedBuild/testReport/org.jenkinsci.plugins.gitclient/GitTest/
 
shows an example of the presentation of results from a parameterized test.

Mark Waite

On Tuesday, May 5, 2015 at 9:49:51 AM UTC-6, bl0ck3r wrote:
>
> Does jenkins support the JUnit XML format of JUnitParams for reporting 
> tests? 
> https://github.com/Pragmatists/JUnitParams/issues/38 
>
> If not, is there a Jenkins test report plugin able to report and track 
> parametrized tests reports? The report format has to be as easy as 
> JUnit XML as I write the reports myself (the existing test 
> infrastructures do not work for my multi-language projects). 
>
> Thanks, 
> Martin 
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/fc18e09d-4675-4bca-bdf2-e73cee794f6c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Regarding Custom Restrict Node Slicer

2015-05-05 Thread Rama Devi


Hi,

 

I am facing a problem with Jenkins. In my Configuration Slicing, all are 
working except Custom Restrict Node Slicer. When I click on it end up with 
below error. 

Jenkins Verion: 1.612

System Type: 64-bit

RAM: 6GB

OS: Windows

 

I am struggling with this issue from few days. Please help me to get rid of 
it.

 

*Stack trace*

javax.servlet.ServletException: java.lang.NullPointerException

at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:796)

at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)

at org.kohsuke.stapler.MetaClass$13.dispatch(MetaClass.java:411)

at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)

at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)

at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)

at org.kohsuke.stapler.Stapler.service(Stapler.java:238)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)

at 
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:686)

at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1494)

at 
hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:123)

at 
net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:198)

at 
net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:176)

at 
net.bull.javamelody.PluginMonitoringFilter.doFilter(PluginMonitoringFilter.java:85)

at 
org.jvnet.hudson.plugins.monitoring.HudsonMonitoringFilter.doFilter(HudsonMonitoringFilter.java:97)

at 
hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:120)

at 
hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:114)

at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)

at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48)

at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)

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.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)

at 
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)

at 
org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)

at 
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)

at 
org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)

at 
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)

at 
jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93)

at 
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)

at 
org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)

at 
hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67)

at 
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)

at 
hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)

at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171)

at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)

at 
org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49)

at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)

at 
hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)

at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)

at 
org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)

at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1474)

at 
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:499)

at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)

at 
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:533)

at 
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)

at 
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)

at 
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428)

at 
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)

at 
org.eclipse.jetty.serve

Re: Jenkins with Saml 2.0 SSO Authentication

2015-05-05 Thread gregor philp
Hi Ben

I am also having the same issue trying to configure the SAML plugin for use 
with Okta for Jenkins.
I have the xml data in the plugin configuration and I have the URL set 
under Jenkins / Configure System but when we try to login via okta we get 
the message displayed:

"
HTTP ERROR 404

Problem accessing /jenkins/securityRealm/finishLogin. Reason:
Not Found
"

And in /var/log/jenkins/jenkins.log I see the message:

"May 05, 2015 5:30:04 PM org.pac4j.saml.sso.Saml2WebSSOProfileHandler 
sendMessage
WARNING: IdP wants authn requests signed, it will perhaps reject your authn 
requests unless you provide a keystore
" 

I'm not sure what else to try and the Okta support we  have is also unsure 
as to why Jenkins is giving us this message.
Can you help with this?

thanks
Gregor


On Wednesday, February 18, 2015 at 2:38:19 PM UTC-8, Ben McCann wrote:
>
> Hi John,
>
> Someone else recently reported a problem with a URL that they tracked down 
> to a misconfiguration. Are you having the problem described here?
> https://github.com/connectifier/jenkins-saml-plugin/issues/4
>
> -Ben
>
>
>
> On Wed, Feb 18, 2015 at 8:09 AM, John Burrows  > wrote:
>
>> Hi Ben,
>>  
>> Thank you for your help, I have been trying to get the SAML plugin 
>> working with our Ping federated server and have been unsuccessful.
>>  
>> Here is what is happening:
>>  
>>
>> Jenkins v 1.597 SAML plugin v 0.3
>>
>> We are using an internal PingFederated server and I have entered the xml 
>> metedata contents into the Security configuration of Jenkins.
>>
>> I have tried on two servers, one set up HTTPS (SSL) and one just HTTP.
>>
>> We get errors when trying to login using SSO that pertain to the 
>> *https://servername/securityRealm/finishLogin* 
>>  redirect and the same for 
>> non-SSL server.
>>
>> We are stumped on what to check here, the PingFederated administrator has 
>> it set for the postback to the securityRealm/finishLogin URL, which is what 
>> is in the code for the plugin, we just are not sure how to proceed. 
>>
>> The contents of the xml metadata:
>>
>> > "PT1440M" entityID="ENTITYIDHERE:Saml2:POC" xmlns:md=
>> "urn:oasis:names:tc:SAML:2.0:metadata">> protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol" 
>> WantAuthnRequestsSigned="false">> >http://www.w3.org/2000/09/xmldsig#";> 
>>   CERTIFICATECODE HERE
>> 
>> 
>> urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified
>> > "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="
>> https://SSOSERVERNAME/idp/SSO.saml2"/>> "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="
>> https://SSOSERVERNAME/idp/SSO.saml2"/>> "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact" Location="
>> https://SSOSERVERNAME/idp/SSO.saml2"/>> "urn:oasis:names:tc:SAML:2.0:bindings:SOAP" Location="
>> https://SSOSERVERNAME/idp/SSO.saml2";
>> />> >COMPANYNAME
>> 
>>
>> Any suggestions or hlep would be greatly appreciated.
>>
>> Thanks,
>>
>> John
>>  
>>
>> On Friday, January 23, 2015 at 11:51:07 AM UTC-5, Ben McCann wrote:
>>
>>> Yes, all the contents of the xml file
>>>
>>> On Fri, Jan 23, 2015 at 8:29 AM, John Burrows <
>>> john.b...@aciworldwide.com> wrote:
>>>
 Or is it just all the contents of the xml file?

 Thanks,
 John

 ---

 John Burrows

 Supervisor Software Engineering, USA

 SCM: AD Common Services 
 

 T + 1 704 423 2531 / M + 1 864 490 1091

 *Vacation Alert :*

 *Feb 27 / **Mar 30-Apr 2 / Jun 29-Jul 2*


 ACI Worldwide 
 www.aciworldwide.com 
 
 ---

 For *AD Common Services: Infrastructure Services* support contact:
  Jeni Jones 
 For *AD Common Services:* *ARLM *support email:
  grp-arlm...@aciworldwide.com
 For *AD Common Services: **SCM *support refer to the Google Site:
 * SCM Contact/Request Information 
 *
 For *AD Common Services: **Security* or *AD Tools* support contact:
  Andie Srivastava 


 On Fri, Jan 23, 2015 at 11:27 AM, John Burrows <
 john.b...@aciworldwide.com> wrote:

> Ben,
>
> Thanks for the quick response, maybe I wasnt clear, but what I am 
> asking, is what info goes into that field and in what format?
>
> Can you send me an example?
>
> Thanks,
> John
>
> ---
>
> John Burrows
>
> Supervisor Software Engineering, USA
>
> SCM: AD Common Services 
> 
>
> T + 1 704 423 2531 / M + 1 864 490 1091
>
> *Vacation Alert :*
>
> *Feb 27 / **Mar 30-Apr 2 / Jun 29-Jul 2*
>
>
> ACI Worldwide 
>

"hipchat" Plugin + "build-flow-plugin" Plugin = No notifications

2015-05-05 Thread Stephen Melrose
Hi all,

I'm trying to get HipChat notifications working for our Jenkins server, but 
I'm sadly running into issues.

I've added the config for HipChat into Jenkins' "Configure System" and hit 
"Test configuration", and everything works.

I've added the post build notification to one of our "normal" jobs and it's 
working as expected. I've then added it to one of our "build flow" jobs, 
which the vast majority of our main jobs are, and they're not working.

I've no idea whether this is hipchat or build-flow-plugin specific, but 
I've tried multiple permutations with the settings, and nothing is working. 
Everything else does.

Any ideas?

Jenkins Version: 1.612
hipchat Version: 0.1.9
build-flow-plugin Version: 0.17

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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/c4f9462d-d697-4b73-b090-b60898a5b489%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: jenkins support for parametrized test results

2015-05-05 Thread Mark Waite
The git client plugin uses parameterized unit tests in a number of areas
and I've found the Jenkins presentation of those parameterized test results
to be workable for my needs.  I'm not sure if it is perfect, but the
parameterized tests which I run are showing their results in a way that I
understand.

Mark Waite

On Tue, May 5, 2015 at 9:49 AM Martin d'Anjou 
wrote:

> Does jenkins support the JUnit XML format of JUnitParams for reporting
> tests?
> https://github.com/Pragmatists/JUnitParams/issues/38
>
> If not, is there a Jenkins test report plugin able to report and track
> parametrized tests reports? The report format has to be as easy as
> JUnit XML as I write the reports myself (the existing test
> infrastructures do not work for my multi-language projects).
>
> Thanks,
> Martin
>
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/CACZ2eqdXLByLdFedNgEGH-xji_hSSG8sQxeU%3Dmt_AjBFUVfToA%40mail.gmail.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtGRUYK3M_N9DU8Fb43So7PzADiO%2BEgZ36Eoi7y7Q7Ok4A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Anyone have the direct link to the unmigrate instructions?

2015-05-05 Thread Christopher Orr

On 04/05/15 19:13, Randy Chapin wrote:

I am one of those that upgraded to a new version that changes the way
builds are stored on the drive only to find that some of the plugins
would not work so I was forced to downgrade.  As expected, I ran into
the incompatibility issue and now I am looking for the unmigrate
instructions that are mentioned in other posts.  My problem is I can't
find them... Can someone point me to the exact link that shows the
instructions?
https://issues.jenkins-ci.org/browse/JENKINS-24380 is what I was looking
at initially... I just can't find the actual instructions / script.  I
hope I am just missing something obvious.

Thanks for the help.


I imagine this is the page you're looking for:
https://wiki.jenkins-ci.org/display/JENKINS/JENKINS-24380+Migration

Regards,
Chris

--
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/5548E74E.8040007%40orr.me.uk.
For more options, visit https://groups.google.com/d/optout.


jenkins support for parametrized test results

2015-05-05 Thread Martin d'Anjou
Does jenkins support the JUnit XML format of JUnitParams for reporting tests?
https://github.com/Pragmatists/JUnitParams/issues/38

If not, is there a Jenkins test report plugin able to report and track
parametrized tests reports? The report format has to be as easy as
JUnit XML as I write the reports myself (the existing test
infrastructures do not work for my multi-language projects).

Thanks,
Martin

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CACZ2eqdXLByLdFedNgEGH-xji_hSSG8sQxeU%3Dmt_AjBFUVfToA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Problems with deleting modules in Maven job

2015-05-05 Thread Clifford Sanders
Hi,

the 'Module Builds' view of one of our Maven jobs show modules which have 
been deleted a while ago.

The module names have a grey ball prepended and '(didn’t run)' append.

I clicked on 'Delete All Disabled Modules' in the left menu which removed 
some modules from the view but not all.

The following code executed in the script console prints all modules 
grouped by active/disabled 

import hudson.model.*
import hudson.maven.*

def jobName = "foobar"
def job = Hudson.instance.getItem(jobName)

println("active modules")

job.getDisabledModules(false).each{module ->
  println(module.name)
}

println("disabled modules")

job.getDisabledModules(true).each{module ->
  println(module.name)
}

This list doesn't contain any of the deleted modules.

Where does the 'Module Builds' view get its list of modules?

Thanks

Clifford

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/e5ab47bf-faff-450c-a47b-dea00c8be221%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Display the result of an Execute Shell

2015-05-05 Thread Peter Marcoen
I have a Jenkins Parameterized job.
This job does 2 things:

   1. Compiles a java program to a jar
   2. Runs this jar through "Execute Shell" with the given parameters

The output of this java program is a single string.
What I would like to accomplish is that if a user runs this job, this 
return string is displayed to him on screen.

Are there any plugins or default options that can help me achieve this?

Another option would be to pipe the output of this java program to an email 
command and get the result to the user in this way but I would prefer to 
just stay in the Jenkins environment.

I hope I make myself clear.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/0239169f-5ae6-48c1-b7b4-9f7a8f6cf007%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins freezes for ~10 sec at "first" connect

2015-05-05 Thread Christian Flamm
"fully loaded" means that the Jenkins Webapp is fully up and running.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/192f0efd-e33c-4e8d-ac00-424cf4b36ecf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Unable to Save job configuration changes

2015-05-05 Thread Milan Satpathy
Hi,

When I click "Save" after making changes to a job configuration (Build 
periodically > Schedule) , the browser displays "This webpage is not 
available". 
On trying to refresh the page it shows:

Status Code: 400Exception: Nothing is submitted
Stacktrace:

(none)

...And the changes are not saved!!

Any suggestions on how to fix this issue ?

Thanks,
Milan


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/7dd9c45f-69dc-44d6-9731-97d96762cd44%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Git Publisher: EnvVar in tag name

2015-05-05 Thread Sverre Moe
It seems there is an registered JIRA issue for this problem
https://issues.jenkins-ci.org/browse/JENKINS-15507

Its 3 years old, it has not been fixed, nor updated for a year.

tirsdag 5. mai 2015 09.16.23 UTC+2 skrev Sverre Moe følgende:
>
> I found the reason, but still not the solution.
>
> My projects are Multi-configuration jobs. My injected environment 
> variables are available during both build and post-build, for each matrix 
> axis, but not the matrix parent. The Git Publisher works on the matrix 
> parent, and it seems like the environment variables are not available there.
>
> How can I get the Matrix parent to also get the environment variables?
>
> tirsdag 5. mai 2015 08.58.14 UTC+2 skrev Sverre Moe følgende:
>>
>> Something strange:
>> I am using Inject Environment Variables, "Inject environment variables 
>> to the following build steps and post-build actions".
>> The variables injected from a "Properties File" are not accessible during 
>> the post-build phase, but those I declare within "Properties Content" 
>> are.
>>
>> tirsdag 5. mai 2015 08.47.32 UTC+2 skrev Sverre Moe følgende:
>>>
>>> I can create a Git tag using other environment variables such as 
>>> BUILD_TAG, but why isn't my own environment variables available during the 
>>> publish stage. My own environment variables are available during the build 
>>> stage.
>>>
>>> mandag 4. mai 2015 10.26.05 UTC+2 skrev Sverre Moe følgende:

 I am trying to use Git Publisher to create a git tag, but I cannot get 
 it to use an Environment variable in the tag name:

 Is it even possible to supply an Environment Variable as part of a Git 
 tag name?

  > git tag -l v$VERSION # timeout=10
  > git tag -a -f -m Jenkins Git plugin tagging with v$VERSION v$VERSION 
 # timeout=10
 Pushing tag v$VERSION to repo origin
  > git --version # timeout=10
  > git -c core.askpass=true push ssh://
 g...@git.company.com/packages/myLib.git v$VERSION
 ERROR: Failed to push tag v$VERSION to origin
 hudson.plugins.git.GitException: Command "git -c core.askpass=true push 
 ssh://g...@git.company.com/packages/myLib.git v$VERSION" returned 
 status code 1:
 stdout: 
 stderr: remote: invalid characters in ref or filename: 
 refs/tags/v$VERSION
 remote: error: hook declined to update refs/tags/v$VERSION
 To ssh://g...@git.company.com/packages/myLib.git
  ! [remote rejected] v$VERSION -> v$VERSION (hook declined)
 error: failed to push some refs to 'ssh://
 g...@git.company.com/packages/myLib.git'

 at 
 org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1591)
 at 
 org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1379)
 at 
 org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:86)
 at 
 org.jenkinsci.plugins.gitclient.CliGitAPIImpl$7.execute(CliGitAPIImpl.java:1663)
 at 
 org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:152)
 at 
 org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:145)
 at hudson.remoting.UserRequest.perform(UserRequest.java:121)
 at hudson.remoting.UserRequest.perform(UserRequest.java:49)
 at hudson.remoting.Request$2.run(Request.java:325)
 at 
 hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
 at java.util.concurrent.FutureTask.run(FutureTask.java:262)
 at 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
 at java.lang.Thread.run(Thread.java:745)
 at ..remote call to Development-openSUSE-x86_64(Native Method)
 at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1360)
 at hudson.remoting.UserResponse.retrieve(UserRequest.java:221)
 at hudson.remoting.Channel.call(Channel.java:753)
 at 
 org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:145)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:483)
 at 
 org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:131)
 at com.sun.proxy.$Proxy87.execute(Unknown Source)
 at hudson.plugins.git.GitPublisher.perform(GitPublisher.java:306)
 at hudson.plugins.git.GitPublisher$1.endBuild(GitPublisher.java:147)
 at 
 hudson.matrix.MatrixBuild$MatrixBuildExecution.post2(MatrixBuild.java:407)
 at 
 hudson.model.AbstractBuild$AbstractBuildExecu

Jenkins freezes for ~10 sec at "first" connect

2015-05-05 Thread Christian Flamm
 

Whenever Jenkins is "fully loaded" and somebody attempts a connect via 
browser it takes about 10 seconds until Jenkins' main page appears. Every 
subsequent attempt is answered immediately. This state remains for a couple 
of minutes. So there's an amount of time that needs to pass until a "first" 
connection attempt takes 10 sec again, and so on...

Any idea what could cause this? (Bug vs. misconfiguration). No interesting 
log output appears.
 

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/1a6b9613-6d95-4bb8-b98c-16e0f47e9ad3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Git Publisher: EnvVar in tag name

2015-05-05 Thread Sverre Moe
I found the reason, but still not the solution.

My projects are Multi-configuration jobs. My injected environment variables 
are available during both build and post-build, for each matrix axis, but 
not the matrix parent. The Git Publisher works on the matrix parent, and it 
seems like the environment variables are not available there.

How can I get the Matrix parent to also get the environment variables?

tirsdag 5. mai 2015 08.58.14 UTC+2 skrev Sverre Moe følgende:
>
> Something strange:
> I am using Inject Environment Variables, "Inject environment variables to 
> the following build steps and post-build actions".
> The variables injected from a "Properties File" are not accessible during 
> the post-build phase, but those I declare within "Properties Content" are.
>
> tirsdag 5. mai 2015 08.47.32 UTC+2 skrev Sverre Moe følgende:
>>
>> I can create a Git tag using other environment variables such as 
>> BUILD_TAG, but why isn't my own environment variables available during the 
>> publish stage. My own environment variables are available during the build 
>> stage.
>>
>> mandag 4. mai 2015 10.26.05 UTC+2 skrev Sverre Moe følgende:
>>>
>>> I am trying to use Git Publisher to create a git tag, but I cannot get 
>>> it to use an Environment variable in the tag name:
>>>
>>> Is it even possible to supply an Environment Variable as part of a Git 
>>> tag name?
>>>
>>>  > git tag -l v$VERSION # timeout=10
>>>  > git tag -a -f -m Jenkins Git plugin tagging with v$VERSION v$VERSION 
>>> # timeout=10
>>> Pushing tag v$VERSION to repo origin
>>>  > git --version # timeout=10
>>>  > git -c core.askpass=true push ssh://
>>> g...@git.company.com/packages/myLib.git v$VERSION
>>> ERROR: Failed to push tag v$VERSION to origin
>>> hudson.plugins.git.GitException: Command "git -c core.askpass=true push 
>>> ssh://g...@git.company.com/packages/myLib.git v$VERSION" returned status 
>>> code 1:
>>> stdout: 
>>> stderr: remote: invalid characters in ref or filename: 
>>> refs/tags/v$VERSION
>>> remote: error: hook declined to update refs/tags/v$VERSION
>>> To ssh://g...@git.company.com/packages/myLib.git
>>>  ! [remote rejected] v$VERSION -> v$VERSION (hook declined)
>>> error: failed to push some refs to 'ssh://
>>> g...@git.company.com/packages/myLib.git'
>>>
>>> at 
>>> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1591)
>>> at 
>>> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1379)
>>> at 
>>> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:86)
>>> at 
>>> org.jenkinsci.plugins.gitclient.CliGitAPIImpl$7.execute(CliGitAPIImpl.java:1663)
>>> at 
>>> org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:152)
>>> at 
>>> org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:145)
>>> at hudson.remoting.UserRequest.perform(UserRequest.java:121)
>>> at hudson.remoting.UserRequest.perform(UserRequest.java:49)
>>> at hudson.remoting.Request$2.run(Request.java:325)
>>> at 
>>> hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
>>> at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>>> at 
>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>>> at 
>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>>> at java.lang.Thread.run(Thread.java:745)
>>> at ..remote call to Development-openSUSE-x86_64(Native Method)
>>> at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1360)
>>> at hudson.remoting.UserResponse.retrieve(UserRequest.java:221)
>>> at hudson.remoting.Channel.call(Channel.java:753)
>>> at 
>>> org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:145)
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at 
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>>> at 
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>> at java.lang.reflect.Method.invoke(Method.java:483)
>>> at 
>>> org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:131)
>>> at com.sun.proxy.$Proxy87.execute(Unknown Source)
>>> at hudson.plugins.git.GitPublisher.perform(GitPublisher.java:306)
>>> at hudson.plugins.git.GitPublisher$1.endBuild(GitPublisher.java:147)
>>> at 
>>> hudson.matrix.MatrixBuild$MatrixBuildExecution.post2(MatrixBuild.java:407)
>>> at 
>>> hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:670)
>>> at hudson.model.Run.execute(Run.java:1766)
>>> at hudson.matrix.MatrixBuild.run(MatrixBuild.java:306)
>>> at hudson.model.ResourceController.execute(ResourceController.java:98)
>>> at hudson.model.Executor.run(Executor.java:374)
>>>
>>>
>>>

-- 
You received this message because you are subscribed to the Goog