@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-20T00:39:28.781Z") @Stability(value=Experimental) public interface JobMatrix extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
JobMatrix.Builder
A builder for
JobMatrix |
static class |
JobMatrix.Jsii$Proxy
An implementation for
JobMatrix |
| Modifier and Type | Method and Description |
|---|---|
static JobMatrix.Builder |
builder() |
default Map<String,List<String>> |
getDomain()
(experimental) Each option you define in the matrix has a key and value.
|
default List<Map<String,String>> |
getExclude()
(experimental) You can remove a specific configurations defined in the build matrix using the exclude option.
|
default List<Map<String,String>> |
getInclude()
(experimental) You can add additional configuration options to a build matrix job that already exists.
|
@Stability(value=Experimental) @Nullable default Map<String,List<String>> getDomain()
The keys you define become properties in the matrix context and you can reference the property in other areas of your workflow file. For example, if you define the key os that contains an array of operating systems, you can use the matrix.os property as the value of the runs-on keyword to create a job for each operating system.
@Stability(value=Experimental) @Nullable default List<Map<String,String>> getExclude()
Using exclude removes a job defined by the build matrix.
@Stability(value=Experimental) @Nullable default List<Map<String,String>> getInclude()
For example, if you want to use a specific version of npm when the job that uses windows-latest and version 8 of node runs, you can use include to specify that additional option.
@Stability(value=Experimental) static JobMatrix.Builder builder()
JobMatrix.Builder of JobMatrixCopyright © 2021. All rights reserved.