Skip to content

Commit

Permalink
trim version
Browse files Browse the repository at this point in the history
  • Loading branch information
garethahealy authored Jul 9, 2024
1 parent 60d6f78 commit 765f1f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jenkins-agents/jenkins-agent-gradle/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RUN dnf install -y unzip && \

# renovate: datasource=github-releases depName=gradle/gradle
ARG GRADLE_VERSION=v8.8.0
RUN curl -L "https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-bin.zip" -o /tmp/gradle-bin.zip && \
RUN curl -L "https://services.gradle.org/distributions/gradle-${GRADLE_VERSION:1:-2}-bin.zip" -o /tmp/gradle-bin.zip && \

Check failure on line 9 in jenkins-agents/jenkins-agent-gradle/Dockerfile

View workflow job for this annotation

GitHub Actions / build

SC3057 warning: In POSIX sh, string indexing is undefined.
unzip -q /tmp/gradle-bin.zip -d /opt/gradle-bin && \
mv /opt/gradle-bin/gradle-${GRADLE_VERSION} /opt/gradle

Expand Down

0 comments on commit 765f1f5

Please sign in to comment.