How to integrate Jenkins and Testlink

2020-07-31 Thread vaibhav khachane
Hello , Please tell me a step by step document to integrate jenkins and testlink. Thank you, Vaibhav -- 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

Re: How to throw an error if a parameter is empty?

2020-07-31 Thread Haibinh Nguyen
Hi, How about this: env.FIELD1 = params.FIELD1 switch(FIELD1) { case "ABCD": env.p4 = '/usr/bin/p4' env.awk = 'awk' break case "":: currentBuild.result = 'SUCCESS' return break } On Fri, Jul 31, 2020 at 12:34 AM

Re: Jenkins emailext plugin with default subject and body in pipeline script

2020-07-31 Thread Slide
Hi Dave, Email-ext works on the idea of macros. When you define the default subject in the global config, it sets the value of a macro that you can then use in your job config. If you want to get the value you set, you have to use the macro for it. subject: '$DEFAULT_SUBJECT' This is the same

Re: Help required: jenkins SSH connectivity issue

2020-07-31 Thread jeremy mordkoff
ssh is picky about permissions. make sure the .ssh directory itself has perms 770 and any files in that folder have perms 660 and that they are all owned by the correct user on both the client and server. try adding *-o identitiesOnly=yes* on the ssh client command line. There is a server

Re: How to throw an error if a parameter is empty?

2020-07-31 Thread Sinh Lam
You can try executing a basic script that exits 1 if the parameter is not defined (something like -z $parameter) as the first step in the build. On July 31, 2020 at 12:33:54 AM, chencho m-a (chenc...@gmail.com) wrote: Hi, I have some parameters and i would like to check if they are empty,

Re: How to throw an error if a parameter is empty?

2020-07-31 Thread chencho m-a
What i want is that when you press the build button, a pop up or error at some point appears and stops the execution. I think that you need to overload the button in any way, but i dont know how to do it. El viernes, 31 de julio de 2020 a las 15:47:53 UTC+2, sinh...@inviarobotics.com

How to integrate Jenkins and Testlink

2020-07-31 Thread vaibhav khachane
Please share step by step process with me . I tried few tutorials . Testcases fetched into jenkins . But results not getting proper Please help me -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop

Re: How to throw an error if a parameter is empty?

2020-07-31 Thread jeremy mordkoff
@Haibinh is that a bash answer? @chencho -- are you looking for a solution in bash, or groovy? Declarative or scripted? On Friday, July 31, 2020 at 9:16:52 AM UTC-4, Haibinh Nguyen wrote: > > Hi, > How about this: > > env.FIELD1 = params.FIELD1 > switch(FIELD1) { > case "ABCD": >

Jenkins emailext plugin with default subject and body in pipeline script

2020-07-31 Thread David Koenig
i am using Jenkins with the email extension plugin and declarative pipelines. In https://jenkinsserver/configure i configured the "Default Subject" and "Default Content" with some variables and nice looking content which i want to use in a pipeline script. When i add the following code to a

Re: Help required: jenkins SSH connectivity issue

2020-07-31 Thread sakshira...@gmail.com
thanks very much for all the advice , i tried in the given way but while conencting to the server to the client using manual ssh i get below error everytime: ccpuser@harbortest-master-gro-a7c3cedfab:~$ ssh ccpuser@10.32.141.35 The authenticity of host '10.32.141.35 (10.32.141.35)' can't be

How to throw an error if a parameter is empty?

2020-07-31 Thread chencho m-a
Hi, I have some parameters and i would like to check if they are empty, and if so, dont start the build. Any clue? Thank you -- 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