un-abale to execute jar command from jenkins pipeline

0 votes
Hi All,

I am new to Devop Role & am using Jenkins for implementing CI/CD process, I've written a pipeline code to implement this process,
using pipeline code I've created a .jar file by using "mvn clean install" command, While running the respective jar command using "java -jar [jar-name]", my pipeline is getting hanged & not moving to further tasks.
my code:

cd /var/lib/jenkins/workspace/Exf-Fhir/fhirkafka/AuthServerSecurity/target

java -jar AuthServerSecurity-0.0.1-SNAPSHOT.jar
May 27, 2021 in Jenkins by Bharadwaj

edited Mar 4, 2025 316 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP