add PROJECTS_ROOT and PROJECT_SOURCE description to CommandLine and WorkingDir#116
add PROJECTS_ROOT and PROJECT_SOURCE description to CommandLine and WorkingDir#116kadel merged 6 commits intodevfile:masterfrom
Conversation
| // | ||
| // Special variables that can be used: | ||
| // | ||
| // - `$PROJECTS_ROOT`: A path path where projects sources are mounted |
There was a problem hiding this comment.
Is $VAR_NAME is the only available format? Or ${VAR_NAME} is available as well?
There was a problem hiding this comment.
${VAR_NAME} should work as well. But I guess this will depend on implementation.
Co-authored-by: Serhii Leshchenko <sleshche@redhat.com>
amisevsk
left a comment
There was a problem hiding this comment.
Generally LGTM, though I think the default variable format suggested in the docs should be ${VAR} instead of $VAR. We can leave details up to implementation, but the format listed in documentation determines the minimal spec, and in that regard ${VAR} is more versatile -- e.g. ${PROJECT_SOURCE}/bin vs $PROJECT_SOURCE/bin.
That makes sense. |
…
What does this PR do?
Add information about environment variables that are available in
commandLineandWorkingDirfields$PROJECTS_ROOT: A path where projects sources are mounted$PROJECT_SOURCE: A path to a project source ($PROJECTS_ROOT/<project-name>).What issues does this PR fix or reference?
fixes #109
Is your PR tested? Consider putting some instruction how to test your changes
Docs PR