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

Unable to use User scoped credentials in Matrix Job

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • matrix-project-plugin
    • None
    • Jenkins 2.164.x
      matrix-project 1.14
      Credentials binding 1.18
      Credentials 2.1.18

      • Create a Matrix Job.
      • Define Credentials parameter.
      • Define Credentials binding AWS access key and secret.

      Try to pass a user scoped credential as parameter, assign the parameter to the binding and use it in the job. It will not work. The same setup works for a freestyle job.

      It would be great if the user scoped credential could work in a matrix job.

       

          [JENKINS-59510] Unable to use User scoped credentials in Matrix Job

          Manuel Cardenas created issue -
          Manuel Cardenas made changes -
          Description Original: * Create a Matrix Job.
           * Define Credentials parameter.
           * Define Credentials binding AWS access key and secret.

          Try to pass a user scoped credential as parameter and use it in the job. It will not work. The same setup works for a freestyle job.

          It would be great if the user scoped credential could work in a matrix job.

           
          New: * Create a Matrix Job.
           * Define Credentials parameter.
           * Define Credentials binding AWS access key and secret.

          Try to pass a user scoped credential as parameter, assign the parameter to the binding and use it in the job. It will not work. The same setup works for a freestyle job.

          It would be great if the user scoped credential could work in a matrix job.

           

            kohsuke Kohsuke Kawaguchi
            mcardenasblanco Manuel Cardenas
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: