summaryrefslogtreecommitdiffstats
path: root/jenkins-builds
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-05-07 20:10:05 +0200
committerSven Gothel <[email protected]>2023-05-07 20:10:05 +0200
commit937c662c0a4f68ca3fa9f40608e305e91c1a5500 (patch)
tree561fed14dc4c953862a152911039fbea6251d148 /jenkins-builds
parent62604e9e14dbc9e8bf81e9fc033902cdfd790041 (diff)
jenkins-builds: Promote *-java-src.zip of modules within jar sub-folder, add jogl-demos* to fat folder
Diffstat (limited to 'jenkins-builds')
-rwxr-xr-xjenkins-builds/funcs_promotion.sh11
1 files changed, 8 insertions, 3 deletions
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