From b1a84a39ca142dc2f94337faf17b3df4596e40a9 Mon Sep 17 00:00:00 2001 From: openeuler_bot Date: Wed, 12 Nov 2025 00:11:44 +0000 Subject: [PATCH] 24.03-lts-sp2 update jenkins to 2.536 --- Others/jenkins/2.536/24.03-lts-sp2/Dockerfile | 31 +++++++++++++++++++ Others/jenkins/README.md | 1 + Others/jenkins/doc/image-info.yml | 1 + Others/jenkins/meta.yml | 4 ++- 4 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 Others/jenkins/2.536/24.03-lts-sp2/Dockerfile diff --git a/Others/jenkins/2.536/24.03-lts-sp2/Dockerfile b/Others/jenkins/2.536/24.03-lts-sp2/Dockerfile new file mode 100644 index 00000000..d317e023 --- /dev/null +++ b/Others/jenkins/2.536/24.03-lts-sp2/Dockerfile @@ -0,0 +1,31 @@ +ARG BASE=openeuler/openeuler:24.03-lts-sp2 +FROM ${BASE} AS builder + +ARG VERSION=2.536 +ARG MAVEN_VERSION=3.9.6 +ARG MAVEN_URL=https://repo.huaweicloud.com/apache/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.tar.gz + +RUN yum install -y java-17-openjdk-devel git && \ + yum clean all && \ + curl -fSL -o apache-maven.tar.gz ${MAVEN_URL} && \ + mkdir -p /usr/local/maven && \ + tar -zxf apache-maven.tar.gz -C /usr/local/maven --strip-components=1 && \ + rm -rf apache-maven.tar.gz + +ENV PATH=$PATH:/usr/local/maven/bin + +RUN git clone -b jenkins-${VERSION} https://github.com/jenkinsci/jenkins.git && \ + cd jenkins && \ + mvn clean install -Dmaven.test.skip=true + +FROM ${BASE} +COPY --from=builder /jenkins/war/target/jenkins.war /jenkins/jenkins.war + +RUN dnf update -y \ + && dnf install -y java-17-openjdk \ + && dnf clean all \ + && rm -rf /var/run/dnf/* + +WORKDIR /jenkins + +CMD ["java", "-jar", "./jenkins.war"] diff --git a/Others/jenkins/README.md b/Others/jenkins/README.md index b0b27fcc..a1d1fd32 100644 --- a/Others/jenkins/README.md +++ b/Others/jenkins/README.md @@ -18,6 +18,7 @@ The tag of each `jenkins` docker image is consist of the version of `jenkins` an | Tag | Currently | Architectures | |----------------------------------------------------------------------------------------------------------------------------------|------------------------------------------|---------------| +|[2.536-oe2403sp2](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/jenkins/2.536/24.03-lts-sp2/Dockerfile) | jenkins 2.536 on openEuler 24.03-LTS-SP2 | amd64, arm64 | |[2.535-oe2403sp2](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/jenkins/2.535/24.03-lts-sp2/Dockerfile) | jenkins 2.535 on openEuler 24.03-LTS-SP2 | amd64, arm64 | |[2.534-oe2403sp2](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/jenkins/2.534/24.03-lts-sp2/Dockerfile) | jenkins 2.534 on openEuler 24.03-LTS-SP2 | amd64, arm64 | |[2.529-oe2403sp2](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/jenkins/2.529/24.03-lts-sp2/Dockerfile) | jenkins 2.529 on openEuler 24.03-LTS-SP2 | amd64, arm64 | diff --git a/Others/jenkins/doc/image-info.yml b/Others/jenkins/doc/image-info.yml index a4807abb..52a8f444 100644 --- a/Others/jenkins/doc/image-info.yml +++ b/Others/jenkins/doc/image-info.yml @@ -11,6 +11,7 @@ tags: | | Tag | Currently | Architectures | |----------------------------------------------------------------------------------------------------------------------------------|------------------------------------------|---------------| + |[2.536-oe2403sp2](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/jenkins/2.536/24.03-lts-sp2/Dockerfile) | jenkins 2.536 on openEuler 24.03-LTS-SP2 | amd64, arm64 | |[2.535-oe2403sp2](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/jenkins/2.535/24.03-lts-sp2/Dockerfile) | jenkins 2.535 on openEuler 24.03-LTS-SP2 | amd64, arm64 | |[2.534-oe2403sp2](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/jenkins/2.534/24.03-lts-sp2/Dockerfile) | jenkins 2.534 on openEuler 24.03-LTS-SP2 | amd64, arm64 | |[2.529-oe2403sp2](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/jenkins/2.529/24.03-lts-sp2/Dockerfile) | jenkins 2.529 on openEuler 24.03-LTS-SP2 | amd64, arm64 | diff --git a/Others/jenkins/meta.yml b/Others/jenkins/meta.yml index 9bb738f2..d5abc5e4 100644 --- a/Others/jenkins/meta.yml +++ b/Others/jenkins/meta.yml @@ -13,4 +13,6 @@ 2.534-oe2403sp2: path: 2.534/24.03-lts-sp2/Dockerfile 2.535-oe2403sp2: - path: 2.535/24.03-lts-sp2/Dockerfile \ No newline at end of file + path: 2.535/24.03-lts-sp2/Dockerfile +2.536-oe2403sp2: + path: 2.536/24.03-lts-sp2/Dockerfile \ No newline at end of file -- Gitee