-
Yes, this is preferred way to define environment variables. If you want to define variable for different jobs, consider define a property, and export the variable in command step something like below:
export var = @property@
This way you can maintain var value in one place.
-
export var = @property@
Correct:
export varName=@property:<property name>@ -
Previous Value Current Value Open
Closed
| Type |
New Feature
|
| Priority |
Normal
|
| Assignee |
Issue Votes (0)
I not found how export variables. Now i use
Execute Commandsandexport VAR=VALUEBut I think would be better if onedev have this feature.
gitlab have
variablessections:global:
and on job