Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-20712

Additional / Custom Default ENV Variables for all pipes (workspace)

XMLWordPrintable

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Hi,  As a pipe developer it would be nice to have a more elegant way to pass variables, in particular secrets, to pipes. Currently users can setup repo level or workspace level variables, but need to explicitly send them down to pipes.  It would be great if at a pipe level, and/or at a variable setup level, you could mark a variable as "always", which would mean that user defined variable acts like the other default Bitbucket variables (eg build number), so every step gets it, even if the pipe user does not send it down using the variables in the specific pipe step.  This will vastly simplify the users of pipes and prevent a lot of duplicative code in the pipeline yml files eg:  
       
      AWS_DEFAULT_REGION: $COMMON_AWS_REGION
      AWS_SECRET_ACCESS_KEY: $COMMON_AWS_SECRET_ACCESS_KEY
      AWS_ACCESS_KEY_ID: $COMMON_AWS_ACCESS_KEY_ID
       
       
       

              Unassigned Unassigned
              19f146ec9ba3 Peter van Hengel
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: