File tree Expand file tree Collapse file tree 2 files changed +26
-15
lines changed
Expand file tree Collapse file tree 2 files changed +26
-15
lines changed Original file line number Diff line number Diff line change 1- language : java
2- jdk :
3- - oraclejdk8
4-
1+ addons :
2+ artifacts :
3+ debug : true
4+ paths : [libs.zip, build.zip, testbuild.zip]
5+ target_paths : 7078684e-5091-4ebd-8c59-475c5e18f69a
6+ after_success : ['mvn clean test jacoco:report coveralls:report', bash update-ghpages.sh,
7+ ./df-build.sh]
8+ before_install : ['export DISPLAY=:99.0', sh -e /etc/init.d/xvfb start]
59env :
610 global :
7- - GH_REF : github.com/iluwatar/java-design-patterns.git
8- - secure : LxTDuNS/rBWIvKkaEqr79ImZAe48mCdoYCF41coxNXgNoippo4GIBArknqtv+XvdkiuRZ1yGyj6pn8GU33c/yn+krddTUkVCwTbVatbalW5jhQjDbHYym/JcxaK9ZS/3JTeGcWrBgiPqHEEDhCf26vPZsXoMSeVCEORVKTp1BSg=
9-
10- before_install :
11- - export DISPLAY=:99.0
12- - sh -e /etc/init.d/xvfb start
13-
14- after_success :
15- - mvn clean test jacoco:report coveralls:report
16- - bash update-ghpages.sh
17-
11+ - {GH_REF: github.com/iluwatar/java-design-patterns.git}
12+ - {secure: LxTDuNS/rBWIvKkaEqr79ImZAe48mCdoYCF41coxNXgNoippo4GIBArknqtv+XvdkiuRZ1yGyj6pn8GU33c/yn+krddTUkVCwTbVatbalW5jhQjDbHYym/JcxaK9ZS/3JTeGcWrBgiPqHEEDhCf26vPZsXoMSeVCEORVKTp1BSg=}
13+ jdk : [oraclejdk8]
14+ language : java
1815sudo : false
16+ # Modified by Insights Service at 2016-03-31 13:46:34.614490
Original file line number Diff line number Diff line change 1+ echo " Build is done by now. Copying dependencies..."
2+ mvn dependency:copy-dependencies || { echo " Error: maven dependency:copy-dependencies failed" ; exit 1; }
3+ echo " Cleaning up existing zip if any..."
4+ rm -f libs.zip || { echo " Error: Cleaning lib zip" ; exit 1; }
5+ rm -f build.zip || { echo " Error: Cleaning binaries zip" ; exit 1; }
6+ rm -f testbuild.zip || { echo " Error: Cleaning test binaries zip" ; exit 1; }
7+ mkdir -p target/test-classes; touch target/test-classes/placeholder.class || { echo " Error: Creating placeholder for test-classes" ; exit 1; }
8+ echo " Zipping artifacts begin..."
9+ zip libs.zip $( git ls-files -o | grep -e target/dependency/.* jar) || { echo " Error: Zipping libs failed" ; exit 1; }
10+ zip build.zip $( git ls-files -o | grep -e target/classes/.* class) || { echo " Error: Zipping binaries failed" ; exit 1; }
11+ zip testbuild.zip $( git ls-files -o | grep -e target/test-classes/.* class) || { echo " Error: Zipping test binaries failed" ; exit 1; }
12+ echo " Zipping artifacts DONE!!!"
13+ # Modified by Insights Service at 2016-03-31 13:46:34.614788
You can’t perform that action at this time.
0 commit comments