Skip to content

Commit 728c11e

Browse files
committed
fix: examples jar naming issue
1 parent 26558f7 commit 728c11e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ jobs:
4040
script:
4141
- build/setMavenVersion.sh
4242
- mvn verify -fae -DskipITs $MVN_ARGS
43-
- mvn package
4443
- ./test-integration.sh
4544
after_success:
4645
- build/publishCodeCoverage.sh

test-integration.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
echo "Running integration tests..."
88

99
# Run example, get exit code
10-
exampleoutput=$(java -jar ./modules/examples/target/code-engine-examples-1.0.0-SNAPSHOT.jar)
10+
jarname=$(ls ./modules/examples/target | grep '.jar' | grep -v 'sources' | grep -v 'original')
11+
exampleoutput=$(java -jar ./modules/examples/target/$jarname)
1112
exampleexit=$?
1213
if [ $exampleexit -ne 0 ]; then
1314
echo "Integration tests failed with exit code $exampleexit"

0 commit comments

Comments
 (0)