jenkins pipeline script deploy error

0 votes
C:\Program Files (x86)\Jenkins\workspace\app>del "C:\Program Files\Apache Software Foundation\Tomcat 8.5\webapps\gamutkart.war	"   && xcopy "C:\Program Files (x86)\Jenkins\workspace\app\target\gamutkart.war" "C:\Program Files\Apache Software Foundation\Tomcat 8.5\webapps" 
The filename, directory name, or volume label syntax is incorrect.
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: script returned exit code 123
Finished: FAILURE
Nov 28, 2019 in Jenkins by Rajendra
• 510 points
2,715 views
"The filename, directory name, or volume label syntax is incorrect" is quite clear. It could not open such file so my suggestion is to shorten the path.
Hey @Rajendra, The problem is that Windows has file name limitations and yours might have gone beyond this limit. I'm talking about paths such as C:\\Program Files (x86)\\Jenkin... Try to shorten it so that your files can be found and analysed!

Hope this helps!

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.

Related Questions In Jenkins

0 votes
5 answers
0 votes
1 answer

Error: ‘Jenkins pipeline: No such DSL method'

This is a simple mistake, just remove ...READ MORE

answered Aug 17, 2018 in Jenkins by Sophie may
• 10,610 points
22,844 views
0 votes
3 answers

Error: ‘Jenkins: Cannot define variable in pipeline stage’

https://stackoverflow.com/questions/39832862/jenkins-cannot-define-var ...READ MORE

answered Mar 13, 2019 in Jenkins by Charles Wu
4,650 views
0 votes
1 answer
0 votes
1 answer

How to setup which trigger email notification to email id's in Jenkins pipeline script at every stage?

Hi@Shashi, You need to install some plugins in ...READ MORE

answered Sep 18, 2020 in Jenkins by MD
• 95,440 points
3,127 views
0 votes
1 answer

How to deploy the war file in Tomcat Server with Jenkins pipeline job on an windows machine?

Use deploy to container plugin. Go to the ...READ MORE

answered Sep 30, 2020 in Jenkins by Adil Abdullah Khan
4,339 views
0 votes
1 answer

Error while communicating with remote Oracle DB through Jenkins-CI

I was also facing the same problem. ...READ MORE

answered Apr 25, 2018 in Jenkins by shubham
• 7,340 points
760 views
0 votes
1 answer

Error while talking to remote Oracle DB using Jenkins-CI

I installed Oracle XE to talk to ...READ MORE

answered May 1, 2018 in Jenkins by shubham
• 7,340 points
1,657 views
0 votes
2 answers
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