I not found how export variables. Now i use Execute Commands and export VAR=VALUE
But I think would be better if onedev have this feature.
gitlab have variables sections:
global:
variables:
GLOBAL_VAR: "A global variable"
and on job
job1:
variables:
JOB_VAR: "A job variable"
Robin Shen commented 1 year ago
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:
I not found how export variables. Now i use
Execute Commands
andexport VAR=VALUE
But I think would be better if onedev have this feature.
gitlab have
variables
sections:global:
and on job