zebrunner / jenkins

11 stars 9 forks source link

Constantly update jenkins-master and plugins versions #1

Open vdelendik opened 6 years ago

vdelendik commented 6 years ago

latest: GitHub Pull Request Builder github-api

install: pipeline-utility-steps SonarQube Scanner for Jenkins S3 Publish user build vars plugin HTTP Request Plugin

also: https://wiki.jenkins.io/display/JENKINS/Build+User+Vars+Plugin

vdelendik commented 6 years ago
  1. upgrade manually on test instance
  2. run such script:

Jenkins.instance.pluginManager.plugins.each{ plugin -> println ("${plugin.getShortName()}:${plugin.getVersion()}") }

  1. copy list of plugins without results block and sort in excel for example
  2. replace list of plugins in jenkins-master\resources\configs\plugins.txt
ilya-varchenya commented 4 years ago

ghprb:1.42.1 github-api:1.111 ^^ are latest They're installed

ilya-varchenya commented 4 years ago

Already installed plugins: pipeline-utility-steps:2.5.0 sonar:2.11 build-user-vars-plugin:1.5 http_request:1.8.26

Need to be installed: s3:0.11.5

ilya-varchenya commented 4 years ago

https://github.com/qaprosoft/jenkins-master/pull/239

ghost commented 4 years ago

How to check: On your machine: cd jenkins-master git chekout develop git pull docker build -t qaprosoft/jenkins-master: cd ../qps-infra nano .env Change jenkins-master’s tag ./start.sh Go to jenkins/manage jenkins/manage plugins Check list of installed plugins

ghost commented 4 years ago

The number of version for build-user-vars-plugin is not too clear for user:

Screen Shot 2020-05-26 at 2 17 21 PM
ghost commented 4 years ago

Tested on qaprosoft/jenkins-master:test localy.

ilya-varchenya commented 4 years ago

https://github.com/zebrunner/jenkins-master/pull/275

dhreben commented 4 years ago

Fixed

vdelendik commented 4 years ago

this ticket can't be closed as we always should jump to the latest jenkins versions

vdelendik commented 4 years ago

259 jenkins version applied, latest plugins propagated. please test using zebrunner/zebrunner branch: develop - just sanity check and reopen again the ticket

vdelendik commented 4 years ago

skip for 1.2 release and assigned to 1.3

vdelendik commented 3 years ago

done for 1.3 and moved to 1.4. for testing in 1.3 #317 submitted

vdelendik commented 3 years ago

in 1.5 upgraded 2.267-jdk11 to 2.282-jdk11. changes pushed as jenkins-master:1.5-beta2 to zebrunner develop branch. Do sanity check after setup and reopen again the ticket if everything is ok

ghost commented 3 years ago

Verified on develop branch. Sanity passed.

vdelendik commented 3 years ago

upgraded to 2.286 version. Also make sure to keep swarm plugin v2.34 otherwise it can't connect due to the https://issues.jenkins.io/browse/JENKINS-65119

ghost commented 3 years ago

Verified. Fixed.

vdelendik commented 3 years ago

new set of plugins upgraded: https://github.com/zebrunner/jenkins-master/commit/670865b563bbce13de9240159bdeba2b0e1652ed

need to re-test using basic acceptance scenario

ghost commented 3 years ago

Verified. Fixed.

vdelendik commented 3 years ago

done, jenkins-master upgraded 2.286 -> 2.301. do basic acceptance using zebrunner from branch: develop

dhreben commented 3 years ago

Verified on develop branch. Sanity passed.

vdelendik commented 3 years ago

upgraded to the 306 and adjusted plugins. do basic acceptance using develop CE community-edition(zebrunner) branch

ghost commented 3 years ago

Verified on develop branch: jenkins version is 306.

Снимок экрана 2021-10-11 в 16 32 40 Снимок экрана 2021-10-11 в 16 33 10 Снимок экрана 2021-10-11 в 16 36 34 Снимок экрана 2021-10-11 в 16 36 41 Снимок экрана 2021-10-11 в 16 36 59 Снимок экрана 2021-10-11 в 16 37 08
vdelendik commented 2 years ago

done, required upgrades ported to 1.8-beta1. just setup CE from develop and do basic acceptance

azarouski commented 1 year ago

Updated groovy script to print sorted plugins (pay attention to case-sensitive letters)

def pluginList = new ArrayList(Jenkins.instance.pluginManager.plugins)
pluginList.sort { it.getShortName() }.each{
  plugin -> 
    println ("${plugin.getShortName()}:${plugin.getVersion()}")
}
vdelendik commented 1 year ago

@okamara - if all good, put notes and reopen so we reassign for future milestone

ghost commented 1 year ago

verified, some plugins show warnings http://3.126.150.168/jenkins/manage/pluginManager/installed:

Снимок экрана 2023-03-23 в 12 33 41 Снимок экрана 2023-03-23 в 12 34 43 Снимок экрана 2023-03-23 в 12 35 17 Снимок экрана 2023-03-23 в 12 37 55 Снимок экрана 2023-03-23 в 12 38 12 Снимок экрана 2023-03-23 в 12 38 22
azarouski commented 5 months ago

418 jenkins version update up to 2.452.1-lts-jdk11

azarouski commented 5 months ago

Starting from jenkins 2.414.1 we have java memory exception on Ubuntu 16 server. So we have to update our server OS first.

[!NOTE] Jenkins LTS Upgrade Guide https://www.jenkins.io/doc/upgrade-guide/

azarouski commented 5 months ago

418 jenkins version update up to 2.452.1-lts-jdk11

these changes were reverted