Re: How to pass a class instance in a jenkins pipeline script?

2019-04-09 Thread touseef
On Wednesday, 10 April 2019 09:44:31 UTC+5:30, touseef wrote: > > I have a pipeline compliant test plugin.in a @databoundConstructor i > have to pass an instance of another class *Input (*consisting of n number > of variables to be taken as input*)* > > > @Symbol("forget") > @Extension > publ

How to pass a class instance in a jenkins pipeline script?

2019-04-09 Thread touseef
I have a pipeline compliant test plugin.in a @databoundConstructor i have to pass an instance of another class *Input (*consisting of n number of variables to be taken as input*)* @Symbol("forget") @Extension public class ForgetBuilder extends Builder implements SimpleBuildStep { private

Multibranch pipeline - folder struct

2019-04-09 Thread Eldad Cohen
Hi. My workspace struct is foldername_branchname... . Is it should be ? Folder - branchname 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 jenkins

maven-install-plugin - generating jar in jenkins internal maven repository

2019-04-09 Thread Mauro Flores
Hello, I have a project that generates an .war and .jar file. The ,jar file is being installed with maven maven-install-plugin. Unfortunatelly the jar is being installed in the jenkins internal maven repository. The .war file is being installed correctly in the correct maven repository. What

Re: Opinions about aggressive reuse strategy for Jenkins pipelines

2019-04-09 Thread Slide
Sounds like a good system to me. :-) On Tue, Apr 9, 2019 at 9:37 AM David Karr wrote: > I work for a very large organization, on a project with many teams, > working on many microservices, all of which were generated from a > home-grown application template system. Most of the Java-based > micr

Opinions about aggressive reuse strategy for Jenkins pipelines

2019-04-09 Thread David Karr
I work for a very large organization, on a project with many teams, working on many microservices, all of which were generated from a home-grown application template system. Most of the Java-based microservices have a very similar build process. In fact, most of the projects have an identical

Re: Jenkins CLI with http protocol does not respond in 2.81

2019-04-09 Thread pshah via Jenkins Users
Thanks a lot your reply helped me a lot I had to update nginx to have these settings # Required for new HTTP-based CLI proxy_http_version 1.1; proxy_request_buffering off; # workaround for https://issues.jenkins-ci.org/browse/JENKINS-45651

Re: Jenkins Declarative Pipeline Error : OCI runtime exec failed

2019-04-09 Thread Christophe Pruvost
Up... Hi all, I think it is not a difficult question...someone can answer ? Ty for all Regards On Tuesday, April 2, 2019 at 6:37:56 PM UTC+2, Christophe Pruvost wrote: > > Hi all, > I have a declarative pipeline like below and I got an error at the stage > 'Build Docker Image' > > OCI runtime e

Send mail to mailbox when there's an infrastructure fail

2019-04-09 Thread Sarfroz Basha
Hi All, This is Sarfroz, Working in T-systems, I need small help. Whenever GIT server was down at that time build was trigger in Jenkins if build fails email notification need to come like Git exception during checkout like that. Need to mention in Groovy script pipeline. Example:- - GitExcept