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
266 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,900 points
5,905 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,432 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
100 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
364 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
10,521 views
0 votes
2 answers

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

If you are talking about executing another ...READ MORE

answered Jul 31, 2019 in Jenkins by Sirajul
• 45,310 points
9,116 views
0 votes
2 answers

Error Jenkins: Failed to connect to repository

Jenkins runs as another user, not as ...READ MORE

answered Aug 7, 2019 in Jenkins by Sirajul
• 45,310 points
1,389 views
0 votes
1 answer

How to rebuild an item on Jenkins pipeline

Yes you can, its pretty simple actually. Go ...READ MORE

answered Jul 10, 2018 in Jenkins by Kalgi
• 2,620 points
421 views