diff options
-rwxr-xr-x | jenkins-builds/funcs_promotion.sh | 3 | ||||
-rwxr-xr-x | jenkins-builds/promote-latest-builds.sh | 8 |
2 files changed, 2 insertions, 9 deletions
diff --git a/jenkins-builds/funcs_promotion.sh b/jenkins-builds/funcs_promotion.sh index 5ef9c84..22238e1 100755 --- a/jenkins-builds/funcs_promotion.sh +++ b/jenkins-builds/funcs_promotion.sh @@ -1,6 +1,5 @@ #! /bin/bash - function prom_setup() { local ldest=$1 shift @@ -464,6 +463,8 @@ function prom_extract() { echo OK 7z file $zfile $* if [ ! -z "$*" ] ; then chmod 755 $* + find $* -type d -exec chmod 0755 \{\} \; + find $* -type f -exec chmod 0644 \{\} \; fi fi } diff --git a/jenkins-builds/promote-latest-builds.sh b/jenkins-builds/promote-latest-builds.sh index bbe65a9..68ef63b 100755 --- a/jenkins-builds/promote-latest-builds.sh +++ b/jenkins-builds/promote-latest-builds.sh @@ -85,16 +85,8 @@ function promote-latest-builds() { cp -a $gluegenmaster/javadoc.7z $dest/archive/gluegen-javadoc.7z cd $dest/javadoc echo "INFO: gluegen master gluegen-javadoc 7z" - # FIXME - ls -la ../archive/gluegen-javadoc.7z prom_extract ../archive/gluegen-javadoc.7z gluegen - # FIXME - pwd - ls -la cd $rootdir - # FIXME - pwd - ls -la joalslave=`prom_lslatest joal-b` bjoalslave=`prom_buildnumber_2 $joalslave` |