diff options
author | Sven Gothel <[email protected]> | 2011-09-17 10:59:49 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-09-17 10:59:49 +0200 |
commit | 5cc9125594e1a287e3b57b8090251e63b17a26fc (patch) | |
tree | e19f037460ea0c7d769d548e41ee84c90e807c6c /jenkins-builds/funcs_promotion.sh | |
parent | 90f17cc5f9ebb56e12ee1d92815b8db320373f46 (diff) |
Copy resources folder [content] if exists
Diffstat (limited to 'jenkins-builds/funcs_promotion.sh')
-rwxr-xr-x | jenkins-builds/funcs_promotion.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/jenkins-builds/funcs_promotion.sh b/jenkins-builds/funcs_promotion.sh index 0851f57..94fc023 100755 --- a/jenkins-builds/funcs_promotion.sh +++ b/jenkins-builds/funcs_promotion.sh @@ -22,6 +22,7 @@ function prom_setup() { mkdir $ldest/javadoc mkdir $ldest/jnlp-files mkdir $ldest/log + mkdir $ldest/resources mkdir $ldest/tmp cd $lthisdir @@ -222,6 +223,9 @@ function prom_promote_module() { fi done cp -av $zfolder/jnlp-files/* ./jnlp-files/ + if [ -e $zfolder/resources ] ; then + cp -av $zfolder/resources/* ./resources/ + fi cd $lthisdir } @@ -267,6 +271,9 @@ function prom_promote_demos() { cp -av tmp/$zfolder/jar ./$module/ cp -av tmp/$zfolder/jnlp-files ./$module/ cp -av tmp/$zfolder/www ./$module/ + if [ -e tmp/$zfolder/resources ] ; then + cp -av tmp/$zfolder/resources ./$module/ + fi cd $lthisdir } |