Jenkins can upgrade itself when run as a service in windows 

It can not when launched manually, at the same time it should not offer to 
update itself either.

You can install the service most simply with the msi installer, but then if 
you install is a package you should upgrade via a package to

So possibly install on a throw away VM then copy files and register the 
service manually.  I think there may even be some docs on jenkins.io to say 
how to do this.
On Friday, 21 January 2022 at 09:05:58 UTC dheinric wrote:

> Am Donnerstag, dem 20.01.2022 um 11:52 -0500 schrieb Alessandro Ferrucci:
>
> The process cannot access the file because it is being used by another 
> process.
>
>
> That's hat you get when you run servers on Windows. Unlike Linux, Windows 
> can't overwrite executables while they run (in this case your jenkins.war). 
> You need to shutdown Jenkins, rpelace the file, start Jenkins.
>
> Bye...
>
> Dirk
>
> -- 
>
> *Dirk Heinrichs*
> Senior Systems Engineer, Delivery Pipeline
> OpenText ™ Discovery | Recommind
> *Phone*: +49 2226 15966 18 <+49%202226%201596618>
> *Email*: [email protected]
> *Website*: www.recommind.de
> Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach
> Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan, 
> Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646
> This e-mail may contain confidential and/or privileged information. If you 
> are not the intended recipient (or have received this e-mail in error) 
> please notify the sender immediately and destroy this e-mail. Any 
> unauthorized copying, disclosure or distribution of the material in this 
> e-mail is strictly forbidden
> Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte 
> Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail 
> irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und 
> vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte 
> Weitergabe dieser Mail sind nicht gestattet.
>

-- 
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/e3a42afc-1a34-49dd-a627-9ac8910ad932n%40googlegroups.com.

Reply via email to