From 937c662c0a4f68ca3fa9f40608e305e91c1a5500 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sun, 7 May 2023 20:10:05 +0200 Subject: jenkins-builds: Promote *-java-src.zip of modules within jar sub-folder, add jogl-demos* to fat folder --- jenkins-builds/funcs_promotion.sh | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'jenkins-builds') diff --git a/jenkins-builds/funcs_promotion.sh b/jenkins-builds/funcs_promotion.sh index d632685..1faba97 100755 --- a/jenkins-builds/funcs_promotion.sh +++ b/jenkins-builds/funcs_promotion.sh @@ -280,7 +280,7 @@ function prom_promote_module() { mv -v $i unsigned/`basename $i -unsigned.apk`.apk done cd .. - # copy the master pic JAR files + # copy the master pic JAR files, incl. *-java-src.zip files # 7z folder verified above already local zfile=archive/jogamp-$masterpick/$module-$masterpick.7z local zfolder=tmp/`basename $zfile .7z` @@ -288,6 +288,9 @@ function prom_promote_module() { for j in $zfolder/jar/*.jar ; do cp -av $j ./jar/ done + for j in `find $zfolder/jar -maxdepth 1 -name \*-java-src.zip` ; do + cp -av $j ./jar/ + done if [ -e $zfolder/jar/atomic ] ; then for j in $zfolder/jar/atomic/*.jar ; do cp -av $j ./jar/atomic/ @@ -364,7 +367,7 @@ function prom_make_fatjar() { mkdir tmp/fatjarsrc cd tmp/fatjarsrc - fat_java_src_modules="gluegen joal jogl jocl" + fat_java_src_modules="gluegen jar/joal jar/jogl jar/jocl" for i in $fat_java_src_modules ; do unzip ../../tmp/$i-$masterpick/$i-java-src.zip rm -rf META-INF @@ -386,7 +389,6 @@ function prom_make_fatjar() { mkdir tmp/fattestjarsrc cd tmp/fattestjarsrc - fat_test_java_src_modules="gluegen joal jogl jocl" for i in $fat_java_src_modules ; do if [ -e ../../tmp/$i-$masterpick/$i-test-java-src.zip ] ; then unzip ../../tmp/$i-$masterpick/$i-test-java-src.zip @@ -396,6 +398,9 @@ function prom_make_fatjar() { zip -r ../../fat/jogamp-fat-test-java-src.zip . cd ../.. + cp -a ./tmp/jogl-$masterpick/jar/jogl-demos.jar ./fat/ + cp -a ./tmp/jogl-$masterpick/jar/jogl-demos-java-src.zip ./fat/ + mv fat jogamp-fat 7z a -r archive/jogamp-fat-all.7z jogamp-fat mv jogamp-fat fat -- cgit v1.2.3