Hi
I am getting the below error when i am trying to deploy the application NCS via Jenkins using ansible scripts |
- |
TASK [ncs-ansible : Run install.sh] ********************************************
task path: /automation/roles/ncs-ansible/tasks/7-app.yml:67
fatal: [ncs]: FAILED! => {“changed”: true, “cmd”: “echo ‘yes’ | /opt/cts/nbms/install.sh Tomee”, “delta”: “0:00:00.376643”, “end”: “2020-02-18 13:28:51.645130”, “msg”: “non-zero return code”, “rc”: 1, “start”: “2020-02-18 13:28:51.268487”, “stderr”: “Error: Unable to access jarfile @INSTALL_JAR@\nError: Unable to access jarfile @INSTALL_JAR@”, “stderr_lines”: [“Error: Unable to access jarfile @INSTALL_JAR@”, “Error: Unable to access jarfile @INSTALL_JAR@”], “stdout”: “\n ------------- Settings -------------\n JAVA_HOME=/opt/cts/jdk1.8.0_131\n ------------------------------------\n\n tokenCopy installer/installer.sh to /opt/cts/nbms/installer.sh”, “stdout_lines”: [“”, " ------------- Settings -------------“, " JAVA_HOME=/opt/cts/jdk1.8.0_131”, " ------------------------------------“, “”, " tokenCopy installer/installer.sh to /opt/cts/nbms/installer.sh”]}
PLAY RECAP *********************************************************************
ncs : ok=55 changed=14 unreachable=0 failed=1 skipped=9 rescued=0 ignored=0