Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current Restore this Version View Page History

« Previous Version 15 Current »


Server Access

ssh  $USER@
sudo su - centos
ssh jenkins

9th May 2022

Running Version: 2.319.1

Next Version: 2.332.2

docker ps

NAMES                    CONTAINER ID   IMAGE                 STATUS
nordix-jenkins-2.319.1   f2d3ea34224e   jenkins/jenkins:lts   Up 5 weeks
$ df -h
Filesystem      Size  Used Avail Use% Mounted on
devtmpfs        3.8G     0  3.8G   0% /dev
tmpfs           3.9G     0  3.9G   0% /dev/shm
tmpfs           3.9G   25M  3.8G   1% /run
tmpfs           3.9G     0  3.9G   0% /sys/fs/cgroup
/dev/vda1        20G   11G   10G  51% /
/dev/vdb1        50G   14G   33G  30% /data
tmpfs           783M     0  783M   0% /run/user/1000

Stop Container

docker stop nordix-jenkins-2.319.1


The directory /data/jenkins is mounted as /var/jenkins_home in jenkins docker container and contains the jenkins data.

cd /data
tar -zcvf "jenkins-$(date '+%Y-%m-%d').tar.gz" jenkins

Start Container

Starting the new container using following command

docker run \
--detach \
--name="nordix-jenkins-2.332.2" \
-u 1000 \
-p 8081:8080 \
-p 49127:49127 \
--log-driver json-file \
--log-opt max-size=30m \
--log-opt max-file=9 \
-v /data/jenkins:/var/jenkins_home \


docker logs -f nordix-jenkins-2.332.2-lts


docker stop nordix-jenkins-2.332.2
docker start nordix-jenkins-2.319.1


docker rm nordix-jenkins-2.319.1