Re: Signature verification failed in downloadable 'hudson.tasks.Maven.MavenInstaller'

2015-11-16 Thread Daniel Beck

KK needs to fix the cert/secret used by the crawler, similar to the issue on 
the update site a few weeks ago (which he fixed). I'll keep annoying him until 
he fixes this :-)

Workarounds should be to use a slightly older build of Java, or customize 
JAVA_HOME/lib/security/java.security to set 
`jdk.certpath.disabledAlgorithms=MD2, RSA keySize < 512` (rather than < 1024).

On 16.11.2015, at 11:49, Daniel Anechitoaie  wrote:

> I get the following error when I click on the "Check now" button on manage 
> plugins page.
> Any idea what's going on? This is a fresh installation of Jenkins 1.638 on 
> CentOS 7.1 running on Java 1.8.0_66-b17
> 
> Signature verification failed in downloadable 
> 'hudson.tasks.Maven.MavenInstaller' (show details)
> java.security.cert.CertPathValidatorException: algorithm constraints check 
> failed
>   at 
> sun.security.provider.certpath.PKIXMasterCertPathValidator.validate(PKIXMasterCertPathValidator.java:135)
>   at 
> sun.security.provider.certpath.PKIXCertPathValidator.validate(PKIXCertPathValidator.java:219)
>   at 
> sun.security.provider.certpath.PKIXCertPathValidator.validate(PKIXCertPathValidator.java:140)
>   at 
> sun.security.provider.certpath.PKIXCertPathValidator.engineValidate(PKIXCertPathValidator.java:79)
>   at 
> java.security.cert.CertPathValidator.validate(CertPathValidator.java:292)
>   at 
> org.jvnet.hudson.crypto.CertificateUtil.validatePath(CertificateUtil.java:93)
>   at 
> jenkins.util.JSONSignatureValidator.verifySignature(JSONSignatureValidator.java:76)
>   at 
> hudson.model.DownloadService$Downloadable.load(DownloadService.java:370)
>   at 
> hudson.model.DownloadService$Downloadable.updateNow(DownloadService.java:385)
>   at hudson.PluginManager.doCheckUpdatesServer(PluginManager.java:963)
>   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:497)
>   at 
> org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:298)
>   at 
> org.kohsuke.stapler.interceptor.RequirePOST$Processor.invoke(RequirePOST.java:46)
>   at 
> org.kohsuke.stapler.Function$InterceptedFunction.invoke(Function.java:399)
>   at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:161)
>   at 
> org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96)
>   at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:121)
>   at 
> org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
>   at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
>   at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
>   at org.kohsuke.stapler.MetaClass$3.doDispatch(MetaClass.java:183)
>   at 
> org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
>   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:132)
>   at 
> hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:123)
>   at 
> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
>   at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:49)
>   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(Abstra

Virtual Jenkins Hackathon: Join Us!!

2015-11-16 Thread Alyssa Tong
Hi All,

We're having a Hacksgiving next Monday and Tuesday, details are below. Hope
you can join us!

Sign up HERE  so we
can anticipate how many people will be attending or just meet us online at
below date and time.


WHAT:  Hacksgiving 2015
 - a "virtual
hackathon"

WHEN:

• Nov. 23 @ 7:00PST/10:00EST and 10:00PST/13:00EST

• Nov. 24 @ 10:00PST/13:00EST

WHERE:

Since this is a virtual hackathon, we'll be congregating and chatting in a
couple of ways:

• On the #jenkins IRC channel


•  We'll be hosting sessions and tutorials via Google Hangouts, see the "hacker
hangout

"

• section on the wiki page up to date details via the #hacksgiving hashtag
on Twitter

AGENDA:

Day One - Nov 23
7:00PST/10:00EST (15-30min) - rtyler  will host
a welcome and introduction to contribution to the Jenkins project (walking
through our contributors guide

)

10:00PST/13:00EST (60min) - schristou  will
host a workshop titled "Introduction to plugin development for Jenkins"

Day Two - Nov 24
10:00PST/13:00EST (60min) - abayer  will be
hosting a "Plugin Developer Open Q&A" session, so bring your questions!

HELP WANTED:

If you're interested in hosting a session please reach out via
#jenkins-community channel or by signing up for a session on the schedule

.

MORE INFO:

https://jenkins-ci.org/content/celebrating-hacksgiving

https://wiki.jenkins-ci.org/display/JENKINS/Hacksgiving+2015

Thanks,

Tyler and Alyssa

-- 
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/CAC9wNawTgerBpvewksD9takafrhwWp2fA%3D2%2BMOHZY-6mGRRo-Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: Way to import/replicate plugins configuration from one server to another .

2015-11-16 Thread Taher Furniturewala

Yes , thanks that’s what I did : tar’ed the plugins directory of the current 
Master , and untarred it in the JENKINS_HOME of the replacement master .

Worked fine  ;  but I still  went through comparing each plugin  and versions 
on both ( had to unpin a few and upgrade a few )  .


From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Michael Wiles
Sent: Saturday, November 14, 2015 6:10 AM
To: jenkinsci-users@googlegroups.com
Subject: Re: Way to import/replicate plugins configuration from one server to 
another .


Take a look at the file system for the origin jenkins... I'm fairly confident 
you'll see the hpi (jenkins plugin package) files there.

I'm not 100% sure but if you copy those files to the same location on the new 
jenkins and restart that should work...

On Fri, 13 Nov 2015, 20:16 Taher Furniturewala 
mailto:tfurnitur...@tivo.com>> wrote:

Am in the process of configuring a replacement( upgraded)  Jenkins master for 
an existing one .

On the new master , I want the same plugins which are there on the current one  
( The versions of course would be different ie whatever is the latest )

The manual way is to open the ‘manage plugin’  window in the old and new 
servers ,  search one at a time in the new server and checkmark it and then 
install .

Am contemplating if I copy over the old plugins directory contents onto the new 
server and restart and then choose the new versions available , would that work 
smoothly and be a better way to do it  ?

Is there any other simplified way to do this ?

( Would be cool to have something like ‘clone jenkins server ‘  , just like we 
can clone jobs at the moment  .. )

Thanks
Taher .




This email and any attachments may contain confidential and privileged material 
for the sole use of the intended recipient. Any review, copying, or 
distribution of this email (or any attachments) by others is prohibited. If you 
are not the intended recipient, please contact the sender immediately and 
permanently delete this email and any attachments. No employee or agent of TiVo 
Inc. is authorized to conclude any binding agreement on behalf of TiVo Inc. by 
email. Binding agreements with TiVo Inc. may only be made by a signed written 
agreement.
--
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/712CB46A62E6AA4EA165C01FEC43CD7A08773230%40SJEXMB02.Tivo.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/CAEkoTjVA%2BKQW0qwf2AebysK4xokaCyR%3DWxkcoSRL%3DzOEchh%3DvQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.



This email and any attachments may contain confidential and privileged material 
for the sole use of the intended recipient. Any review, copying, or 
distribution of this email (or any attachments) by others is prohibited. If you 
are not the intended recipient, please contact the sender immediately and 
permanently delete this email and any attachments. No employee or agent of TiVo 
Inc. is authorized to conclude any binding agreement on behalf of TiVo Inc. by 
email. Binding agreements with TiVo Inc. may only be made by a signed written 
agreement.

-- 
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/712CB46A62E6AA4EA165C01FEC43CD7A08776717%40SJEXMB02.Tivo.com.
For more options, visit https://groups.google.com/d/optout.


Re: Multiple SVN revision numbers affecting "Change set" reported by the SVN plugin

2015-11-16 Thread Alexander Kress
Hi Manuel,

My bad, I did not mention two jobs to keep things simpler. :) The fact that
I am using different jobs should not make any difference as the jobs are
fully independent, they have their own workspaces and do their own
checkouts. The Watcher job simply triggers the Main job, otherwise there is
no connection that I know of.

The problem is with the Main job, that job has parametarized SVN path
(please see the image I attached to the previous post) and refuses to
indicate the change set no matter what I do. If you have any ideas as to
what could be going wrong I would really appreciate it.

Thanks,

Alex

On Mon, Nov 16, 2015 at 4:40 PM, Manuel Jesús Recena Soto 
wrote:

> Hello Alex,
>
> Your scenario changes in each email ;)
>
> I don't know why you don't use different jobs
>
> 2015-11-16 19:23 GMT+01:00 Alexander Kress :
> > Certainly, please see the attached image, for the "Main" job.
> >
> > What this shows: I've configured two checkouts, into two different
> physical
> > locations. Both locations are parameterized and passed in to the job.
> (I've
> > tried reordering the two just in case).
> >
> > I have a set of Watcher jobs that watch specific trees, when they notice
> > changes they trigger the "Main" job providing the right SVN path as the
> > parameter. I know for a fact that there were changes (I see them in the
> > change set for the Watcher jobs). The "Main" job however shows that there
> > were no changes on the tree. This results in all sorts of problems, like
> the
> > emails not reaching the people who broke the build.
> >
> > Thanks again!
> >
> > Alex
> >
> > On Mon, Nov 16, 2015 at 10:19 AM, Manuel Jesús Recena Soto
> >  wrote:
> >>
> >> Could you send a screenshot with your configuration and textfile with
> >> eh output console?
> >>
> >> I did not understand what you want to do.
> >>
> >> Regards,
> >>
> >> 2015-11-16 15:57 GMT+01:00 Alex Kress :
> >> > Thanks Manuel. I've tried this but no luck. The job is still saying
> "No
> >> > changes", even though it cleaned out all the files and did a fresh
> >> > checkout.
> >> > Does it hurt at all that on the job run I am checking out two code
> >> > branches
> >> > (one of which did not change) each time, is it possible that it grabs
> >> > the
> >> > change set from one of these branches but not the other?
> >> >
> >> > Thank you!
> >> >
> >> > Alex
> >> >
> >> > On Monday, November 16, 2015 at 9:33:17 AM UTC-5, Manuel Jesús Recena
> >> > Soto
> >> > wrote:
> >> >>
> >> >> Hello Alex,
> >> >>
> >> >> The revision come from the working copy (in the Job's workspace).
> >> >>
> >> >> If you want to use the same job for building different content (tags,
> >> >> branches), is the safest way.
> >> >>
> >> >> Regards,
> >> >>
> >> >> 2015-11-16 15:24 GMT+01:00 Alex Kress :
> >> >> > Thanks Manuel, will try this. Does this mean that Jenkins stores
> the
> >> >> > revision of the last checkout separately somewhere in Workspace,
> >> >> > which
> >> >> > will
> >> >> > get deleted with this option? Or does this alternatively prevent it
> >> >> > from
> >> >> > detecting the revision number of the previous checkout?
> >> >> >
> >> >> > On Monday, November 16, 2015 at 9:07:41 AM UTC-5, Manuel Jesús
> Recena
> >> >> > Soto
> >> >> > wrote:
> >> >> >>
> >> >> >> Hello Alex,
> >> >> >>
> >> >> >> Try to use the option "Always checkout a fresh copy" in Check-out
> >> >> >> Strategy:
> >> >> >> "Delete everything first, then perform "svn checkout". While this
> >> >> >> takes time to execute, it ensures that the workspace is in the
> >> >> >> pristine state." from official documentation.
> >> >> >>
> >> >> >> Regards,
> >> >> >>
> >> >> >> 2015-11-16 14:59 GMT+01:00 Alex Kress :
> >> >> >> > Hi,
> >> >> >> >
> >> >> >> > I was advised by Manuel Recena to post my question here, hoping
> >> >> >> > you
> >> >> >> > can
> >> >> >> > help
> >> >> >> > me with a problem I've been trying to resolve for quite sometime
> >> >> >> > without
> >> >> >> > any
> >> >> >> > luck.
> >> >> >> >
> >> >> >> > I am using Genkins SVN plugin (thank you :) ) to run my CI. My
> >> >> >> > jobs
> >> >> >> > are
> >> >> >> > slightly unusual as I use the same job to run tests on multiple
> >> >> >> > branches. I
> >> >> >> > have the following branches:
> >> >> >> >
> >> >> >> > trunk
> >> >> >> > QA
> >> >> >> > unstable
> >> >> >> >
> >> >> >> > The job is parameterized to take in the path to the branch I
> want
> >> >> >> > to
> >> >> >> > build.
> >> >> >> > As the job does many other things it was more efficient to do it
> >> >> >> > this
> >> >> >> > way
> >> >> >> > rather than creating 3 separate jobs with a lot of logic
> >> >> >> > duplication.
> >> >> >> >
> >> >> >> > The issue this is creating is that Jenkins is confused about
> what
> >> >> >> > has
> >> >> >> > changed between runs. Most often is says that there were no
> >> >> >> > changes.
> >> >> >> > I
> >> >> >> > am
> >> >> >> > guessing it remembers the revision number of the last build, and
> 

Re: Signature verification failed in downloadable 'hudson.tasks.Maven.MavenInstaller'

2015-11-16 Thread Mark Waite
I've seen the same behavior with a freshly created Docker instance.  I
assumed it was a bad copy of the file on the mirror that my environment
chose.  Unfortunately, I didn't find any solution to the problem.

Mark Waite

On Mon, Nov 16, 2015 at 3:49 AM Daniel Anechitoaie 
wrote:

> I get the following error when I click on the "Check now" button on manage
> plugins page.
> Any idea what's going on? This is a fresh installation of Jenkins 1.638 on
> CentOS 7.1 running on Java 1.8.0_66-b17
>
> Signature verification failed in downloadable
> 'hudson.tasks.Maven.MavenInstaller' (show details)
>
> java.security.cert.CertPathValidatorException: algorithm constraints check 
> failed
>   at 
> sun.security.provider.certpath.PKIXMasterCertPathValidator.validate(PKIXMasterCertPathValidator.java:135)
>   at 
> sun.security.provider.certpath.PKIXCertPathValidator.validate(PKIXCertPathValidator.java:219)
>   at 
> sun.security.provider.certpath.PKIXCertPathValidator.validate(PKIXCertPathValidator.java:140)
>   at 
> sun.security.provider.certpath.PKIXCertPathValidator.engineValidate(PKIXCertPathValidator.java:79)
>   at 
> java.security.cert.CertPathValidator.validate(CertPathValidator.java:292)
>   at 
> org.jvnet.hudson.crypto.CertificateUtil.validatePath(CertificateUtil.java:93)
>   at 
> jenkins.util.JSONSignatureValidator.verifySignature(JSONSignatureValidator.java:76)
>   at 
> hudson.model.DownloadService$Downloadable.load(DownloadService.java:370)
>   at 
> hudson.model.DownloadService$Downloadable.updateNow(DownloadService.java:385)
>   at hudson.PluginManager.doCheckUpdatesServer(PluginManager.java:963)
>   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:497)
>   at 
> org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:298)
>   at 
> org.kohsuke.stapler.interceptor.RequirePOST$Processor.invoke(RequirePOST.java:46)
>   at 
> org.kohsuke.stapler.Function$InterceptedFunction.invoke(Function.java:399)
>   at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:161)
>   at 
> org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96)
>   at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:121)
>   at 
> org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
>   at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
>   at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
>   at org.kohsuke.stapler.MetaClass$3.doDispatch(MetaClass.java:183)
>   at 
> org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
>   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:132)
>   at 
> hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:123)
>   at 
> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
>   at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:49)
>   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

Re: Jenkins ignoring No Host proxy setting

2015-11-16 Thread Richard Bywater
What style of values do you have? Do you have hostnames or wildcards? Bear
in mind that the format for wildcards is *.mydomain.com rather than .
mydomain.com like you'd find in a *nix style no_proxy variable.

Richard.

On Tue, 17 Nov 2015 at 10:41 Yout Me  wrote:

> Do I need to configure anything else if so please let me know
>
> thanks
>
>
>
> On Monday, November 16, 2015 at 1:28:35 PM UTC-6, Richard Bywater wrote:
>
>> To confirm, how & where did you specify the no host proxy setting?
>>
>> Richard
>>
>> On Tue, 17 Nov 2015 7:48 am Yout Me  wrote:
>>
> Hi,
>>> Issue:  Jenkins is going through the proxy even though I setup the No
>>> Host proxy.
>>> Jenkins version 1.554.3 ,
>>> JDk 6
>>> To integrage Jenkins with Sonatype Nexus CLM
>>> Sonatype CLM for CI Plugin 2.14.2-01
>>>
>>> Please help
>>>
>>> Thanks 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-use...@googlegroups.com.
>>
>>
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/jenkinsci-users/b588be1b-d1f8-4607-9e9c-79a25951ad0f%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/f262a9e5-167a-4705-a606-ed45fd5681d7%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/CAMui946aKox5gx3nBWXc1WuJ58%3DtJfTDp04O1%3D1Z0eg-k68ugw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins ignoring No Host proxy setting

2015-11-16 Thread Yout Me
Do I need to configure anything else if so please let me know
 
thanks
 
 

On Monday, November 16, 2015 at 1:28:35 PM UTC-6, Richard Bywater wrote:

> To confirm, how & where did you specify the no host proxy setting?
>
> Richard
>
> On Tue, 17 Nov 2015 7:48 am Yout Me > 
> wrote:
>
>> Hi, 
>> Issue:  Jenkins is going through the proxy even though I setup the No 
>> Host proxy.
>> Jenkins version 1.554.3 , 
>> JDk 6
>> To integrage Jenkins with Sonatype Nexus CLM 
>> Sonatype CLM for CI Plugin 2.14.2-01
>>
>> Please help 
>>
>> Thanks 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-use...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/b588be1b-d1f8-4607-9e9c-79a25951ad0f%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/f262a9e5-167a-4705-a606-ed45fd5681d7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Multiple SVN revision numbers affecting "Change set" reported by the SVN plugin

2015-11-16 Thread Manuel Jesús Recena Soto
Hello Alex,

Your scenario changes in each email ;)

I don't know why you don't use different jobs

2015-11-16 19:23 GMT+01:00 Alexander Kress :
> Certainly, please see the attached image, for the "Main" job.
>
> What this shows: I've configured two checkouts, into two different physical
> locations. Both locations are parameterized and passed in to the job. (I've
> tried reordering the two just in case).
>
> I have a set of Watcher jobs that watch specific trees, when they notice
> changes they trigger the "Main" job providing the right SVN path as the
> parameter. I know for a fact that there were changes (I see them in the
> change set for the Watcher jobs). The "Main" job however shows that there
> were no changes on the tree. This results in all sorts of problems, like the
> emails not reaching the people who broke the build.
>
> Thanks again!
>
> Alex
>
> On Mon, Nov 16, 2015 at 10:19 AM, Manuel Jesús Recena Soto
>  wrote:
>>
>> Could you send a screenshot with your configuration and textfile with
>> eh output console?
>>
>> I did not understand what you want to do.
>>
>> Regards,
>>
>> 2015-11-16 15:57 GMT+01:00 Alex Kress :
>> > Thanks Manuel. I've tried this but no luck. The job is still saying "No
>> > changes", even though it cleaned out all the files and did a fresh
>> > checkout.
>> > Does it hurt at all that on the job run I am checking out two code
>> > branches
>> > (one of which did not change) each time, is it possible that it grabs
>> > the
>> > change set from one of these branches but not the other?
>> >
>> > Thank you!
>> >
>> > Alex
>> >
>> > On Monday, November 16, 2015 at 9:33:17 AM UTC-5, Manuel Jesús Recena
>> > Soto
>> > wrote:
>> >>
>> >> Hello Alex,
>> >>
>> >> The revision come from the working copy (in the Job's workspace).
>> >>
>> >> If you want to use the same job for building different content (tags,
>> >> branches), is the safest way.
>> >>
>> >> Regards,
>> >>
>> >> 2015-11-16 15:24 GMT+01:00 Alex Kress :
>> >> > Thanks Manuel, will try this. Does this mean that Jenkins stores the
>> >> > revision of the last checkout separately somewhere in Workspace,
>> >> > which
>> >> > will
>> >> > get deleted with this option? Or does this alternatively prevent it
>> >> > from
>> >> > detecting the revision number of the previous checkout?
>> >> >
>> >> > On Monday, November 16, 2015 at 9:07:41 AM UTC-5, Manuel Jesús Recena
>> >> > Soto
>> >> > wrote:
>> >> >>
>> >> >> Hello Alex,
>> >> >>
>> >> >> Try to use the option "Always checkout a fresh copy" in Check-out
>> >> >> Strategy:
>> >> >> "Delete everything first, then perform "svn checkout". While this
>> >> >> takes time to execute, it ensures that the workspace is in the
>> >> >> pristine state." from official documentation.
>> >> >>
>> >> >> Regards,
>> >> >>
>> >> >> 2015-11-16 14:59 GMT+01:00 Alex Kress :
>> >> >> > Hi,
>> >> >> >
>> >> >> > I was advised by Manuel Recena to post my question here, hoping
>> >> >> > you
>> >> >> > can
>> >> >> > help
>> >> >> > me with a problem I've been trying to resolve for quite sometime
>> >> >> > without
>> >> >> > any
>> >> >> > luck.
>> >> >> >
>> >> >> > I am using Genkins SVN plugin (thank you :) ) to run my CI. My
>> >> >> > jobs
>> >> >> > are
>> >> >> > slightly unusual as I use the same job to run tests on multiple
>> >> >> > branches. I
>> >> >> > have the following branches:
>> >> >> >
>> >> >> > trunk
>> >> >> > QA
>> >> >> > unstable
>> >> >> >
>> >> >> > The job is parameterized to take in the path to the branch I want
>> >> >> > to
>> >> >> > build.
>> >> >> > As the job does many other things it was more efficient to do it
>> >> >> > this
>> >> >> > way
>> >> >> > rather than creating 3 separate jobs with a lot of logic
>> >> >> > duplication.
>> >> >> >
>> >> >> > The issue this is creating is that Jenkins is confused about what
>> >> >> > has
>> >> >> > changed between runs. Most often is says that there were no
>> >> >> > changes.
>> >> >> > I
>> >> >> > am
>> >> >> > guessing it remembers the revision number of the last build, and
>> >> >> > if
>> >> >> > the
>> >> >> > build on another branch has a lower revision number it says that
>> >> >> > nothing
>> >> >> > changed.
>> >> >> >
>> >> >> > The job right now is triggered immediately after any change on any
>> >> >> > of
>> >> >> > the
>> >> >> > above branches. So in essence I need it to ignore the revision
>> >> >> > number
>> >> >> > from
>> >> >> > the previous build and just report the *last* change on the branch
>> >> >> > it
>> >> >> > is
>> >> >> > currently looking at. Then,  if there is failure, send the email
>> >> >> > to
>> >> >> > the
>> >> >> > person making the last commit (which is the main problem for me
>> >> >> > right
>> >> >> > now).
>> >> >> >
>> >> >> > Is there any way to make this happen?
>> >> >> >
>> >> >> > Thanks a lot!
>> >> >> >
>> >> >> > Alex
>> >> >> >
>> >> >> > --
>> >> >> > You received this message because you are subscribed to the Google
>> >> >> > Groups
>> >> >> > "Je

Re: Jenkins ignoring No Host proxy setting

2015-11-16 Thread Yout Me
Thanks! Richard,  I setup the url in the UI 
 

 
 
 
 
 
 
 
 
 
 

On Monday, November 16, 2015 at 1:28:35 PM UTC-6, Richard Bywater wrote:

> To confirm, how & where did you specify the no host proxy setting?
>
> Richard
>
> On Tue, 17 Nov 2015 7:48 am Yout Me > 
> wrote:
>
>> Hi, 
>> Issue:  Jenkins is going through the proxy even though I setup the No 
>> Host proxy.
>> Jenkins version 1.554.3 , 
>> JDk 6
>> To integrage Jenkins with Sonatype Nexus CLM 
>> Sonatype CLM for CI Plugin 2.14.2-01
>>
>> Please help 
>>
>> Thanks 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-use...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/b588be1b-d1f8-4607-9e9c-79a25951ad0f%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/3122ac4b-9894-4597-bbcf-392f40c1e3e3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [workflow-plugin] docker sh steps hang

2015-11-16 Thread Kris Musard
In my case I was able to get sh commands working inside the container by 
adding a user to the docker image with the uid/gid that was being specified 
on the docker run command executed by the plugin (the local jenkins userid 
and group). 

On Thursday, October 1, 2015 at 12:28:54 PM UTC-4, Ross Vandegrift wrote:
>
> Hello all, 
>
> I'm using the workflow plugin with the jenkins:latest docker container, 
> and I need to run jobs inside of other containers.  I've given jenkins 
> access to /var/run/docker.sock and it can run a new container from a 
> workflow. 
>
> But if there's a sh step in that container, the jenkins job freezes. 
> Symptoms are the same as [1], but I don't think write access is the 
> issue.  Te workspace dir has mode 0777, and jenkins is running as root. 
>
> Jenkins successfully creates the script for the sh step, but either it 
> runs and misses the result, or it never executes: 
> root@ab9ed8e40baf:/var/jenkins_home/jobs/docker-example/workspace# ls -laR 
> .: 
> total 12 
> drwxrwxrwx 3 root root 4096 Sep 28 15:39 . 
> drwxr-xr-x 4 root root 4096 Sep 28 15:07 .. 
> drwxr-xr-x 2 root root 4096 Sep 28 15:07 .3413c672 
>
> ./.3413c672: 
> total 12 
> drwxr-xr-x 2 root root 4096 Sep 28 15:07 . 
> drwxrwxrwx 3 root root 4096 Sep 28 15:39 .. 
> -rwxr-xr-x 1 root root   18 Sep 28 15:07 script.sh 
> root@ab9ed8e40baf:/var/jenkins_home/jobs/docker-example/workspace# cat 
> .3413c672/script.sh 
> #!/bin/sh -xe 
> true 
>
>
> Any hints? 
>
> Ross 
>
> [1] - https://issues.jenkins-ci.org/browse/JENKINS-28821 
>

-- 
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/3812a022-fa1d-41dc-bf51-811253797ce5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Dynamic Choice Parameter error "Cannot access class path"

2015-11-16 Thread t3knoid
BTW, I also copying the Oracle JDBC library file in the Groovy lib folder. 
The console test works fine without specifying the -cp option so I know 
that works. Unfortunately, I still get the same failure  in Jenkins.

On Monday, November 16, 2015 at 3:11:54 PM UTC-5, t3knoid wrote:
>
> I am trying to use the Dynamic Choice Parameter and I am getting the 
> following error in the Jenkins.err.log file:
>
> Nov 16, 2015 2:49:16 PM com.seitenbau.jenkins.plugins.dynamicparameter.
> BaseParameterDefinition getScriptResultAsList
> INFO: Script parameter with name 'BUILD' is not a instance of java.util.
> List the parameter value is : null
> Nov 16, 2015 2:49:16 PM com.seitenbau.jenkins.plugins.dynamicparameter.
> util.JenkinsUtils execute
> SEVERE: Cannot access class path
> java.lang.ClassNotFoundException: oracle.jdbc.pool.OracleDataSource
>
> I've specfied the proper class path on the "Class Paths" Dynamic Choice 
> Parameter option. I tried using a forward slash and double-backslash for 
> the path separator character without success.
>
> The script works fine in a DOS console using the following command to run 
> the script:
>
> groovy -cp C:\oracle\product\10.2.0\client_1\jdbc\lib\ojdbc14.jar foo.
> groovy
>
> Here's the code in foo.groovy (with sensitive data obfuscated):
>
> import groovy.sql.Sql
>
> def sql = Sql.newInstance(
> "jdbc:oracle:thin:@(description=(address_list=(address=(host=xxx)(protocol=tcp)(port=1521)))(connect_data=(service_name=xxx)))"
> , "xxx", "xxx","oracle.jdbc.pool.OracleDataSource")
> def list = []
>
> sql.eachRow('select COL from TABLE') { row ->
>  list << "${row.FIELD}"
> }
>
> list
>
> Jenkins doesn't even get to the point of executing the script because of 
> the class path error. Any ideas on what I can do?
>

-- 
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/89708478-7977-415f-8ced-35e97cbf572a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Dynamic Choice Parameter error "Cannot access class path"

2015-11-16 Thread t3knoid
I am trying to use the Dynamic Choice Parameter and I am getting the 
following error in the Jenkins.err.log file:

Nov 16, 2015 2:49:16 PM com.seitenbau.jenkins.plugins.dynamicparameter.
BaseParameterDefinition getScriptResultAsList
INFO: Script parameter with name 'BUILD' is not a instance of java.util.List 
the parameter value is : null
Nov 16, 2015 2:49:16 PM com.seitenbau.jenkins.plugins.dynamicparameter.util.
JenkinsUtils execute
SEVERE: Cannot access class path
java.lang.ClassNotFoundException: oracle.jdbc.pool.OracleDataSource

I've specfied the proper class path on the "Class Paths" Dynamic Choice 
Parameter option. I tried using a forward slash and double-backslash for 
the path separator character without success.

The script works fine in a DOS console using the following command to run 
the script:

groovy -cp C:\oracle\product\10.2.0\client_1\jdbc\lib\ojdbc14.jar foo.groovy

Here's the code in foo.groovy (with sensitive data obfuscated):

import groovy.sql.Sql

def sql = Sql.newInstance(
"jdbc:oracle:thin:@(description=(address_list=(address=(host=xxx)(protocol=tcp)(port=1521)))(connect_data=(service_name=xxx)))"
, "xxx", "xxx","oracle.jdbc.pool.OracleDataSource")
def list = []

sql.eachRow('select COL from TABLE') { row ->
 list << "${row.FIELD}"
}

list

Jenkins doesn't even get to the point of executing the script because of 
the class path error. Any ideas on what I can do?

-- 
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/d1baf2c0-a7d6-430b-86d2-fc0b46e32ecf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Send email during promotion

2015-11-16 Thread Slide
Can you enable debug mode in the global configuration for email-ext? It
would be useful to see a build log (sanitized).

On Mon, Nov 16, 2015 at 12:56 PM t3knoid  wrote:

> It's just not working. No error. The console messages indicates email is
> getting sent.
>
>
> On Thursday, November 12, 2015 at 3:42:42 PM UTC-5, slide wrote:
>
>> I've never tried this (I develop email-ext). Are you getting an error, or
>> is it just not working? I don't have any sort of way to test this.
>>
>> On Thu, Nov 12, 2015, 13:36 t3knoid  wrote:
>>
> Is it possible to send an email during promotion? The email and email-ext
>>> actions are available. However, I can't seem to get it to work after adding
>>> it as an action during a promotion.
>>>
>>> --
>>> 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/a4cdd798-45e7-439d-a151-c9ef9ac1d50c%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/2de53204-3bf1-4b7f-9be1-26e30fa9b15b%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/CAPiUgVeQV12wjOgs2Qi_%3Dqd2Y-FP7rWZbLwXSqCp49jkwG7B2w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Send email during promotion

2015-11-16 Thread t3knoid
It's just not working. No error. The console messages indicates email is 
getting sent.

On Thursday, November 12, 2015 at 3:42:42 PM UTC-5, slide wrote:
>
> I've never tried this (I develop email-ext). Are you getting an error, or 
> is it just not working? I don't have any sort of way to test this.
>
> On Thu, Nov 12, 2015, 13:36 t3knoid > 
> wrote:
>
>> Is it possible to send an email during promotion? The email and email-ext 
>> actions are available. However, I can't seem to get it to work after adding 
>> it as an action during a promotion.
>>
>> -- 
>> 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/a4cdd798-45e7-439d-a151-c9ef9ac1d50c%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/2de53204-3bf1-4b7f-9be1-26e30fa9b15b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins ignoring No Host proxy setting

2015-11-16 Thread Richard Bywater
To confirm, how & where did you specify the no host proxy setting?

Richard

On Tue, 17 Nov 2015 7:48 am Yout Me  wrote:

> Hi,
> Issue:  Jenkins is going through the proxy even though I setup the No Host
> proxy.
> Jenkins version 1.554.3 ,
> JDk 6
> To integrage Jenkins with Sonatype Nexus CLM
> Sonatype CLM for CI Plugin 2.14.2-01
>
> Please help
>
> Thanks 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/b588be1b-d1f8-4607-9e9c-79a25951ad0f%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/CAMui944zhURfSdLykVowQdugePAsMgUih-g_xCXby9%2BEDMvmCQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Jenkins ignoring No Host proxy setting

2015-11-16 Thread Yout Me
Hi, 
Issue:  Jenkins is going through the proxy even though I setup the No Host 
proxy.
Jenkins version 1.554.3 , 
JDk 6
To integrage Jenkins with Sonatype Nexus CLM 
Sonatype CLM for CI Plugin 2.14.2-01

Please help 

Thanks 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/b588be1b-d1f8-4607-9e9c-79a25951ad0f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to use Throttle Concurrent in WorkFlow

2015-11-16 Thread Dave Lawrence
I am looking to use Throttle Concurrent Builds in a WorkFlow. I have jobs 
that perform automated, scheduled testing, as well as user-initiated jobs. 
All these jobs compete for the same set of hardware resources to run tests 
against. I'm currently using BuildFlows for all this and Throttle 
Concurrent Builds works fine.  My problem is that I want to use the new 
WorkFlow plugin for the automated jobs but TCB does not natively support 
WorkFlows.

I've read that people dedicate a node per unit of hardware to solve this 
problem. That's not a good solution for me since I can have 10-20 hardware 
units. I've also ready about people using a workflow stage, but this also 
doesn't work because of the user-initiated jobs that are outside of the 
WorkFlow.

I've seen a presentation by CloudBees that states that a WorkFlow can be 
used with _any_ plugin, even if the plugin does not have native workflow 
support. I'm hoping someone here knows how to do that for TCB.

Thanks,

Dave

-- 
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/2963be60-c531-491d-b8ff-95bb25d312c7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How can I set up a job schedule which triggers new jobs when a specific set of prerequisite jobs terminate?

2015-11-16 Thread Christian Goetze
Essentially, 
this: 
http://stackoverflow.com/questions/32704360/how-can-i-trigger-a-jenkins-job-upon-completion-of-a-set-of-other-jobs#

I know about the multijob plugin and I know about the workflow plugin. Both 
are useless, as they only allow me to schedule static "phases", which turn 
out to be reliably worst case in large scenarios. See the stackoverflow 
question for an example.

I ended up writing a groovy system script to poll and launch jobs, but for 
some reason my script runs Jenkins out of memory pretty quickly when used 
on a large scale.

https://gist.github.com/cg-soft/0ac60a9720662a417cfa

Any pointers on how to code this correctly are greatly appreciated.

-- 
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/8cd9fc0b-8f36-4e47-91c6-67c39c618ebf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Need help with instructions to support Powershell x64 to run Workflow in the Build using PS including authentication (if any)

2015-11-16 Thread Pritesh Ostwal

Need help with instructions to support PowerShell x64 to run Workflow in 
the Build using PS including authentication (if any)

-- 
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/8c41d1b0-7291-452e-affd-d1eec523d1df%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Multiple SVN revision numbers affecting "Change set" reported by the SVN plugin

2015-11-16 Thread Manuel Jesús Recena Soto
Could you send a screenshot with your configuration and textfile with
eh output console?

I did not understand what you want to do.

Regards,

2015-11-16 15:57 GMT+01:00 Alex Kress :
> Thanks Manuel. I've tried this but no luck. The job is still saying "No
> changes", even though it cleaned out all the files and did a fresh checkout.
> Does it hurt at all that on the job run I am checking out two code branches
> (one of which did not change) each time, is it possible that it grabs the
> change set from one of these branches but not the other?
>
> Thank you!
>
> Alex
>
> On Monday, November 16, 2015 at 9:33:17 AM UTC-5, Manuel Jesús Recena Soto
> wrote:
>>
>> Hello Alex,
>>
>> The revision come from the working copy (in the Job's workspace).
>>
>> If you want to use the same job for building different content (tags,
>> branches), is the safest way.
>>
>> Regards,
>>
>> 2015-11-16 15:24 GMT+01:00 Alex Kress :
>> > Thanks Manuel, will try this. Does this mean that Jenkins stores the
>> > revision of the last checkout separately somewhere in Workspace, which
>> > will
>> > get deleted with this option? Or does this alternatively prevent it from
>> > detecting the revision number of the previous checkout?
>> >
>> > On Monday, November 16, 2015 at 9:07:41 AM UTC-5, Manuel Jesús Recena
>> > Soto
>> > wrote:
>> >>
>> >> Hello Alex,
>> >>
>> >> Try to use the option "Always checkout a fresh copy" in Check-out
>> >> Strategy:
>> >> "Delete everything first, then perform "svn checkout". While this
>> >> takes time to execute, it ensures that the workspace is in the
>> >> pristine state." from official documentation.
>> >>
>> >> Regards,
>> >>
>> >> 2015-11-16 14:59 GMT+01:00 Alex Kress :
>> >> > Hi,
>> >> >
>> >> > I was advised by Manuel Recena to post my question here, hoping you
>> >> > can
>> >> > help
>> >> > me with a problem I've been trying to resolve for quite sometime
>> >> > without
>> >> > any
>> >> > luck.
>> >> >
>> >> > I am using Genkins SVN plugin (thank you :) ) to run my CI. My jobs
>> >> > are
>> >> > slightly unusual as I use the same job to run tests on multiple
>> >> > branches. I
>> >> > have the following branches:
>> >> >
>> >> > trunk
>> >> > QA
>> >> > unstable
>> >> >
>> >> > The job is parameterized to take in the path to the branch I want to
>> >> > build.
>> >> > As the job does many other things it was more efficient to do it this
>> >> > way
>> >> > rather than creating 3 separate jobs with a lot of logic duplication.
>> >> >
>> >> > The issue this is creating is that Jenkins is confused about what has
>> >> > changed between runs. Most often is says that there were no changes.
>> >> > I
>> >> > am
>> >> > guessing it remembers the revision number of the last build, and if
>> >> > the
>> >> > build on another branch has a lower revision number it says that
>> >> > nothing
>> >> > changed.
>> >> >
>> >> > The job right now is triggered immediately after any change on any of
>> >> > the
>> >> > above branches. So in essence I need it to ignore the revision number
>> >> > from
>> >> > the previous build and just report the *last* change on the branch it
>> >> > is
>> >> > currently looking at. Then,  if there is failure, send the email to
>> >> > the
>> >> > person making the last commit (which is the main problem for me right
>> >> > now).
>> >> >
>> >> > Is there any way to make this happen?
>> >> >
>> >> > Thanks a lot!
>> >> >
>> >> > Alex
>> >> >
>> >> > --
>> >> > 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/3b96d223-0fda-4198-b5bd-fb4d2c61daf1%40googlegroups.com.
>> >> > For more options, visit https://groups.google.com/d/optout.
>> >>
>> >>
>> >>
>> >> --
>> >> Manuel Recena Soto
>> >> * manuelrecena.com [/blog]
>> >> * linkedin.com/in/recena
>> >
>> > --
>> > 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/630f23ab-1a7a-4d3e-bb83-d504674229cc%40googlegroups.com.
>> >
>> > For more options, visit https://groups.google.com/d/optout.
>>
>>
>>
>> --
>> Manuel Recena Soto
>> * manuelrecena.com [/blog]
>> * linkedin.com/in/recena
>
> --
> 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-use

Re: Any quick way to convert 50+ VS .net manual builds into Jenkins?

2015-11-16 Thread Daniel Beck

On 16.11.2015, at 15:51, Jirong Hu  wrote:

> Jenkins project has everything inside a folder, I can copy a sample 
> project/folder to create a new one and modify something.

That works while Jenkins is stopped. (There are ways to do it while Jenkins is 
running but those script internals and probably not something when you're new 
to Jenkins.)

> Or create a Jenkins project using a script reading a config file? Any idea 
> can save some time is appreciated.

You can prepare config.xml files for the projects, and then POST them to 
/createItem. See the API documentation at the URL https://yourjenkins/api.

-- 
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/FEA4B0B0-56CD-4CCA-BC21-DE54EFC6D91E%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.


Re: Multiple SVN revision numbers affecting "Change set" reported by the SVN plugin

2015-11-16 Thread Alex Kress
Thanks Manuel. I've tried this but no luck. The job is still saying "No 
changes", even though it cleaned out all the files and did a fresh 
checkout. Does it hurt at all that on the job run I am checking out two 
code branches (one of which did not change) each time, is it possible that 
it grabs the change set from one of these branches but not the other?

Thank you!

Alex

On Monday, November 16, 2015 at 9:33:17 AM UTC-5, Manuel Jesús Recena Soto 
wrote:
>
> Hello Alex, 
>
> The revision come from the working copy (in the Job's workspace). 
>
> If you want to use the same job for building different content (tags, 
> branches), is the safest way. 
>
> Regards, 
>
> 2015-11-16 15:24 GMT+01:00 Alex Kress >: 
> > Thanks Manuel, will try this. Does this mean that Jenkins stores the 
> > revision of the last checkout separately somewhere in Workspace, which 
> will 
> > get deleted with this option? Or does this alternatively prevent it from 
> > detecting the revision number of the previous checkout? 
> > 
> > On Monday, November 16, 2015 at 9:07:41 AM UTC-5, Manuel Jesús Recena 
> Soto 
> > wrote: 
> >> 
> >> Hello Alex, 
> >> 
> >> Try to use the option "Always checkout a fresh copy" in Check-out 
> >> Strategy: 
> >> "Delete everything first, then perform "svn checkout". While this 
> >> takes time to execute, it ensures that the workspace is in the 
> >> pristine state." from official documentation. 
> >> 
> >> Regards, 
> >> 
> >> 2015-11-16 14:59 GMT+01:00 Alex Kress : 
> >> > Hi, 
> >> > 
> >> > I was advised by Manuel Recena to post my question here, hoping you 
> can 
> >> > help 
> >> > me with a problem I've been trying to resolve for quite sometime 
> without 
> >> > any 
> >> > luck. 
> >> > 
> >> > I am using Genkins SVN plugin (thank you :) ) to run my CI. My jobs 
> are 
> >> > slightly unusual as I use the same job to run tests on multiple 
> >> > branches. I 
> >> > have the following branches: 
> >> > 
> >> > trunk 
> >> > QA 
> >> > unstable 
> >> > 
> >> > The job is parameterized to take in the path to the branch I want to 
> >> > build. 
> >> > As the job does many other things it was more efficient to do it this 
> >> > way 
> >> > rather than creating 3 separate jobs with a lot of logic duplication. 
> >> > 
> >> > The issue this is creating is that Jenkins is confused about what has 
> >> > changed between runs. Most often is says that there were no changes. 
> I 
> >> > am 
> >> > guessing it remembers the revision number of the last build, and if 
> the 
> >> > build on another branch has a lower revision number it says that 
> nothing 
> >> > changed. 
> >> > 
> >> > The job right now is triggered immediately after any change on any of 
> >> > the 
> >> > above branches. So in essence I need it to ignore the revision number 
> >> > from 
> >> > the previous build and just report the *last* change on the branch it 
> is 
> >> > currently looking at. Then,  if there is failure, send the email to 
> the 
> >> > person making the last commit (which is the main problem for me right 
> >> > now). 
> >> > 
> >> > Is there any way to make this happen? 
> >> > 
> >> > Thanks a lot! 
> >> > 
> >> > Alex 
> >> > 
> >> > -- 
> >> > 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/3b96d223-0fda-4198-b5bd-fb4d2c61daf1%40googlegroups.com.
>  
>
> >> > For more options, visit https://groups.google.com/d/optout. 
> >> 
> >> 
> >> 
> >> -- 
> >> Manuel Recena Soto 
> >> * manuelrecena.com [/blog] 
> >> * linkedin.com/in/recena 
> > 
> > -- 
> > 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/630f23ab-1a7a-4d3e-bb83-d504674229cc%40googlegroups.com.
>  
>
> > 
> > For more options, visit https://groups.google.com/d/optout. 
>
>
>
> -- 
> Manuel Recena Soto 
> * manuelrecena.com [/blog] 
> * linkedin.com/in/recena 
>

-- 
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/04b4f0a6-73c8-46d8-9e71-7b03026d54c5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Any quick way to convert 50+ VS .net manual builds into Jenkins?

2015-11-16 Thread Jirong Hu
We are migrating 50+ .net project from TFS to GitHub, at the same time, we 
want to use Jenkins to automate the build. Currently all the builds are 
done inside the Visual Studio manually. I know how to automate this build 
using MSBuild and we already have a lot of these projects building inside 
Jenkins.

My question: is there a way to set up these 50+ project quickly w/o 
creating them one by one manually? Anyway to script them? e.g. a Jenkins 
project has everything inside a folder, I can copy a sample project/folder 
to create a new one and modify something. Or create a Jenkins project using 
a script reading a config file? Any idea can save some time is appreciated.

-- 
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/932b8ba4-8f08-4f45-8f47-535c1da5d98a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Multiple SVN revision numbers affecting "Change set" reported by the SVN plugin

2015-11-16 Thread Manuel Jesús Recena Soto
Hello Alex,

The revision come from the working copy (in the Job's workspace).

If you want to use the same job for building different content (tags,
branches), is the safest way.

Regards,

2015-11-16 15:24 GMT+01:00 Alex Kress :
> Thanks Manuel, will try this. Does this mean that Jenkins stores the
> revision of the last checkout separately somewhere in Workspace, which will
> get deleted with this option? Or does this alternatively prevent it from
> detecting the revision number of the previous checkout?
>
> On Monday, November 16, 2015 at 9:07:41 AM UTC-5, Manuel Jesús Recena Soto
> wrote:
>>
>> Hello Alex,
>>
>> Try to use the option "Always checkout a fresh copy" in Check-out
>> Strategy:
>> "Delete everything first, then perform "svn checkout". While this
>> takes time to execute, it ensures that the workspace is in the
>> pristine state." from official documentation.
>>
>> Regards,
>>
>> 2015-11-16 14:59 GMT+01:00 Alex Kress :
>> > Hi,
>> >
>> > I was advised by Manuel Recena to post my question here, hoping you can
>> > help
>> > me with a problem I've been trying to resolve for quite sometime without
>> > any
>> > luck.
>> >
>> > I am using Genkins SVN plugin (thank you :) ) to run my CI. My jobs are
>> > slightly unusual as I use the same job to run tests on multiple
>> > branches. I
>> > have the following branches:
>> >
>> > trunk
>> > QA
>> > unstable
>> >
>> > The job is parameterized to take in the path to the branch I want to
>> > build.
>> > As the job does many other things it was more efficient to do it this
>> > way
>> > rather than creating 3 separate jobs with a lot of logic duplication.
>> >
>> > The issue this is creating is that Jenkins is confused about what has
>> > changed between runs. Most often is says that there were no changes. I
>> > am
>> > guessing it remembers the revision number of the last build, and if the
>> > build on another branch has a lower revision number it says that nothing
>> > changed.
>> >
>> > The job right now is triggered immediately after any change on any of
>> > the
>> > above branches. So in essence I need it to ignore the revision number
>> > from
>> > the previous build and just report the *last* change on the branch it is
>> > currently looking at. Then,  if there is failure, send the email to the
>> > person making the last commit (which is the main problem for me right
>> > now).
>> >
>> > Is there any way to make this happen?
>> >
>> > Thanks a lot!
>> >
>> > Alex
>> >
>> > --
>> > 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/3b96d223-0fda-4198-b5bd-fb4d2c61daf1%40googlegroups.com.
>> > For more options, visit https://groups.google.com/d/optout.
>>
>>
>>
>> --
>> Manuel Recena Soto
>> * manuelrecena.com [/blog]
>> * linkedin.com/in/recena
>
> --
> 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/630f23ab-1a7a-4d3e-bb83-d504674229cc%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.



-- 
Manuel Recena Soto
* manuelrecena.com [/blog]
* linkedin.com/in/recena

-- 
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/CABa-Uofa1iznBjYB2w9DdJvHnp4OHuyR_KgkgMV1AhJ8OsnhjA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Multiple SVN revision numbers affecting "Change set" reported by the SVN plugin

2015-11-16 Thread Alex Kress
Thanks Manuel, will try this. Does this mean that Jenkins stores the 
revision of the last checkout separately somewhere in Workspace, which will 
get deleted with this option? Or does this alternatively prevent it from 
detecting the revision number of the previous checkout?

On Monday, November 16, 2015 at 9:07:41 AM UTC-5, Manuel Jesús Recena Soto 
wrote:
>
> Hello Alex, 
>
> Try to use the option "Always checkout a fresh copy" in Check-out 
> Strategy: 
> "Delete everything first, then perform "svn checkout". While this 
> takes time to execute, it ensures that the workspace is in the 
> pristine state." from official documentation. 
>
> Regards, 
>
> 2015-11-16 14:59 GMT+01:00 Alex Kress >: 
> > Hi, 
> > 
> > I was advised by Manuel Recena to post my question here, hoping you can 
> help 
> > me with a problem I've been trying to resolve for quite sometime without 
> any 
> > luck. 
> > 
> > I am using Genkins SVN plugin (thank you :) ) to run my CI. My jobs are 
> > slightly unusual as I use the same job to run tests on multiple 
> branches. I 
> > have the following branches: 
> > 
> > trunk 
> > QA 
> > unstable 
> > 
> > The job is parameterized to take in the path to the branch I want to 
> build. 
> > As the job does many other things it was more efficient to do it this 
> way 
> > rather than creating 3 separate jobs with a lot of logic duplication. 
> > 
> > The issue this is creating is that Jenkins is confused about what has 
> > changed between runs. Most often is says that there were no changes. I 
> am 
> > guessing it remembers the revision number of the last build, and if the 
> > build on another branch has a lower revision number it says that nothing 
> > changed. 
> > 
> > The job right now is triggered immediately after any change on any of 
> the 
> > above branches. So in essence I need it to ignore the revision number 
> from 
> > the previous build and just report the *last* change on the branch it is 
> > currently looking at. Then,  if there is failure, send the email to the 
> > person making the last commit (which is the main problem for me right 
> now). 
> > 
> > Is there any way to make this happen? 
> > 
> > Thanks a lot! 
> > 
> > Alex 
> > 
> > -- 
> > 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/3b96d223-0fda-4198-b5bd-fb4d2c61daf1%40googlegroups.com.
>  
>
> > For more options, visit https://groups.google.com/d/optout. 
>
>
>
> -- 
> Manuel Recena Soto 
> * manuelrecena.com [/blog] 
> * linkedin.com/in/recena 
>

-- 
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/630f23ab-1a7a-4d3e-bb83-d504674229cc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Docker registry credentials (Docker Commons Plugin)

2015-11-16 Thread Antony Seedhouse
Hey,

As far as I understand, this credentials screen[1] should be available with 
the Docker Commons Plugin, but we cannot find it as of version 1.2, and 
according to github there have been no unreleased changes

We're also on the latest version of the Cloudbees Build & Publish plugin 
(1.1 as of Nov 13.), though one of the developers of which is pretty sure 
that the screen is part of Docker Commons [2]

[1] 
https://raw.githubusercontent.com/jenkinsci/docker-build-publish-plugin/master/registry-setup.png
[2] https://twitter.com/michaelneale/status/666246899737980928

-- 
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/db31e97d-c032-424b-be80-c08aa51e8213%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Multiple SVN revision numbers affecting "Change set" reported by the SVN plugin

2015-11-16 Thread Manuel Jesús Recena Soto
Hello Alex,

Try to use the option "Always checkout a fresh copy" in Check-out Strategy:
"Delete everything first, then perform "svn checkout". While this
takes time to execute, it ensures that the workspace is in the
pristine state." from official documentation.

Regards,

2015-11-16 14:59 GMT+01:00 Alex Kress :
> Hi,
>
> I was advised by Manuel Recena to post my question here, hoping you can help
> me with a problem I've been trying to resolve for quite sometime without any
> luck.
>
> I am using Genkins SVN plugin (thank you :) ) to run my CI. My jobs are
> slightly unusual as I use the same job to run tests on multiple branches. I
> have the following branches:
>
> trunk
> QA
> unstable
>
> The job is parameterized to take in the path to the branch I want to build.
> As the job does many other things it was more efficient to do it this way
> rather than creating 3 separate jobs with a lot of logic duplication.
>
> The issue this is creating is that Jenkins is confused about what has
> changed between runs. Most often is says that there were no changes. I am
> guessing it remembers the revision number of the last build, and if the
> build on another branch has a lower revision number it says that nothing
> changed.
>
> The job right now is triggered immediately after any change on any of the
> above branches. So in essence I need it to ignore the revision number from
> the previous build and just report the *last* change on the branch it is
> currently looking at. Then,  if there is failure, send the email to the
> person making the last commit (which is the main problem for me right now).
>
> Is there any way to make this happen?
>
> Thanks a lot!
>
> Alex
>
> --
> 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/3b96d223-0fda-4198-b5bd-fb4d2c61daf1%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



-- 
Manuel Recena Soto
* manuelrecena.com [/blog]
* linkedin.com/in/recena

-- 
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/CABa-UoeVtU7_TObx9F_1usaZCfEC5OdfPw21DE%3Dd_yPM6Gn6gg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Multiple SVN revision numbers affecting "Change set" reported by the SVN plugin

2015-11-16 Thread Alex Kress
Hi,

I was advised by Manuel Recena to post my question here, hoping you can 
help me with a problem I've been trying to resolve for quite sometime 
without any luck.

I am using Genkins SVN plugin (thank you :) ) to run my CI. My jobs are 
slightly unusual as I use the same job to run tests on multiple branches. I 
have the following branches:

trunk
QA
unstable

The job is parameterized to take in the path to the branch I want to build. 
As the job does many other things it was more efficient to do it this way 
rather than creating 3 separate jobs with a lot of logic duplication.

The issue this is creating is that Jenkins is confused about what has 
changed between runs. Most often is says that there were no changes. I am 
guessing it remembers the revision number of the last build, and if the 
build on another branch has a lower revision number it says that nothing 
changed.

The job right now is triggered immediately after any change on any of the 
above branches. So in essence I need it to ignore the revision number from 
the previous build and just report the *last* change on the branch it is 
currently looking at. Then,  if there is failure, send the email to the 
person making the last commit (which is the main problem for me right now).

Is there any way to make this happen?

Thanks a lot!

Alex

-- 
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/3b96d223-0fda-4198-b5bd-fb4d2c61daf1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: Manage lib dependencies as compilation or link time dependencies?

2015-11-16 Thread Ginga, Dick
Matt, compile and link time "dependencies" are typically in your make file, 
visual studio, eclipse, other IDEs. So the first steps in your build will be to 
run these. You don't need multiple jobs. For a simple approach you would just 
create a free-style project that 1. Pulls the sources from your SCM, 2. Execute 
whatever steps are needed to compile and link your software, 3. Archive the 
binaries for distribution


-Original Message-
From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Matt Klein
Sent: Saturday, November 14, 2015 8:51 AM
To: Jenkins Users
Subject: Manage lib dependencies as compilation or link time dependencies?

Hi folks,

Newbie here looking to use jenkins to manage our build process.  I'm attempting 
to follow jenkins best practices.  One specific thing I'm wondering is how to 
set up my build dependencies or pipeline.  We have a layered architecture which 
consists of many libraries (around 20) and a couple of executables.  So we have 
layers of compilation dependencies but really at link time i just have two 
stages, libraries and binaries.  My question is should my jenkins job 
dependencies reflect the compile time dependencies or just the link time 
dependencies?  

The source is a mix of c and c++.

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/c3990d21-02a1-4ca9-a602-d844b45a2074%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/6C6EE445A6F6CE4E8A0FFB51B071A4E2D868E81D%40AMERMBX02.PERKINELMER.NET.
For more options, visit https://groups.google.com/d/optout.


RE: Build orchestration for hierarchy of build jobs

2015-11-16 Thread John Mellor
Do you really need the complexity of one of the multiple “solutions” for 
workflow?  I gave up on those solutions since everyone seems to think that you 
need YADSL to do something simple like this.  Just configure the reverse 
dependencies in each job and Jenkins will run this setup for you.  No learning 
curve, no complexity and no breakage with every Jenkins update.

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Khalil Jiries
Sent: November-16-15 03:16
To: Jenkins Users
Subject: Re: Build orchestration for hierarchy of build jobs

Hi,

I'm updating this thread in case it was missed by the right person to answer it.

On Thursday, October 22, 2015 at 6:11:29 PM UTC+3, Khalil Jiries wrote:
Hi All,

I was looking for a way to define and execute a hierarchy of Maven jobs.
My product is a set of components (A, B, C, D, E, F, G)
Each component have a different SCM repository.
Each components is dependent on others components, Components B,C,D are 
dependent on artifacts of components A.

In case of a commit to component C, i need to make sure that component C build 
is triggered, and only when it finishes to trigger build for components E & F 
in parallel.

I was looking into the workflow & multijobs plugin but couldn't find them 
totally answering the requirements (maybe i'm wrong here).

Is there a plugin that answers the presented requirements?



[https://lh3.googleusercontent.com/-2KAbb-2G5Ho/Vij6ryRl54I/GVc/t8dcK5MQ1DA/s1600/components_dep.png]


Thanks.
Khalil Jiries.
--
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/1fa82a19-07f0-4a46-bebf-0e449b789588%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/b1431761fc3340a7bc10e814896e3b53%40mbx01colo01p.esentire.local.
For more options, visit https://groups.google.com/d/optout.


Signature verification failed in downloadable 'hudson.tasks.Maven.MavenInstaller'

2015-11-16 Thread Daniel Anechitoaie
I get the following error when I click on the "Check now" button on manage 
plugins page.
Any idea what's going on? This is a fresh installation of Jenkins 1.638 on 
CentOS 7.1 running on Java 1.8.0_66-b17

Signature verification failed in downloadable 
'hudson.tasks.Maven.MavenInstaller' (show details)

java.security.cert.CertPathValidatorException: algorithm constraints check 
failed
at 
sun.security.provider.certpath.PKIXMasterCertPathValidator.validate(PKIXMasterCertPathValidator.java:135)
at 
sun.security.provider.certpath.PKIXCertPathValidator.validate(PKIXCertPathValidator.java:219)
at 
sun.security.provider.certpath.PKIXCertPathValidator.validate(PKIXCertPathValidator.java:140)
at 
sun.security.provider.certpath.PKIXCertPathValidator.engineValidate(PKIXCertPathValidator.java:79)
at 
java.security.cert.CertPathValidator.validate(CertPathValidator.java:292)
at 
org.jvnet.hudson.crypto.CertificateUtil.validatePath(CertificateUtil.java:93)
at 
jenkins.util.JSONSignatureValidator.verifySignature(JSONSignatureValidator.java:76)
at 
hudson.model.DownloadService$Downloadable.load(DownloadService.java:370)
at 
hudson.model.DownloadService$Downloadable.updateNow(DownloadService.java:385)
at hudson.PluginManager.doCheckUpdatesServer(PluginManager.java:963)
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:497)
at 
org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:298)
at 
org.kohsuke.stapler.interceptor.RequirePOST$Processor.invoke(RequirePOST.java:46)
at 
org.kohsuke.stapler.Function$InterceptedFunction.invoke(Function.java:399)
at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:161)
at 
org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96)
at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:121)
at 
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
at org.kohsuke.stapler.MetaClass$3.doDispatch(MetaClass.java:183)
at 
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
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:132)
at 
hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:123)
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:49)
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(HttpSessionCo

Re: Scriptler "suddenly" broken - not sure how to investigate further

2015-11-16 Thread Victor Martinez
Uhm, I'm afraid I've not clue, if you say you can use a similar jenkins 
instance somewhere else and cannot see those errors, it might be related to 
some "corruption"... it's weird though. Maybe it's a presentation layout 
issue rather than backend one so in that case the logger won't provide 
enough information AFAIK.

Have you tried to downgrade that scriptler version? 

Can yo uplease raise a ticket 
in https://issues.jenkins-ci.org/secure/Dashboard.jspa? maybe someone else 
already reported a similar error


On Sunday, 15 November 2015 16:36:14 UTC+1, Itamar Ostricher wrote:
>
> Thanks again Victor!
>
> I added the wildcard logger, but still don't see much in that custom 
> logger. I'd like to see the full stack trace - what am I doing wrong?
>
> I disabled security completely for sake of debugging this.
>
> This master is already running in a docker container.
> Another instance does not present the same symptoms.
> But Jenkins is not a "clean" containerized application - it has a lot of 
> state stored outside and mounted from the host, so I guess something went 
> wrong there...
>
> I did restart the service after uninstalling green balls plugin.
>
> On Sun, Nov 15, 2015 at 4:35 PM Victor Martinez  > wrote:
>
>> If you use scritler plugin you can add the below logger:
>> - org.jenkinsci.plugins.scriptler.*
>>
>> As you can see In the below source code:
>> - 
>> https://github.com/jenkinsci/scriptler-plugin/blob/master/src/main/java/org/jenkinsci/plugins/scriptler/ScriptlerPluginImpl.java
>>
>> I meant, to add some finest levels in the logger
>>
>> Security Jenkins layout is based on different types:
>> - https://wiki.jenkins-ci.org/display/JENKINS/Standard+Security+Setup
>>
>> If you configure another jenkins instance with similar plugin setup, does 
>> it work?
>>
>> You can use a Jenkins docker instance easily, use the below page:
>> - http://jenkins-ci.org/content/official-jenkins-lts-docker-image
>>
>> Besides of that, if you uninstalled the green plugin did you restart your 
>> Jenkins service?
>>
>> Cheera
>>
>> --
>> 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/8ASFRjj3z8A/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, send an email to 
>> jenkinsci-use...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/4cd12b3d-b7d7-47e6-9511-53de497115f7%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/88a98a6d-f754-4ba2-9089-9775085abfe3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Abort a job as soon as an error message appears in the console output

2015-11-16 Thread Victor Martinez
Hi again,

  Jenkins run the above shebang by default:

- 
https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/hudson/tasks/Shell.java#L85

   But if you run scripts and other scripts without trapping those errors 
then IMO the root cause is basically in the scripts itself, so if those 
scripts don't handle those errorlevels accordingly then you won't be able 
to track those error, I'm afraid I don't know how electric commander works, 
but jenkins does solve those error tracking accordingly and generally, but 
for specific cases error tracking should be, IMO, managed by the scripts 
rather than any tools, but this is another topic out of this thread.

   Using shell scripts for building/testing/compiling are a kind of 
non-standard way of doing automatic tasks, if you use 
gradle/maven/ant/nant/ then those errorlevels will be managed 
accordingly. It's not a trivial change for old legacy systems, but that's 
probably something else.

  Let's see if someone else can provide another way of solving it.

Cheers



On Monday, 16 November 2015 10:21:46 UTC+1, Patricia Mendez Lorenzo wrote:
>
> Thanks a lot Victor for your answer. 
>
> In any case, this is what we would like to avoid. At a certain point, when 
> the chain of scripts is too long, we will certainly forget to include the 
> -e option. This is not a robust approach. I was wondering in Jenkins is 
> able to do it as toolkit, other tools are able to do it (as electric 
> commander). You should not care about the error tracking; the tool should 
> be able to do it for you
>
> Cheers
> Patricia
>
>
>
> El viernes, 13 de noviembre de 2015, 17:17:24 (UTC+1), Victor Martinez 
> escribió:
>>
>> Hi,
>>
>> If I understood correctly you could add the below shebang in each script 
>> file
>>
>> #!/bin/bash -xe
>>
>> Then in case of any errors of those children scripts will be trapped 
>> accordingly. you might need to review whether you use any traps
>>
>>
>> I hope it helps
>>
>> Cheers
>>
>>

-- 
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/2441ecb6-91ef-48cd-af7c-079e05371f79%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Abort a job as soon as an error message appears in the console output

2015-11-16 Thread Patricia Mendez Lorenzo
Thanks a lot Victor for your answer. 

In any case, this is what we would like to avoid. At a certain point, when 
the chain of scripts is too long, we will certainly forget to include the 
-e option. This is not a robust approach. I was wondering in Jenkins is 
able to do it as toolkit, other tools are able to do it (as electric 
commander). You should not care about the error tracking; the tool should 
be able to do it for you

Cheers
Patricia



El viernes, 13 de noviembre de 2015, 17:17:24 (UTC+1), Victor Martinez 
escribió:
>
> Hi,
>
> If I understood correctly you could add the below shebang in each script 
> file
>
> #!/bin/bash -xe
>
> Then in case of any errors of those children scripts will be trapped 
> accordingly. you might need to review whether you use any traps
>
>
> I hope it helps
>
> Cheers
>
>

-- 
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/b163fd03-62d2-4f2c-be8b-89b967dbed45%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Build orchestration for hierarchy of build jobs

2015-11-16 Thread Khalil Jiries
Hi,

I'm updating this thread in case it was missed by the right person to 
answer it.

On Thursday, October 22, 2015 at 6:11:29 PM UTC+3, Khalil Jiries wrote:
>
> Hi All,
>
> I was looking for a way to define and execute a hierarchy of Maven jobs.
> My product is a set of components (A, B, C, D, E, F, G)
> Each component have a different SCM repository.
> Each components is dependent on others components, Components B,C,D are 
> dependent on artifacts of components A.
>
> In case of a commit to component C, i need to make sure that component C 
> build is triggered, and only when it finishes to trigger build for 
> components E & F in parallel.
>
> I was looking into the workflow & multijobs plugin but couldn't find them 
> totally answering the requirements (maybe i'm wrong here).
>
> Is there a plugin that answers the presented requirements?
>
>
>
> 
>
>
> Thanks.
> Khalil Jiries.
>

-- 
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/1fa82a19-07f0-4a46-bebf-0e449b789588%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.