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

Enhancement: make recources addressable in build-flow plugin

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Is it possible to address the lockable resources inside the DSL of the build-flow-plugin?
      This would make it possible to lock and release resources during the buildflow dynamically.
      What are the commands to do that?

        Attachments

          Issue Links

            Activity

            Hide
            jcarrothers_sap Jim Carrothers added a comment -

            At present there is no explicit support for either locking or unlocking resources in this fashion, but you can accomplish it by calling the appropriate APIs directly from the flow DSL as it is not currently sandboxed.

            I would not necessarily expect the lockable resources plugin to ever explicitly support this behaviour because it more focused on managing locks prior to builds even starting. Is it possible that the Exclusion Plugin is more suited to what you are trying to do? Again there is no explicit support between these two plugins, but you may be able to accomplish what you need via direct API calls and the plugin is intended to lock/unlock during the course of a build.

            Show
            jcarrothers_sap Jim Carrothers added a comment - At present there is no explicit support for either locking or unlocking resources in this fashion, but you can accomplish it by calling the appropriate APIs directly from the flow DSL as it is not currently sandboxed. I would not necessarily expect the lockable resources plugin to ever explicitly support this behaviour because it more focused on managing locks prior to builds even starting. Is it possible that the Exclusion Plugin is more suited to what you are trying to do? Again there is no explicit support between these two plugins, but you may be able to accomplish what you need via direct API calls and the plugin is intended to lock/unlock during the course of a build.
            Hide
            jglick Jesse Glick added a comment -

            Analogous to JENKINS-30269 for Pipeline.

            Show
            jglick Jesse Glick added a comment - Analogous to JENKINS-30269 for Pipeline.

              People

              • Assignee:
                Unassigned
                Reporter:
                phil_ Philipp Strobel
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: