Your custom image should be built using a Dockerfile to download a specific
version of jenkins war (just like the official image does)
Docker should be used with "immutable infrastructure" in mind, don't try to
run upgrades in a container, this isn't a VM

2016-10-07 10:36 GMT+02:00 YusufSalahAdDin <[email protected]>:

> Ok, i feel so good with this, but i have a problem with it: i'm using a
> custom image that download this war and install it, using CentOS, you know,
> for get more control with this, but, i have a problem upgrading it, and you
> can see in other thread that i post in this group.
>
> El viernes, 7 de octubre de 2016, 3:30:45 (UTC-5), nicolas de loof
> escribió:
>>
>> Don't update jenkins.war inside container, just pull a newer docker image
>> and start a fresh new container using same jenkins_home volume
>>
>>
>> 2016-10-07 10:28 GMT+02:00 YusufSalahAdDin <[email protected]>:
>>
>>> I installed jenkins in docker container and i want update it.
>>>
>>> So, manually, using root user i downloaded the war file and replace it
>>> with old war file, i verified it:
>>>
>>> jenkins@fdfeef9f1f14:/$ java -jar /usr/share/jenkins/jenkins.war
>>> --version
>>> 2.24
>>>
>>> But, when i go to jenkins dashboard, well, i still have the old version:
>>> 2.23.
>>>
>>> I restarted jenkins using url: jenkins.mydomain.com/restart, many
>>> times, but i have still the same jenkins version.
>>>
>>> What i have wrong?
>>>
>>> Thanks guys!
>>>
>>> --
>>> 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/ms
>>> gid/jenkinsci-users/e6848710-50b5-49be-af1e-5508f7db22f4%
>>> 40googlegroups.com
>>> <https://groups.google.com/d/msgid/jenkinsci-users/e6848710-50b5-49be-af1e-5508f7db22f4%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
> 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/6aea7d4c-9206-4ab7-ba42-6bedc88d7d67%40googlegroups.
> com
> <https://groups.google.com/d/msgid/jenkinsci-users/6aea7d4c-9206-4ab7-ba42-6bedc88d7d67%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CANMVJzmD2oYf0FddRkLsCJunn3X0QBDMji_gcwVCYU1RwWtSiw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to