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

Credentials dropdown does not list Folder Credentials

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • electricflow-plugin
    • None
    • electricflow:1.1.24
    • electricflow:1.1.25

      The Electirc Flow pipeline steps / freestyle records let you override the globally configured credentials with "Override Credential" but the dropdown does not allow to select Folder Credentials.

      Note: In pipeline, we can workaround the problem by simply setting the folder credentials ID value in the overrideCredential: [credentialId: '...']:

      node{
          cloudBeesFlowTriggerRelease(
            configuration: 'CdConfiguration', 
            overrideCredential: [credentialId: 'myFolderCredentialsId'],
            parameters: '{"release":{"releaseName":"CdRelease1.1.5","stages":[{"stageName":"Stage 1","stageValue":false},{"stageName":"Stage 2","stageValue":true}],"pipelineName":"pipeline_CdRelease1.1.5","parameters":[{"parameterName":"ReleaseParam","parameterValue":"test"}]}}', 
            projectName: 'CloudBees', 
            releaseName: 'CdRelease1.1.5', 
            startingStage: ''
          )
      }
      

      So this is a UI issue, not critical for Pipeline, but critical for Freestyle.

            allan_burdajewicz Allan BURDAJEWICZ
            allan_burdajewicz Allan BURDAJEWICZ
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: