-
Notifications
You must be signed in to change notification settings - Fork 0
/
step.yml
57 lines (49 loc) · 2.12 KB
/
step.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
title: Share Pipeline variables
summary: Share environment variables between Pipeline Workflows.
description: |-
Share environment variables between Pipeline Workflows. This step works with both Pipelines and Pipelines with Stages.
Variables shared by the Step will be available in subsequent stages workflow's as [one-off env vars](https://devcenter.bitrise.io/en/builds/environment-variables.html#setting-a-custom-env-var-when-starting-a-build) as if provided manually on the website.
website: https://github.com/bitrise-steplib/bitrise-step-share-pipeline-variable
source_code_url: https://github.com/bitrise-steplib/bitrise-step-share-pipeline-variable
support_url: https://github.com/bitrise-steplib/bitrise-step-share-pipeline-variable/issues
type_tags:
- utility
toolkit:
go:
package_name: github.com/bitrise-steplib/bitrise-step-share-pipeline-variable
is_always_run: false
inputs:
- variables:
opts:
title: Variables to share between Pipeline Workflows
summary: |-
A newline (`\n`) separated list of variable names or `NEW_ENV=NEW_VALUE` for declaring new variables.
description: |-
A newline (`\n`) separated list of variable names or `NEW_ENV=NEW_VALUE` for declaring new variables.
The input uses a `KEY=VALUE` syntax for declaring new variables. The first `=` is the delimiter between the key and value of the environment variable.
A shorthand syntax of `ENV_KEY` can be used for `ENV_KEY=$ENV_KEY` when sharing an existing environment variable (ENV_KEY).
Examples:
```
MY_ENV_VAR=my value
EXISTING_ENV_VAR
```
is_required: true
- app_url: $BITRISE_APP_URL
opts:
title: Bitrise App URL
summary: The app's URL on Bitrise.io.
is_required: true
is_dont_change_value: true
- build_slug: $BITRISE_BUILD_SLUG
opts:
title: Bitrise Build Slug
summary: The build's slug on Bitrise.io.
is_required: true
is_dont_change_value: true
- build_api_token: $BITRISE_BUILD_API_TOKEN
opts:
title: Bitrise Build API Token
summary: API Token for the build on Bitrise.io.
is_required: true
is_sensitive: true
is_dont_change_value: true