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
• 470 points
359 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
• 9,940 points
7,795 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
1,722 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
• 6,910 points
119 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
• 6,910 points
408 views
0 votes
2 answers
+2 votes
3 answers

Permission denied error while running a simple job in Jenkins

Hey @Hannah, try changing the permissions using ...READ MORE

answered Oct 25, 2018 in Jenkins by krishti
13,752 views
+2 votes
2 answers

How to trigger a Jenkins pipeline A in another Jenkins pipeline B?

You can run the following code, its ...READ MORE

answered Jul 5, 2018 in Jenkins by Sophie may
• 9,940 points
14,310 views