Really add common exclusion for manuals repos
*/source/common/* will only match one path element either side, so we need to open the glob a little wider to match correctly. It also appears that the other manuals repos also have source/common as a symlink, so remove the openstack-manuals guard. Change-Id: Id6e883ec388d9d5f6d471fa8b23f8e3f2ed1885a
This commit is contained in:
parent
54623edd2c
commit
b15242b47c
@ -194,12 +194,9 @@ function setup_manuals {
|
||||
done
|
||||
# While we spin up, we want to not error out if we can't generate the
|
||||
# zanata.xml file.
|
||||
EXCLUDE='.*/**'
|
||||
if [ "$project" = "openstack-manuals" ]; then
|
||||
EXCLUDE='.*/**,*/source/common/*'
|
||||
fi
|
||||
EXCLUDE='.*/**,**/source/common/**'
|
||||
if ! /usr/local/jenkins/slave_scripts/create-zanata-xml.py -p $project \
|
||||
-v master --srcdir . --txdir . $ZANATA_RULES -e $EXCLUDE \
|
||||
-v master --srcdir . --txdir . $ZANATA_RULES -e "$EXCLUDE" \
|
||||
-f zanata.xml; then
|
||||
echo "Failed to generate zanata.xml"
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user