I need to copy war file to ansible server and execute playbook to copy to tomcat
Waiting for Jenkins to finish collecting data
[JENKINS] Archiving /var/lib/jenkins/workspace/project/pom.xml to com.mt/maven-web-application/0.0.1-SNAPSHOT/maven-web-application-0.0.1-SNAPSHOT.pom
[JENKINS] Archiving /var/lib/jenkins/workspace/project/target/maven-web-application.war to com.mt/maven-web-application/0.0.1-SNAPSHOT/maven-web-application-0.0.1-SNAPSHOT.war
channel stopped
SSH: Connecting from host [ip-172-31-92-148]
SSH: Connecting with configuration [ansible_host] …
SSH: Disconnecting configuration [ansible_host] …
SSH: Transferred 0 file(s)
SSH: Connecting from host [ip-172-31-92-148]
SSH: Connecting with configuration [ansible_host] …
SSH: EXEC: completed after 600 ms
SSH: Disconnecting configuration [ansible_host] …
ERROR: Exception when publishing, exception message [Exec exit status not zero. Status [1]]
Build step ‘Send build artifacts over SSH’ changed build result to UNSTABLE
Finished: UNSTABLE