-
Thanks for using OneDev. Passing info by file is the only approach in OneDev, whether it is between different containers in same job, or between different job (for different job, you will need to publish these files first and then have other jobs retrieving it via dependency).
-
Name Previous Value Current Value Type
Support Request
Improvement
-
Name Previous Value Current Value Type
Improvement
New Feature
-
Thanks for the response ;)
I added a New Feature Tag, if I find some time in this week Ill try to bring a pull request to you if its okay ;)
Daniel
-
Thanks for willing to help. Mind sharing your idea before gets hand dirty?
-
OneDev
changed state to 'Closed' 3 years ago
Previous Value Current Value Open
Closed
-
Previous Value Current Value Closed
Open
-
Sorry closing the wrong issue
-
Previous Value Current Value Open
Closed
-
I am closing this. Feel free to reopen if this needs to be done
-
For those who wanting pass via powershell in windows i've done following trick(strange that only this working):
- in first job setx MY_BYPASS_VAR MY_VALUE
- in any later job [Environment]::GetEnvironmentVariable('MY_BYPASS_VAR', [System.EnvironmentVariableTarget]::User)
==========
Not sure why other 'rational' (like Set Env variable for 'User') NOT working. There is 'issue' in powershell github repo about messy with this, but this is too tough.
| Type |
New Feature
|
| Priority |
Normal
|
| Assignee |
At first big thx for this wonderful VCS! ❤️ Ive been looking for something like this for a long a time ago!
Currently Im rebuilding by cicd pipelines to the onedev syntax. I installed onedev in my kubernetes cluster additional an executor inside my cluster.
So every step is in another pod. But how do I pass vars from one container to another? I did a workaround by creating files with the needed value in it and use the exact same file in the next container.
Is there a better way?
Thanks! Daniel