Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-37042

Pipeline step plugin: build job with MatrixCombinationsParameterValue

      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

          Zoubeyda ZARKOUNA created issue -
          Zoubeyda ZARKOUNA made changes -
          Attachment New: test.png [ 33481 ]
          Zoubeyda ZARKOUNA made changes -
          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
          Zoubeyda ZARKOUNA made changes -
          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
          Andrew Bayer made changes -
          Labels Original: jenkins plugin workflow New: jenkins pipeline plugin workflow
          Andrew Bayer made changes -
          Labels Original: jenkins pipeline plugin workflow New: jenkins pipeline plugin
          Andrew Bayer made changes -
          Component/s New: pipeline-build-step-plugin [ 21707 ]
          Component/s Original: pipeline-utility-steps-plugin [ 21135 ]
          Andrew Bayer made changes -
          Assignee Original: rsandell [ rsandell ] New: Andrew Bayer [ abayer ]
          Vivek Pandey made changes -
          Labels Original: jenkins pipeline plugin New: jenkins pipeline plugin triaged-2018-11
          Andrew Bayer made changes -
          Assignee Original: Andrew Bayer [ abayer ]

            Unassigned Unassigned
            zzarkouna Zoubeyda ZARKOUNA
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: