-
Bug
-
Resolution: Done
-
Major
-
None
-
FIS 1.0 - OpenShift Fuse 3.1-GA
-
None
-
%
It would be better to favor MAVEN_MODULE variable during setting the default value for OUTPUT dir. If there's multi module maven project in source git, then "target" dir is relative to module name. Now it's required to set up both vars.
function get_output_dir() { # Where artifacts are created within the build local dir=${OUTPUT_DIR:-${S2I_SOURCE_DIR}/target} # If output_dir is not absolute then use it relative to S2I_SOURCE_DIR if [ "${dir:0:1}" != "/" ]; then dir="${S2I_SOURCE_DIR}/${dir}" fi echo ${dir} }