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
• 480 points
615 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,100 points
12,263 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
2,363 views
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 6 days ago in Jenkins by MD
• 55,740 points
29 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
160 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
557 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
21,166 views