Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update pom dependency and base image to jenkins 2.442 #145

Merged
merged 1 commit into from
Feb 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ RUN ./mvnw verify -q -s .mvn/settings.xml --fail-never
COPY . .
RUN ./mvnw clean verify -s .mvn/settings.xml

FROM jenkins/jenkins:2.401.1-jdk11
FROM jenkins/jenkins:2.442-jdk11

USER root
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -qq git python3 python3-pip sudo
RUN pip3 install virtualenv
RUN apt-get update && DEBIAN_FRONTEND=noninteractive \
apt-get install -qq --no-install-recommends git python3 python3-pip python3-virtualenv sudo

USER jenkins

Expand Down
2 changes: 1 addition & 1 deletion .github/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ echo "Please connect to IP address $HOST"
# to persist data:
# create a volume using docker `volume create <VOLUME_NAME>`
# mount the volume via docker run command using `-v <VOLUME_NAME>:/var/jenkins_home`
docker run -rm --platform linux/amd64 -p 8080:8080 -p 50000:50000 --name=jenkins-snyk jenkins-snyk
docker run --rm --platform linux/amd64 -p 8080:8080 -p 50000:50000 --name=jenkins-snyk jenkins-snyk
popd || exit
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</parent>

<properties>
<jenkins.version>2.401.1</jenkins.version>
<jenkins.version>2.442</jenkins.version>
<!-- java11 required since 2.357:
https://www.jenkins.io/blog/2022/06/28/require-java-11/ -->
<java.version>11</java.version>
Expand Down