Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8810259
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T03:05:14+00:00 2026-06-14T03:05:14+00:00

In jenkins post build action I configured Execute shell script on remote host using

  • 0

In jenkins post build action I configured Execute shell script on remote host using ssh
ssh site 10.32.25.66, command:

cd $HOME/appsadm/bin; ./ims-carte-stop

and i again modified

cd /HOME/appsadm/bin; ./ims-carte-stop.*

I tried both these commands and Build is successful, but I see in console output in Jenkins after, that it is not executing my script. I am getting ssh exit status 1 error.
In my winscp my script (ims-carte-stop) in this location home/appsadm/bin.

Please tell me if I am doing aything wrong.
My intention is to stop my server from jenkins automatically whenever the build success.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T03:05:15+00:00Added an answer on June 14, 2026 at 3:05 am

    This may be a typo in your question, but:

    You said your ims-carte-stop script is in:

    /home/appsadm/bin
    

    whereas your script is doing:

    cd $HOME/appsadm/bin
    or
    cd /HOME/appsadm/bin
    

    Looking at the paths, I am going to assume you are using a UNIX-flavoured OS (Linux, BSD, OSX).
    UNIX paths are case sensitive. Your script should be calling:

    cd /home/appsadm/bin
    

    Note that the word “home” is all small letter not capitals. Also, using $ makes it a variable, which I don’t think you want.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to execute post build svn commit command in Jenkins. I have access
When using the Groovy Jenkins plugin (not the Groovy Post Build Plugin, which is
I am trying to execute a shell script if either the build pass or
I use jenkins to connect towards a ssh site and do some operation. This
does jenkins have a post build process such that the build WAR files can
I have project configured in Jenkins that polls an SCM and begins a build
I am using maven to build my java app, Jenkins for CI and Sonar
For Jenkins using a Groovy System Script, is there a way to easily search
I am currently using PycURL to trigger a build in Jenkins, by posting to
I am triggering a parametrized Jenkins job remotely using the Remote Access API like

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.