🚀 DevOps & SRE Certification Program 📅 Starting: 1st of Every Month 🤝 +91 8409492687 🔍 Contact@DevOpsSchool.com

Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

Jenkins Error: java.io.IOException: Failed to rename jenkins

rajeshkumar created the topic: java.io.IOException: Failed to rename jenkins
Today while setting up the maven automatic install setup with jenkins, i found following issues….

Started by user anonymous
Building on master in workspace C:\Program Files (x86)\Jenkins\jobs\HelloworldMaven\workspace
> C:\Program Files (x86)\Git\bin\git.exe rev-parse –is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> C:\Program Files (x86)\Git\bin\git.exe config remote.origin.url github.com/scmgalaxy/helloworld-java-maven.git # timeout=10
Fetching upstream changes from github.com/scmgalaxy/helloworld-java-maven.git
> C:\Program Files (x86)\Git\bin\git.exe –version # timeout=10
> C:\Program Files (x86)\Git\bin\git.exe -c core.askpass=true fetch –tags –progress github.com/scmgalaxy/helloworld-java-maven.git +refs/heads/*:refs/remotes/origin/*
> C:\Program Files (x86)\Git\bin\git.exe rev-parse “refs/remotes/origin/master^{commit}” # timeout=10
> C:\Program Files (x86)\Git\bin\git.exe rev-parse “refs/remotes/origin/origin/master^{commit}” # timeout=10
Checking out Revision dba87c8e45ccfd53daee107baa70e80ddefeef58 (refs/remotes/origin/master)
> C:\Program Files (x86)\Git\bin\git.exe config core.sparsecheckout # timeout=10
> C:\Program Files (x86)\Git\bin\git.exe checkout -f dba87c8e45ccfd53daee107baa70e80ddefeef58
> C:\Program Files (x86)\Git\bin\git.exe rev-list dba87c8e45ccfd53daee107baa70e80ddefeef58 # timeout=10
Unpacking repo.maven.apache.org/maven2/org/apache/…-maven-3.3.1-bin.zip to C:\Program Files (x86)\Jenkins\tools\hudson.tasks.Maven_MavenInstallation\maven on Jenkins
FATAL: Failed to rename C:\Program Files (x86)\Jenkins\tools\hudson.tasks.Maven_MavenInstallation\maven\apache-maven-3.3.1 to C:\Program Files (x86)\Jenkins\tools\hudson.tasks.Maven_MavenInstallation\maven\apache-maven-3.3.1.__rename
java.io.IOException: Failed to rename C:\Program Files (x86)\Jenkins\tools\hudson.tasks.Maven_MavenInstallation\maven\apache-maven-3.3.1 to C:\Program Files (x86)\Jenkins\tools\hudson.tasks.Maven_MavenInstallation\maven\apache-maven-3.3.1.__rename
at hudson.FilePath$40.invoke(FilePath.java:1964)
at hudson.FilePath$40.invoke(FilePath.java:1957)
at hudson.FilePath.act(FilePath.java:991)
at hudson.FilePath.act(FilePath.java:969)
at hudson.FilePath.moveAllChildrenTo(FilePath.java:1957)
at hudson.tools.DownloadFromUrlInstaller.performInstallation(DownloadFromUrlInstaller.java:74)
at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:68)
at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:108)
at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:206)
at hudson.tasks.Maven$MavenInstallation.forNode(Maven.java:624)
at hudson.tasks.Maven.perform(Maven.java:288)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
at hudson.model.Build$BuildExecution.build(Build.java:205)
at hudson.model.Build$BuildExecution.doRun(Build.java:162)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537)
at hudson.model.Run.execute(Run.java:1741)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:381)
Finished: FAILURE
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

Certification Courses

DevOpsSchool has introduced a series of professional certification courses designed to enhance your skills and expertise in cutting-edge technologies and methodologies. Whether you are aiming to excel in development, security, or operations, these certifications provide a comprehensive learning experience. Explore the following programs:

DevOps Certification, SRE Certification, and DevSecOps Certification by DevOpsSchool

Explore our DevOps Certification, SRE Certification, and DevSecOps Certification programs at DevOpsSchool. Gain the expertise needed to excel in your career with hands-on training and globally recognized certifications.