-
Bug
-
Resolution: Unresolved
-
Major
-
jenkins: 2.0
pipeline: Build Step:2.1
Pipeline: Groovy:2.8
Pipeline: REST API Plugin:1.5
Pipeline: Stage View Plugin:1.5
Pipeline: Supporting APIs:2.1
Hello,
In pipeline job i can not trigger another job with MatrixCombinationsParameter!
In my pipeline job, i trigger another job with "MatrixCombinationsParameter".
I find nothing in wiki and when I use the "Pipeline Syntax" it shows me the following warning:
paramFilter
Not applicable. Only applicable to multi-configuration projects.
Select matrix combinations
------------------------JENKINSFILE---------------------------------
stage "test "
build job: 'Tests/test_func',
parameters: [
[$class: 'StringParameterValue', name: 'default_timeout', value: '30000'],
[$class: 'StringParameterValue', name: 'git_ref', value: 'xxxx'],
[$class: 'BooleanParameterValue', name: 'sof', value: true],
[$class: 'BooleanParameterValue', name: 'fastkill', value: false],
[$class: 'MatrixCombinationsParameterValue', name: paramFilter', value:'env_name=="int"']
],
propagate: true,
wait: true
[JENKINS-37042] Pipeline step plugin: build job with MatrixCombinationsParameterValue
Attachment | New: test.png [ 33481 ] |
Description |
Original:
Bonjour, Je suis entrain de définir une pipeline qui trigger un job avec comme parametere "MatrixCombinationsParameter". je ne trouve rien ds le wiki et qd j'utilise la "Pipeline Syntax" il m'affiche le warning suivant: paramFilter Not applicable. Applicable only to multi-configuration projects. Select matrix combinations |
New:
Hello, In my pipeline job, i trigger another job with "MatrixCombinationsParameter". I find nothing in wiki and when I use the "Pipeline Syntax" it shows me the following warning: paramFilter Not applicable. Only applicable to multi-configuration projects. Select matrix combinations stage "Functional test "+plat build job: 'Tests/test_func', parameters: [ [$class: 'StringParameterValue', name: 'default_timeout', value: '30000'], [$class: 'StringParameterValue', name: 'git_ref', value: 'develop'], [$class: 'BooleanParameterValue', name: 'sof', value: true], [$class: 'BooleanParameterValue', name: 'fastkill', value: false], [$class: 'MatrixCombinationsParameterValue', name: 'toto', value:'env_name=="int4"'] //[$class: 'StringParameterValue', name: 'env_name', value: "int4"] ], propagate: true, wait: true |
Description |
Original:
Hello, In my pipeline job, i trigger another job with "MatrixCombinationsParameter". I find nothing in wiki and when I use the "Pipeline Syntax" it shows me the following warning: paramFilter Not applicable. Only applicable to multi-configuration projects. Select matrix combinations stage "Functional test "+plat build job: 'Tests/test_func', parameters: [ [$class: 'StringParameterValue', name: 'default_timeout', value: '30000'], [$class: 'StringParameterValue', name: 'git_ref', value: 'develop'], [$class: 'BooleanParameterValue', name: 'sof', value: true], [$class: 'BooleanParameterValue', name: 'fastkill', value: false], [$class: 'MatrixCombinationsParameterValue', name: 'toto', value:'env_name=="int4"'] //[$class: 'StringParameterValue', name: 'env_name', value: "int4"] ], propagate: true, wait: true |
New:
Hello, In pipeline job i can not trigger another job with MatrixCombinationsParameter! In my pipeline job, i trigger another job with "MatrixCombinationsParameter". I find nothing in wiki and when I use the "Pipeline Syntax" it shows me the following warning: paramFilter Not applicable. Only applicable to multi-configuration projects. Select matrix combinations -------------------------JENKINSFILE---------------------------------- stage "test " build job: 'Tests/test_func', parameters: [ [$class: 'StringParameterValue', name: 'default_timeout', value: '30000'], [$class: 'StringParameterValue', name: 'git_ref', value: 'xxxx'], [$class: 'BooleanParameterValue', name: 'sof', value: true], [$class: 'BooleanParameterValue', name: 'fastkill', value: false], [$class: 'MatrixCombinationsParameterValue', name: paramFilter', value:'env_name=="int"'] ], propagate: true, wait: true |
Labels | Original: jenkins plugin workflow | New: jenkins pipeline plugin workflow |
Labels | Original: jenkins pipeline plugin workflow | New: jenkins pipeline plugin |
Component/s | New: pipeline-build-step-plugin [ 21707 ] | |
Component/s | Original: pipeline-utility-steps-plugin [ 21135 ] |
Assignee | Original: rsandell [ rsandell ] | New: Andrew Bayer [ abayer ] |
Labels | Original: jenkins pipeline plugin | New: jenkins pipeline plugin triaged-2018-11 |
Is the downstream job a matrix job? If it isn't, well, like the error says, MatrixCombinationsParameterValue is only usable with matrix jobs.