Skip to content

Use source for bash scripts

Major Hayden requested to merge use-source-for-scripts into master

Using a subshell causes environment variables to be lost in the pipeline.

Switch to source so that the current shell is modified instead. This maintains environment variables for later parts of the pipeline.

Recent commits make it easy to find pipeline scripts with PIPELINE_DEFINITION_DIR. Switch to using that for getting the path to various scripts.

Signed-off-by: Major Hayden major@redhat.com

Merge request reports