The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Introducing default values for custom pipeline variables

Hi everyone,

Support for including default values in custom pipelines has been a highly requested feature. We are happy to announce that this feature is now live.

Here is an example of a pipeline configuration:

pipelines:
  custom:
    custom-name-and-region:
      - variables:
          - name: Username
          - name: Region
            default: ap-southeast-2  # optionally provide a default value
      - step: 
          script:
            - echo "User name is $Username"
- echo "and they are in $Region"

Please read more details in the blog post.

0 comments

Comments for this post are closed

Community moderators have prevented the ability to post new comments.

TAGS
AUG Leaders

Atlassian Community Events