-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
22 additions
and
35 deletions.
There are no files selected for viewing
7 changes: 6 additions & 1 deletion
7
...t/bitbucket/__snapshots__/spec/lib/bk/compat/bitbucket/examples/custom/variables.yml.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 16 additions & 15 deletions
31
app/spec/lib/bk/compat/bitbucket/examples/custom/variables.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,19 @@ | ||
# from https://support.atlassian.com/bitbucket-cloud/docs/pipeline-start-conditions/#Example-%E2%80%94-using-the-variables-property-to-define-custom-pipeline-variables | ||
|
||
pipelines: | ||
default: | ||
- variables: | ||
- name: Username | ||
- name: Role | ||
default: "admin" # optionally provide a default variable value | ||
description: "Add user role" | ||
- name: Region | ||
default: "us-east-1" | ||
allowed-values: # optionally restrict variable values | ||
- "ap-southeast-2" | ||
- "us-east-1" | ||
- "us-west-2" | ||
- step: | ||
script: | ||
- echo "$Username manually triggered for a build for $Region as $Role!" | ||
custom: | ||
deployer: # The name that is displayed in the list in the Bitbucket Cloud GUI | ||
- variables: | ||
- name: Username | ||
- name: Role | ||
default: "admin" # optionally provide a default variable value | ||
description: "Add user role" | ||
- name: Region | ||
default: "us-east-1" | ||
allowed-values: # optionally restrict variable values | ||
- "ap-southeast-2" | ||
- "us-east-1" | ||
- "us-west-2" | ||
- step: | ||
script: | ||
- echo "$Username manually triggered for a build for $Region as $Role!" |
This file was deleted.
Oops, something went wrong.