Skip to content

Commit

Permalink
Use Java 17 in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
basilevs committed Dec 2, 2023
1 parent f078e13 commit d1f98ef
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion releng/Jenkinsfile.groovy
Expand Up @@ -15,7 +15,7 @@ class Build implements Serializable {
private final String BUILD_CONTAINER_NAME="ubuntu"
private final String BUILD_CONTAINER="""
- name: $BUILD_CONTAINER_NAME
image: basilevs/ubuntu-rcptt:3.6.1
image: basilevs/ubuntu-rcptt:3.6.2
tty: true
resources:
limits:
Expand Down
6 changes: 3 additions & 3 deletions releng/buildenv/ubuntu/Dockerfile
Expand Up @@ -8,17 +8,17 @@ COPY openjdk-r_ubuntu_ppa.gpg /etc/apt/trusted.gpg.d/
## Install a java 11, a webkit and a javafx
RUN apt-get -y update \
&& apt-get install -y \
openjdk-11-jdk \
openjdk-17-jdk \
libwebkit2gtk-4.0 \
openjfx \
&& apt-get clean

## Install a maven
ARG MAVEN_VERSION=3.5.4
ARG BASE_URL=https://apache.osuosl.org/maven/maven-3/${MAVEN_VERSION}/binaries
ARG BASE_URL=https://archive.apache.org/dist/maven/maven-3/
ARG MAVEN_HOME=/usr/share/maven

RUN wget -O /tmp/apache-maven.tar.gz ${BASE_URL}/apache-maven-${MAVEN_VERSION}-bin.tar.gz \
RUN wget -O /tmp/apache-maven.tar.gz ${BASE_URL}/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.tar.gz \
&& mkdir ${MAVEN_HOME} \
&& tar -xzf /tmp/apache-maven.tar.gz -C ${MAVEN_HOME} --strip-components=1 \
&& rm -f /tmp/apache-maven.tar.gz \
Expand Down
5 changes: 4 additions & 1 deletion runtime/tests/pom.xml
Expand Up @@ -29,7 +29,10 @@
<useUIThread>true</useUIThread>
<argLine>-Daj.weaving.verbose=true
-Dorg.aspectj.weaver.showWeaveInfo=true
-Dorg.aspectj.osgi.verbose=true</argLine>
-Dorg.aspectj.osgi.verbose=true
--add-opens=java.base/java.lang=ALL-UNNAMED
--add-modules=ALL-SYSTEM
</argLine>
<frameworkExtensions>
<frameworkExtension>
<groupId>p2.osgi.bundle</groupId>
Expand Down

0 comments on commit d1f98ef

Please sign in to comment.