1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-01-30 05:59:39 +02:00

Relocate script files for generting documention

This commit is contained in:
Marcus Holl 2019-01-09 16:30:22 +01:00
parent 96d5184651
commit c6500a7516
2 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,9 @@
#!/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
#~/Library/groovy-2.4.13/bin/groovy -cp src:`cat $CLASSPATH_FILE` createDocu
groovy -cp "src:$(cat $CLASSPATH_FILE)" createDocu "${@}"
groovy -cp "src:$(cat $CLASSPATH_FILE)" "${d}createDocu" "${@}"