Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Instrumented by Insights Service for uploading the artifacts
- Loading branch information
Insights Service EC2 User
authored and
Insights Service EC2 User
committed
Apr 5, 2016
1 parent
1fa8189
commit f83fa52
Showing
2 changed files
with
23 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
addons: | ||
artifacts: | ||
debug: true | ||
paths: [libs.zip, build.zip, testbuild.zip] | ||
target_paths: 68d9785f-39b4-47ff-a678-21c69eb54f6e | ||
after_success: ['mvn resources:resources jacoco:merge jacoco:report coveralls:report | ||
-DrepoToken=OL0MbvrGAzu589jSHioduc5jAOhDxqwGe -Pcoveralls -N -B', ./df-build.sh] | ||
before_script: ['mvn formatter:validate'] | ||
jdk: [oraclejdk8, oraclejdk7, openjdk7] | ||
language: java | ||
|
||
jdk: | ||
- oraclejdk8 | ||
- oraclejdk7 | ||
- openjdk7 | ||
|
||
before_script: | ||
- mvn formatter:validate | ||
|
||
after_success: | ||
- mvn resources:resources jacoco:merge jacoco:report coveralls:report -DrepoToken=OL0MbvrGAzu589jSHioduc5jAOhDxqwGe -Pcoveralls -N -B | ||
# Modified by Insights Service at 2016-04-05 09:16:16.583193 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
echo "Build is done by now. Copying dependencies..." | ||
mvn dependency:copy-dependencies || { echo "Error: maven dependency:copy-dependencies failed"; exit 1; } | ||
echo "Cleaning up existing zip if any..." | ||
rm -f libs.zip || { echo "Error: Cleaning lib zip"; exit 1; } | ||
rm -f build.zip || { echo "Error: Cleaning binaries zip"; exit 1; } | ||
rm -f testbuild.zip || { echo "Error: Cleaning test binaries zip"; exit 1; } | ||
mkdir -p target/test-classes;touch target/test-classes/placeholder.class || { echo "Error: Creating placeholder for test-classes"; exit 1; } | ||
echo "Zipping artifacts begin..." | ||
zip libs.zip $(git ls-files -o | grep -e target/dependency/.*jar) || { echo "Error: Zipping libs failed"; exit 1; } | ||
zip build.zip $(git ls-files -o | grep -e target/classes/.*class) || { echo "Error: Zipping binaries failed"; exit 1; } | ||
zip testbuild.zip $(git ls-files -o | grep -e target/test-classes/.*class) || { echo "Error: Zipping test binaries failed"; exit 1; } | ||
echo "Zipping artifacts DONE!!!" | ||
# Modified by Insights Service at 2016-04-05 09:16:16.583491 |