Post Build Task to restart the docker container


Iam trying to execute the Post build task to restart the docker container.

Iam getting the below error:

Post Build Task: Failure

[CD-Pipeline-for-Dev] $ /bin/sh -xe /tmp/

  • sh ‘ssh root@x.x.x.x /opt/test/’
    sh: ssh root@x.x.x.x /opt/test/ No such file or directory “placed the file path”

Please help me out to resolve this issue.


Hello @karthick1302 and welcome to this community :wave:

What container are you trying to restart? The one that did the job? Which machine does this container run on?

Hi @poddingue,

Like to restart the user management service, i able to do ssh using private IP address.