From 19ec5591647b7075eeb802677e27890f0c08f1f8 Mon Sep 17 00:00:00 2001 From: Basil Crow Date: Fri, 23 Jun 2023 13:33:05 -0700 Subject: [PATCH 1/2] Refresh plugin for June 2023 --- .mvn/extensions.xml | 2 +- pom.xml | 22 +++++-------------- .../DockerDirectiveGeneratorTest.java | 8 +++---- 3 files changed, 10 insertions(+), 22 deletions(-) diff --git a/.mvn/extensions.xml b/.mvn/extensions.xml index 9ac2968bc..90787cbb2 100644 --- a/.mvn/extensions.xml +++ b/.mvn/extensions.xml @@ -2,6 +2,6 @@ io.jenkins.tools.incrementals git-changelist-maven-extension - 1.4 + 1.6 diff --git a/pom.xml b/pom.xml index 5a3f42293..a057543d7 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ org.jenkins-ci.plugins plugin - 4.51 + 4.67 docker-workflow @@ -30,7 +30,7 @@ 999999-SNAPSHOT - 2.332.1 + 2.361.4 jenkinsci/${project.artifactId}-plugin @@ -49,30 +49,18 @@ io.jenkins.tools.bom - bom-2.332.x - 1643.v1cffef51df73 + bom-2.361.x + 2102.v854b_fec19c92 import pom - - org.jenkinsci.plugins - pipeline-model-api - - - org.jenkinsci.plugins - pipeline-model-extensions - - - org.jenkinsci.plugins - pipeline-stage-tags-metadata - org.jenkins-ci.plugins docker-commons - 1.21 + 419.v8e3cd84ef49c org.jenkins-ci.plugins.workflow diff --git a/src/test/java/org/jenkinsci/plugins/docker/workflow/declarative/DockerDirectiveGeneratorTest.java b/src/test/java/org/jenkinsci/plugins/docker/workflow/declarative/DockerDirectiveGeneratorTest.java index cae928399..e28cff150 100644 --- a/src/test/java/org/jenkinsci/plugins/docker/workflow/declarative/DockerDirectiveGeneratorTest.java +++ b/src/test/java/org/jenkinsci/plugins/docker/workflow/declarative/DockerDirectiveGeneratorTest.java @@ -24,10 +24,10 @@ package org.jenkinsci.plugins.docker.workflow.declarative; -import com.gargoylesoftware.htmlunit.HttpMethod; -import com.gargoylesoftware.htmlunit.WebRequest; -import com.gargoylesoftware.htmlunit.WebResponse; -import com.gargoylesoftware.htmlunit.util.NameValuePair; +import org.htmlunit.HttpMethod; +import org.htmlunit.WebRequest; +import org.htmlunit.WebResponse; +import org.htmlunit.util.NameValuePair; import edu.umd.cs.findbugs.annotations.NonNull; import hudson.model.Describable; import java.net.URL; From 38b9982d634ee3429537b60c93360e22da74008f Mon Sep 17 00:00:00 2001 From: Basil Crow Date: Fri, 23 Jun 2023 13:37:15 -0700 Subject: [PATCH 2/2] Update Jenkinsfile --- Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 48fdc0707..a23259063 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,4 +1,4 @@ -buildPlugin(platforms: [ - 'linux', - 'maven-windows' // TODO Docker-based tests fail when using Docker on Windows. The maven-windows agents do not have Docker installed so tests that require Docker are skipped. +buildPlugin(useContainerAgent: false, configurations: [ + [platform: 'linux', jdk: 17], + [platform: 'maven-11-windows', jdk: 11] // TODO Docker-based tests fail when using Docker on Windows. The maven-windows agents do not have Docker installed so tests that require Docker are skipped. ])