Re: Warning: The new version of this plugin is marked as incompatible with the installed version.

2022-11-22 Thread Ivan Fernandez Calvo

Yes, the warning is because the change to stop supporting Java 8, the only 
way to warning you about breaking changes is to mark the plugin as 
incompatible with previous versions, this should force you to read the 
release notes and check what are the changes about, if you are in Jenkins 
2.361 and your agents have Java 11 in the path it is safe to update
El martes, 22 de noviembre de 2022 a las 15:24:40 UTC, pib...@gmail.com 
escribió:

> Going through the release notes, starting from the version you have to the 
> latest, there is one breaking change documented:[image: Screenshot 
> 2022-11-22 at 16.22.07.png]
>
> Le mar. 22 nov. 2022 à 16:10, A, Ramkumar  a écrit :
>
>> Hi,
>>
>>  
>>
>> Can you advise which documentation to refer to get the exact 
>> parameter/setting that got changed with the new version  of plugin ? I have 
>> gone throw the release notes and don’t find the info..
>>
>>  
>>
>> SSH Build Agents
>>
>> How to install
>>
>>- Documentation 
>>- Releases 
>>- Issues 
>>- Dependencies 
>>
>> [image: Jenkins Plugin]  [image: 
>> GitHub release] 
>>  [image: 
>> Jenkins Plugin Installs] 
>>
>> Provides a means to launch agents via SSH.
>>
>> Documentation
>>
>>- Configure guide 
>>
>> 
>>- Troubleshooting guide 
>>
>> 
>>- Using the plugin with Cygwin on Windows 
>>
>>
>> Changelog
>>
>>- For 1.30.0 and newer versions, see GitHub Releases 
>>
>>- For previous versions, see this file 
>>
>>
>> Notes
>>
>> This plugin is formerly known as "SSH Slaves Plugin". It was renamed in 
>> 1.31.0 
>> ,
>>  
>> but the plugin ID was retained as ssh-slaves to retain compatibility for 
>> the plugin users.
>>
>>  
>>
>>  
>>
>> *From:* 'Daniel Beck' via Jenkins Users  
>> *Sent:* 22 November 2022 20:31
>> *To:* jenkins...@googlegroups.com
>> *Subject:* Re: Warning: The new version of this plugin is marked as 
>> incompatible with the installed version.
>>
>>  
>>
>>  
>>
>>  
>>
>> On Tue, Nov 22, 2022 at 3:03 PM A, Ramkumar  wrote:
>>
>>  
>>
>> We do not want to upgrade the plugin below thinking it may break the 
>> existing Linux executor configured on Jenkins. Is that true ?
>>
>>  
>>
>> I recommend you try looking at the plugin documentation. If you have done 
>> so already, what did you find?
>>
>> -- 
>> 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/CAMo7PtJsT%2BfdCYak6g8k6aoNM%2Bq2YU%3DyC%3DdSfWekVFu6R2QERg%40mail.gmail.com
>>  
>> 
>> .
>>
>> DXC Technology India Private Limited - 9th Floor, Block-D Littlewood 
>> Tower, TRIL Info Park Ramanujan IT City, Rajiv Gandhi Salai, Taramani, 
>> Chennai - 600113. CIN: U72900TN2015FTC102489. 
>> DXC Technology Company -- This message is transmitted to you by or on 
>> behalf of DXC Technology Company or one of its affiliates. It is intended 
>> exclusively for the addressee. The substance of this message, along with 
>> any attachments, may contain proprietary, confidential or privileged 
>> information or information that is otherwise legally exempt from 
>> disclosure. Any unauthorized review, use, disclosure or distribution is 
>> prohibited. If you are not the intended recipient of this message, you are 
>> not authorized to read, print, retain, copy or disseminate any part of this 
>> message. If you have received this message in error, please destroy and 
>> delete all copies and notify the sender by return e-mail. Regardless of 
>> content, this e-mail shall not operate to bind DXC Technology Company or 
>> any of its affiliates to any order or other contract unless pursuant to 
>> explicit written agreement or government initiative expressly permitting 
>> the use of e-mail fo

RE: Warning: The new version of this plugin is marked as incompatible with the installed version.

2022-11-22 Thread A, Ramkumar
Hi,

Can you advise which documentation to refer to get the exact parameter/setting 
that got changed with the new version  of plugin ? I have gone throw the 
release notes and don’t find the info..

SSH Build Agents
How to install

  *   Documentation
  *   Releases
  *   Issues
  *   Dependencies
[Jenkins Plugin] [GitHub release] 
  [Jenkins 
Plugin Installs] 
Provides a means to launch agents via SSH.
Documentation

  *   Configure 
guide
  *   Troubleshooting 
guide
  *   Using the plugin with Cygwin on 
Windows
Changelog

  *   For 1.30.0 and newer versions, see GitHub 
Releases
  *   For previous versions, see this 
file
Notes
This plugin is formerly known as "SSH Slaves Plugin". It was renamed in 
1.31.0,
 but the plugin ID was retained as ssh-slaves to retain compatibility for the 
plugin users.


From: 'Daniel Beck' via Jenkins Users 
Sent: 22 November 2022 20:31
To: jenkinsci-users@googlegroups.com
Subject: Re: Warning: The new version of this plugin is marked as incompatible 
with the installed version.



On Tue, Nov 22, 2022 at 3:03 PM A, Ramkumar 
mailto:ramkuma...@dxc.com>> wrote:

We do not want to upgrade the plugin below thinking it may break the existing 
Linux executor configured on Jenkins. Is that true ?

I recommend you try looking at the plugin documentation. If you have done so 
already, what did you find?
--
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/CAMo7PtJsT%2BfdCYak6g8k6aoNM%2Bq2YU%3DyC%3DdSfWekVFu6R2QERg%40mail.gmail.com.

DXC Technology India Private Limited - 9th Floor, Block-D Littlewood Tower, 
TRIL Info Park Ramanujan IT City, Rajiv Gandhi Salai, Taramani, Chennai - 
600113. CIN: U72900TN2015FTC102489.
DXC Technology Company -- This message is transmitted to you by or on behalf of 
DXC Technology Company or one of its affiliates. It is intended exclusively for 
the addressee. The substance of this message, along with any attachments, may 
contain proprietary, confidential or privileged information or information that 
is otherwise legally exempt from disclosure. Any unauthorized review, use, 
disclosure or distribution is prohibited. If you are not the intended recipient 
of this message, you are not authorized to read, print, retain, copy or 
disseminate any part of this message. If you have received this message in 
error, please destroy and delete all copies and notify the sender by return 
e-mail. Regardless of content, this e-mail shall not operate to bind DXC 
Technology Company or any of its affiliates to any order or other contract 
unless pursuant to explicit written agreement or government initiative 
expressly permitting the use of e-mail for such purpose.

-- 
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/PH0PR01MB7426372EE85EB51F398DB44F9B0D9%40PH0PR01MB7426.prod.exchangelabs.com.


Re: Warning: The new version of this plugin is marked as incompatible with the installed version.

2022-11-22 Thread 'Daniel Beck' via Jenkins Users
On Tue, Nov 22, 2022 at 3:03 PM A, Ramkumar  wrote:

>
>
> We do not want to upgrade the plugin below thinking it may break the
> existing Linux executor configured on Jenkins. Is that true ?
>

I recommend you try looking at the plugin documentation. If you have done
so already, what did you find?

-- 
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/CAMo7PtJsT%2BfdCYak6g8k6aoNM%2Bq2YU%3DyC%3DdSfWekVFu6R2QERg%40mail.gmail.com.


Re: I need to fail jenkins job if any linux command return error message

2022-11-22 Thread Praju
Thank you all , it is working for me


On Tuesday, November 22, 2022 at 7:28:29 PM UTC+5:30 db...@cloudbees.com 
wrote:

> On Tue, Nov 22, 2022 at 2:54 PM Praju  wrote:
>
>> Hi ,
>> The above one I am taking as example but actual configuration is:
>>   < python_file> -D&1 2 | tee gen.file.log
>> above command   return "ValueError: No JSON object could be decoded"
>> but the job build status is showing success
>>
>
> set -o pipefail.
>
> You're still asking in the wrong forum.
>
>

-- 
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/c2c7bed2-99d6-4367-9589-190ab1c3f1cbn%40googlegroups.com.


Warning: The new version of this plugin is marked as incompatible with the installed version.

2022-11-22 Thread A, Ramkumar
Hi,

After upgrading to Jenkins version 2.361.3, below warning is displayed for "SSH 
Build Agents" plugin.

We do not want to upgrade the plugin below thinking it may break the existing 
Linux executor configured on Jenkins. Is that true ? if yes, Can you suggest a 
way to upgrade the plugin to latest version ?

[cid:image001.png@01D8FEA9.1248F910]

Thanks,
Ram.

DXC Technology India Private Limited - 9th Floor, Block-D Littlewood Tower, 
TRIL Info Park Ramanujan IT City, Rajiv Gandhi Salai, Taramani, Chennai - 
600113. CIN: U72900TN2015FTC102489.
DXC Technology Company -- This message is transmitted to you by or on behalf of 
DXC Technology Company or one of its affiliates. It is intended exclusively for 
the addressee. The substance of this message, along with any attachments, may 
contain proprietary, confidential or privileged information or information that 
is otherwise legally exempt from disclosure. Any unauthorized review, use, 
disclosure or distribution is prohibited. If you are not the intended recipient 
of this message, you are not authorized to read, print, retain, copy or 
disseminate any part of this message. If you have received this message in 
error, please destroy and delete all copies and notify the sender by return 
e-mail. Regardless of content, this e-mail shall not operate to bind DXC 
Technology Company or any of its affiliates to any order or other contract 
unless pursuant to explicit written agreement or government initiative 
expressly permitting the use of e-mail for such purpose.

-- 
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/PH0PR01MB7426705EF625E6682CE622B39B0D9%40PH0PR01MB7426.prod.exchangelabs.com.


Re: I need to fail jenkins job if any linux command return error message

2022-11-22 Thread 'Daniel Beck' via Jenkins Users
On Tue, Nov 22, 2022 at 2:54 PM Praju  wrote:

> Hi ,
> The above one I am taking as example but actual configuration is:
>   < python_file> -D&1 2 | tee gen.file.log
> above command   return "ValueError: No JSON object could be decoded"
> but the job build status is showing success
>

set -o pipefail.

You're still asking in the wrong forum.

-- 
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/CAMo7Pt%2BanC3fgF7U1RuGg1rgL%3DepirhKU-Q_CDcnUPN_FNLMQA%40mail.gmail.com.


Re: I need to fail jenkins job if any linux command return error message

2022-11-22 Thread Praju
Hi ,
The above one I am taking as example but actual configuration is:
  < python_file> -D&1 2 | tee gen.file.log
above command   return "ValueError: No JSON object could be decoded"
but the job build status is showing success

Thanks

On Tuesday, November 22, 2022 at 6:54:51 PM UTC+5:30 dheinric wrote:

> Am Dienstag, dem 22.11.2022 um 05:11 -0800 schrieb Praju:
>
> echo ${var}  ( Note : I am not defined var)
>
>
> echo NEVER fails. If ${var} is not defined, echo will output an empty 
> string, so you'll see an empty new line in your build's log.
>
> If you want it to fail, you'd need to test whether the variable is 
> defined, maybe like so:
>
> [ -n ${var} ] || exit 1
>
>
> See "man test" for the details.
>
> Bye...
>
> Dirk
>
> -- 
>
> *Dirk Heinrichs*
> Senior Systems Engineer, Delivery Pipeline
> OpenText ™ Discovery | Recommind
> *Phone*: +49 2226 15966 18 <+49%202226%201596618>
> *Email*: dhei...@opentext.com
> *Website*: www.recommind.de
> Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach
> Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan, 
> Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646
> This e-mail may contain confidential and/or privileged information. If you 
> are not the intended recipient (or have received this e-mail in error) 
> please notify the sender immediately and destroy this e-mail. Any 
> unauthorized copying, disclosure or distribution of the material in this 
> e-mail is strictly forbidden
> Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte 
> Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail 
> irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und 
> vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte 
> Weitergabe dieser Mail sind nicht gestattet.
>

-- 
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/d7071e0f-faa1-4620-bf2e-b35063c4ef66n%40googlegroups.com.


Re: I need to fail jenkins job if any linux command return error message

2022-11-22 Thread 'Dirk Heinrichs' via Jenkins Users
Am Dienstag, dem 22.11.2022 um 05:11 -0800 schrieb Praju:

echo ${var}  ( Note : I am not defined var)

echo NEVER fails. If ${var} is not defined, echo will output an empty string, 
so you'll see an empty new line in your build's log.

If you want it to fail, you'd need to test whether the variable is defined, 
maybe like so:


[ -n ${var} ] || exit 1

See "man test" for the details.

Bye...

Dirk

--

Dirk Heinrichs
Senior Systems Engineer, Delivery Pipeline
OpenText ™ Discovery | Recommind
Phone: +49 2226 15966 18
Email: dhein...@opentext.com
Website: 
www.recommind.de
Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach
Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan, 
Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646
This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received this e-mail in error) please 
notify the sender immediately and destroy this e-mail. Any unauthorized 
copying, disclosure or distribution of the material in this e-mail is strictly 
forbidden
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. 
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten 
haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. 
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht 
gestattet.

-- 
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/c5c662fd0bc4213b56730433b66f1dc08c9803a4.camel%40opentext.com.


Re: I need to fail jenkins job if any linux command return error message

2022-11-22 Thread 'Daniel Beck' via Jenkins Users
On Tue, Nov 22, 2022 at 2:11 PM Praju  wrote:

> Hi,
> below is my configuration:
>
> echo "welcome"
> echo ${var}  ( Note : I am not defined var)
> echo "hello"
>
> expected output status: failure
>
> output:
>
>  + echo welcome
> welcome
>  + echo
>
>   + echo hello
>  hello
>   Finished: SUCCESS
>

`echo ${var}` didn't fail. As you can see, it printed an empty line. By
default, bash allows references to undefined variables. Use `set -o
nounset` to change this behavior.

This really isn't a Jenkins question, this is a question about shell use,
and should be asked in the appropriate forum.

-- 
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/CAMo7PtKfohPW6id9b1KW7-KcmRg%3Dum9CT%2Be%2B4VG_b9XW6rO6VA%40mail.gmail.com.


Re: I need to fail jenkins job if any linux command return error message

2022-11-22 Thread Praju
Hi,
below is my configuration:

echo "welcome"
echo ${var}  ( Note : I am not defined var)
echo "hello"

expected output status: failure

output:
 
 + echo welcome 
welcome 
 + echo 

  + echo hello 
 hello 
  Finished: SUCCESS 


On Tuesday, November 22, 2022 at 6:20:08 PM UTC+5:30 dheinric wrote:

> Am Dienstag, dem 22.11.2022 um 03:47 -0800 schrieb Praju:
>
> I need to fail jenkins job if any linux command return error message , 
> could any one help one this
>
>
> By default, Jenkins runs "Execute Shell" steps with "/bin/sh -e -x". Due 
> to "-e", the step will fail if any of its commands fail. And if the step 
> fails, the build fails, too.
>
> HTH...
>
> Dirk
>
> -- 
>
> *Dirk Heinrichs*
> Senior Systems Engineer, Delivery Pipeline
> OpenText ™ Discovery | Recommind
> *Phone*: +49 2226 15966 18 <+49%202226%201596618>
> *Email*: dhei...@opentext.com
> *Website*: www.recommind.de
> Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach
> Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan, 
> Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646
> This e-mail may contain confidential and/or privileged information. If you 
> are not the intended recipient (or have received this e-mail in error) 
> please notify the sender immediately and destroy this e-mail. Any 
> unauthorized copying, disclosure or distribution of the material in this 
> e-mail is strictly forbidden
> Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte 
> Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail 
> irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und 
> vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte 
> Weitergabe dieser Mail sind nicht gestattet.
>

-- 
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/18d33024-ffe3-498c-8fcf-b5679ebdabfen%40googlegroups.com.


Re: I need to fail jenkins job if any linux command return error message

2022-11-22 Thread 'Dirk Heinrichs' via Jenkins Users
Am Dienstag, dem 22.11.2022 um 21:01 +0800 schrieb 
kakamai...@gmail.com:

throw exception in groovy

The question is about Linux commands, not Groovy.

Bye...

Dirk

--

Dirk Heinrichs
Senior Systems Engineer, Delivery Pipeline
OpenText ™ Discovery | Recommind
Phone: +49 2226 15966 18
Email: dhein...@opentext.com
Website: 
www.recommind.de
Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach
Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan, 
Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646
This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received this e-mail in error) please 
notify the sender immediately and destroy this e-mail. Any unauthorized 
copying, disclosure or distribution of the material in this e-mail is strictly 
forbidden
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. 
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten 
haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. 
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht 
gestattet.

-- 
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/e06045c10431c6099e32a1fee051caeb6f5a208a.camel%40opentext.com.


Re: I need to fail jenkins job if any linux command return error message

2022-11-22 Thread kakamain99
-- 
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/637cc847.170a0220.4d66b.230c%40mx.google.com.


Re: I need to fail jenkins job if any linux command return error message

2022-11-22 Thread 'Dirk Heinrichs' via Jenkins Users
Am Dienstag, dem 22.11.2022 um 03:47 -0800 schrieb Praju:

I need to fail jenkins job if any linux command return error message , could 
any one help one this

By default, Jenkins runs "Execute Shell" steps with "/bin/sh -e -x". Due to 
"-e", the step will fail if any of its commands fail. And if the step fails, 
the build fails, too.

HTH...

Dirk

--

Dirk Heinrichs
Senior Systems Engineer, Delivery Pipeline
OpenText ™ Discovery | Recommind
Phone: +49 2226 15966 18
Email: dhein...@opentext.com
Website: 
www.recommind.de
Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach
Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan, 
Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646
This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received this e-mail in error) please 
notify the sender immediately and destroy this e-mail. Any unauthorized 
copying, disclosure or distribution of the material in this e-mail is strictly 
forbidden
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. 
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten 
haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. 
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht 
gestattet.

-- 
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/651723dbc05a4aaa9536ba6c60d7c4cbff8b825b.camel%40opentext.com.


Re: I need to fail jenkins job if any linux command return error message

2022-11-22 Thread Alex Earl
This is the default for Jenkins, if a command exits with a non-zero exit
code, then the job should already fail.

On Tue, Nov 22, 2022 at 5:41 AM Praju  wrote:

> Hi ,
> I need to fail jenkins job if any linux command return error message ,
> could any one help one this
>
> 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 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/16344cad-dadf-4c55-a41f-a32acb3b82d9n%40googlegroups.com
> 
> .
>


-- 
Website: http://earl-of-code.com

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVcnmew6ZDK_MbpBjwD9E6N_Nqxja%2B2h2SuQi-xwV7jMFA%40mail.gmail.com.


I need to fail jenkins job if any linux command return error message

2022-11-22 Thread Praju
Hi ,
I need to fail jenkins job if any linux command return error message , 
could any one help one this

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 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/16344cad-dadf-4c55-a41f-a32acb3b82d9n%40googlegroups.com.