ERROR: Exception when publishing, exception message [Exec exit status not zero. Status [1]]

When i run a job to build docker image i get the below error. Please suggest.

Started by upstream project “mavenci” build number 6 originally caused by: Started by user sharat Running as SYSTEM Building in workspace /var/lib/jenkins/workspace/dockerimagebuild SSH: Connecting from host [centos-host] SSH: Connecting with configuration [maven-jenkins-docker] … SSH: EXEC: completed after 401 ms SSH: Disconnecting configuration [maven-jenkins-docker] … ERROR: Exception when publishing, exception message [Exec exit status not zero. Status [1]] Build step ‘Send files or execute commands over SSH’ changed build result to UNSTABLE Finished: UNSTABLE

Hello @sharatbhaskar1988,
In which lab do you face this issue?

Thanks,
KodeKloud Support