Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit fe6f3a96 authored by Joze RIHTARSIC's avatar Joze RIHTARSIC
Browse files

fix docker buid on bamboo

parent f8f0c1ca
No related branches found
No related tags found
No related merge requests found
......@@ -59,6 +59,11 @@ then
#SMP_VERSION="$(ls smp-*-setup.zip | sed -e 's/.*smp-//g' | sed -e 's/-setup\.zip$//g')"
SMP_VERSION="$(mvn org.apache.maven.plugins:maven-help-plugin:3.1.0:evaluate -Dexpression=project.version -q -DforceStdout)"
# go back to dirname
if [[ -z "${SMP_VERSION}" ]]; then
echo "Try to get version from artefacts: $(ls -ltr $SMP_ARTEFACTS)"
SMP_VERSION="$(ls ${SMP_ARTEFACTS}/smp-*-setup.zip | sed -e 's/.*smp-//g' | sed -e 's/-setup\.zip$//g')"
fi
fi
DIRNAME=`dirname "$0"`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment