• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • promoted-builds-plugin
    • None
    • promoted-builds 2.17, jenkins LTS 1.532.3, credentials 1.15, credentials-binding 1.0, envinject 1.89
    • Promoted Builds 3.3

      we have a promotion process where we want to do:

      • get artifacts from build we want to promote
      • copy them to some secure server

      I am not able to do:

      • provide build secrets to promotion process (credentials-binding plugin)
      • inject password into promotion process (envinject plugin)
      • trigger another job with parameters (e.g. delegate copying the artifacts to the secure server to another job).

      I am also not able to do:

      • configure another job to poll for promoted builds and get the build information for the build that got promoted, all I get is LEGACYCODECAUSE

          [JENKINS-23977] Promoted-builds does not allow build secrets

          Ben Dean added a comment -

          this seems like it might be a duplicate of this older issue

          Ben Dean added a comment - this seems like it might be a duplicate of this older issue

          Oleg Nenashev added a comment -

          It was fixed in Promoted Builds 3.3

          Oleg Nenashev added a comment - It was fixed in  Promoted Builds 3.3

          Andy Shinn added a comment -

          I can't seem to get this working (or maybe am not understanding it correctly). I have a promotion which sets a predefined parameter of credentialssh=analytics-jenkins-deployer-staging. In my triggered downstream job I have a credential parameter named credentialssh.

          When the downstream job is triggered by the promotion I get a failure with error:

          ERROR: Could not find credentials entry with ID '${credentialssh}'
          

          But when I run it manually it works fine. Ideas?

          Andy Shinn added a comment - I can't seem to get this working (or maybe am not understanding it correctly). I have a promotion which sets a predefined parameter of credentialssh=analytics-jenkins-deployer-staging. In my triggered downstream job I have a credential parameter named credentialssh. When the downstream job is triggered by the promotion I get a failure with error: ERROR: Could not find credentials entry with ID '${credentialssh}' But when I run it manually it works fine. Ideas?

          Jason H added a comment - - edited

          I also hit this when this is kicked off from an automatic upstream job.  When I kick it off manually from the same upstream job it loads without failure.  Anyone find a workaround to this?

          Jason H added a comment - - edited I also hit this when this is kicked off from an automatic upstream job.  When I kick it off manually from the same upstream job it loads without failure.  Anyone find a workaround to this?

            Unassigned Unassigned
            dnozay Damien Nozay
            Votes:
            5 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: