Merge "Exclude dir to prevent change-while-read error"

This commit is contained in:
Jenkins 2017-04-05 08:03:53 +00:00 committed by Gerrit Code Review
commit 881709a794

View File

@ -40,13 +40,13 @@
- zuul-git-prep
- shell: |
#!/bin/bash -xe
tar cvfz {name}.tar.gz --exclude .git .
mkdir dist
tar cvfz dist/{name}.tar.gz --exclude dist --exclude .git .
/usr/local/jenkins/slave_scripts/version-properties.sh
source version.properties
mkdir dist
mv {name}.tar.gz dist/{name}-$PROJECT_VER.tar.gz
mv dist/{name}.tar.gz dist/{name}-$PROJECT_VER.tar.gz
publishers:
- tarball