From 4fcbb9a7a408cebdbdf51e3a9f7117436225d4e9 Mon Sep 17 00:00:00 2001 From: openeuler_bot Date: Fri, 15 Aug 2025 10:12:36 +0000 Subject: [PATCH] 24.03-lts-sp1 update jenkins to 2.523 --- Others/jenkins/2.523/24.03-lts-sp1/Dockerfile | 20 +++++++++++++++++++ Others/jenkins/meta.yml | 4 +++- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 Others/jenkins/2.523/24.03-lts-sp1/Dockerfile diff --git a/Others/jenkins/2.523/24.03-lts-sp1/Dockerfile b/Others/jenkins/2.523/24.03-lts-sp1/Dockerfile new file mode 100644 index 00000000..5f3e17aa --- /dev/null +++ b/Others/jenkins/2.523/24.03-lts-sp1/Dockerfile @@ -0,0 +1,20 @@ +ARG BASE=openeuler/openeuler:24.03-lts-sp1 +FROM ${BASE} + +ARG TARGETARCH +ARG VERSION=2.523 +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 \ No newline at end of file diff --git a/Others/jenkins/meta.yml b/Others/jenkins/meta.yml index adc7799b..b38844ed 100644 --- a/Others/jenkins/meta.yml +++ b/Others/jenkins/meta.yml @@ -1,2 +1,4 @@ 2.502-oe2403sp1: - path: 2.502/24.03-lts-sp1/Dockerfile \ No newline at end of file + path: 2.502/24.03-lts-sp1/Dockerfile +2.523-oe2403sp1: + path: 2.523/24.03-lts-sp1/Dockerfile \ No newline at end of file -- Gitee