1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-14 11:03:09 +02:00
sap-jenkins-library/documentation/bin/createDocu.sh

9 lines
240 B
Bash
Raw Normal View History

#!/bin/bash
d=$(dirname "$0")
[ ! -z "$d" ] && d="$d/"
export CLASSPATH_FILE='cp.txt'
mvn dependency:build-classpath -Dmdep.outputFile=${CLASSPATH_FILE} > /dev/null 2>&1
groovy -cp "src:$(cat $CLASSPATH_FILE)" "${d}createDocu" "${@}"