Hi,

Have you added all plugins(Windows) to the Jenkins?

20 Oca 2022 Per 18:17 tarihinde Jonathan Mackenzie <
[email protected]> şunu yazdı:

> Sounds a bit like Jenkins-19994
>
> https://issues.jenkins.io/browse/JENKINS-19994?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel
>
> On Thu, Jan 20, 2022 at 8:52 AM Alessandro Ferrucci <
> [email protected]> wrote:
>
>> I'm running jenkins on windows locally and whenever I try to upgrade it
>> via the UI, it errors out with this:
>>
>> jenkins.war
>> Failure -
>>
>> java.nio.file.FileSystemException: C:\stuff\jenkins\jenkins.war: The
>> process cannot access the file because it is being used by another process.
>>
>> at
>> java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:92)
>> at
>> java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
>> at
>> java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)
>> at java.base/sun.nio.fs.WindowsFileCopy.copy(WindowsFileCopy.java:164)
>> at
>> java.base/sun.nio.fs.WindowsFileSystemProvider.copy(WindowsFileSystemProvider.java:283)
>> at java.base/java.nio.file.Files.copy(Files.java:1295)
>> at org.apache.commons.io.FileUtils.copyFile(FileUtils.java:850)
>> at org.apache.commons.io.FileUtils.copyFile(FileUtils.java:756)
>> at hudson.lifecycle.Lifecycle.rewriteHudsonWar(Lifecycle.java:167)
>> at
>> hudson.model.UpdateCenter$HudsonUpgradeJob.replace(UpdateCenter.java:2482)
>> at
>> hudson.model.UpdateCenter$UpdateCenterConfiguration.install(UpdateCenter.java:1340)
>> at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1875)
>> at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1846)
>> at
>> java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
>> at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
>> at
>> hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:121)
>> at java.base/java.lang.Thread.run(Thread.java:834)
>>
>> I'm running Jenkins via java -jar jenkins.war
>>
>> The error makes complete sense since of course I'm running Jenkins at the
>> time that it tries to update the war file, however this begs the question,
>> how do other people update Jenkins while it's running?
>>
>> Thank you
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Jenkins Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jenkinsci-users/CAMgh6pLUGHuo7JuS%2BNrPeqPTdVzOwD2uHswT%2BW4%3Djq7MvRkPHw%40mail.gmail.com
>> <https://groups.google.com/d/msgid/jenkinsci-users/CAMgh6pLUGHuo7JuS%2BNrPeqPTdVzOwD2uHswT%2BW4%3Djq7MvRkPHw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/CAO1vCWHmW3xm50RZTQv0zGk5pTR-WFReFBszKxUHSY9%2B-F%2BQ7g%40mail.gmail.com
> <https://groups.google.com/d/msgid/jenkinsci-users/CAO1vCWHmW3xm50RZTQv0zGk5pTR-WFReFBszKxUHSY9%2B-F%2BQ7g%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAOG9S0_40cE5%3D9yBEXytXcqzyGHKn7x%3DABALOQz-vp4uacey1g%40mail.gmail.com.

Reply via email to