Skip to content

Commit

Permalink
Bump plugin to default to Java 17+ compatibility
Browse files Browse the repository at this point in the history
Defaults to an agent container image which will only work with GoCD 21.4.0+
  • Loading branch information
chadlwilson committed May 12, 2024
1 parent 2d9df57 commit 55f2d48
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ apply from: "https://raw.githubusercontent.com/gocd/gocd-plugin-gradle-task-help

gocdPlugin {
id = 'cd.go.contrib.elasticagent.kubernetes'
pluginVersion = '4.0.0'
goCdVersion = '20.9.0'
pluginVersion = '4.1.0'
goCdVersion = '21.4.0'
name = 'Kubernetes Elastic Agent Plugin'
description = 'Kubernetes Based Elastic Agent Plugins for GoCD'
vendorName = 'Thoughtworks, Inc.'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,8 @@ private static Map<String, String> getJinJavaContext() {
HashMap<String, String> context = new HashMap<>();
context.put(POD_POSTFIX, UUID.randomUUID().toString());
context.put(CONTAINER_POSTFIX, UUID.randomUUID().toString());
context.put(GOCD_AGENT_IMAGE, "gocd/gocd-agent-alpine-3.19");
context.put(LATEST_VERSION, "v23.5.0");
context.put(GOCD_AGENT_IMAGE, "gocd/gocd-agent-wolfi");
context.put(LATEST_VERSION, "v24.1.0");
return context;
}
}

0 comments on commit 55f2d48

Please sign in to comment.