diff --git a/Jenkinsfile b/Jenkinsfile index 92746332..4f53ef37 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,4 +1,7 @@ #!/usr/bin/env groovy /* `buildPlugin` step provided by: https://github.com/jenkins-infra/pipeline-library */ -buildPlugin(useAci: true) +buildPlugin(useContainerAgent: true, configurations: [ + [ platform: "linux", jdk: "11" ], + [ platform: "windows", jdk: "11" ], +]) diff --git a/src/main/java/hudson/matrix/AxisDescriptor.java b/src/main/java/hudson/matrix/AxisDescriptor.java index 11214c8b..4d120c59 100644 --- a/src/main/java/hudson/matrix/AxisDescriptor.java +++ b/src/main/java/hudson/matrix/AxisDescriptor.java @@ -80,7 +80,7 @@ public FormValidation doCheckName(@QueryParameter String value) { * necessary to disallow '=' in value as everything after the first * occurrence is considered to be a value. * - * Subclasses are expected to expose own doCheck method possibly delegating to this one. + * Subclasses are expected to expose own doCheck method possibly delegating to this one. */ public FormValidation checkValue(@QueryParameter String value) { if(Util.fixEmpty(value)==null) diff --git a/src/main/java/hudson/matrix/Combination.java b/src/main/java/hudson/matrix/Combination.java index 76072e1f..5fca315e 100644 --- a/src/main/java/hudson/matrix/Combination.java +++ b/src/main/java/hudson/matrix/Combination.java @@ -84,7 +84,7 @@ public int toIndex(AxisList axis) { * Evaluates the given Groovy expression with values bound from this combination. * *

- * For example, if this combination is a=X,b=Y, then expressions like a=="X" would evaluate to + * For example, if this combination is a=X,b=Y, then expressions like a=="X" would evaluate to * true. */ public boolean evalGroovyExpression(AxisList axes, String expression) { @@ -147,7 +147,7 @@ public List values(Collection axes) { /** * Converts to the ID string representation: - * axisName=value,axisName=value,... + * axisName=value,axisName=value,... * * @param sep1 * The separator between multiple axes.