Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
5 changes: 5 additions & 0 deletions hugegraph-hubble/hubble-dist/assembly/travis/build-report.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,10 @@ TRAVIS_DIR=$(dirname "$0")
cd hubble-be
mvn jacoco:dump@pull-test-data -Dapp.host=localhost -Dapp.port=36320 -Dskip.dump=false
cd ../

if [[ ! -e "${TRAVIS_DIR}/jacococli.jar" ]]; then
wget -P "${TRAVIS_DIR}" https://github.com/apache/hugegraph-doc/raw/binary-1.0/dist/server/jacococli.jar
fi

java -jar "${TRAVIS_DIR}"/jacococli.jar report hubble-be/target/jacoco-it.exec \
--classfiles hubble-be/target/classes/org/apache/hugegraph --xml report.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ HUBBLE_DIR=apache-hugegraph-hubble-*
echo "$TRAVIS_DIR"
pwd && mvn -e -X clean package -DskipTests -ntp

if [[ ! -e "${TRAVIS_DIR}/jacocoagent.jar" ]]; then
wget -P "${TRAVIS_DIR}" https://github.com/apache/hugegraph-doc/raw/binary-1.0/dist/server/jacocoagent.jar
fi

cp -v "${TRAVIS_DIR}"/jacocoagent.jar $HUBBLE_DIR/lib || exit 1
cp -v "${TRAVIS_DIR}"/start-hubble.sh $HUBBLE_DIR/bin || exit 1

Expand Down
Binary file not shown.
Binary file not shown.