Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .jenkins/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,14 @@ if [[ "${JOB_TYPE}" == "worker" ]]; then
# Step 4: If any of the generated files are not related the tutorial files we want to run,
# then we remove them
set +x
for filename in $(find docs/beginner docs/intermediate docs/advanced docs/recipes docs/prototype -name '*.html'); do
for filename in $(find docs/beginner docs/intermediate docs/advanced docs/recipes docs/unstable -name '*.html'); do
file_basename=$(basename $filename .html)
if [[ ! " ${FILES_TO_RUN} " =~ " ${file_basename} " ]]; then
echo "removing $filename"
rm $filename
fi
done
for filename in $(find docs/beginner docs/intermediate docs/advanced docs/recipes docs/prototype -name '*.rst'); do
for filename in $(find docs/beginner docs/intermediate docs/advanced docs/recipes docs/unstable -name '*.rst'); do
file_basename=$(basename $filename .rst)
if [[ ! " ${FILES_TO_RUN} " =~ " ${file_basename} " ]]; then
echo "removing $filename"
Expand All @@ -102,14 +102,14 @@ if [[ "${JOB_TYPE}" == "worker" ]]; then
rm $filename
fi
done
for filename in $(find docs/_sources/beginner docs/_sources/intermediate docs/_sources/advanced docs/_sources/recipes -name '*.rst.txt'); do
for filename in $(find docs/_sources/beginner docs/_sources/intermediate docs/_sources/advanced docs/_sources/recipes docs/_sources/unstable -name '*.rst.txt'); do
file_basename=$(basename $filename .rst.txt)
if [[ ! " ${FILES_TO_RUN} " =~ " ${file_basename} " ]]; then
echo "removing $filename"
rm $filename
fi
done
for filename in $(find docs/.doctrees/beginner docs/.doctrees/intermediate docs/.doctrees/advanced docs/.doctrees/recipes docs/.doctrees/prototype -name '*.doctree'); do
for filename in $(find docs/.doctrees/beginner docs/.doctrees/intermediate docs/.doctrees/advanced docs/.doctrees/recipes docs/.doctrees/unstable -name '*.doctree'); do
file_basename=$(basename $filename .doctree)
if [[ ! " ${FILES_TO_RUN} " =~ " ${file_basename} " ]]; then
echo "removing $filename"
Expand Down