When running the release pipeline configured to build & publish Sphinx docs, the post always steps fail on invocation of the .ci/scripts/util/cleanup.sh script, indicating no such file or directory. I suspect this is caused by the git step in the Push OPERA PGE HTML documentation to GitHub Pages stage switching the branch of the working dir to gh-pages which lacks the .ci directory.
What did you expect?
I expected the pipeline to run the post steps, cleanup the built images and conda environment, and exit successfully.
Reproducible steps
Run either the release pipeline or the sandbox pipeline on the release Jenkinsfile with the `PUBLISH_DOCS` parameter checked.
Checked for duplicates
Yes - I've already checked
Describe the bug
When running the release pipeline configured to build & publish Sphinx docs, the post always steps fail on invocation of the
.ci/scripts/util/cleanup.sh
script, indicating no such file or directory. I suspect this is caused by thegit
step in thePush OPERA PGE HTML documentation to GitHub Pages
stage switching the branch of the working dir togh-pages
which lacks the.ci
directory.What did you expect?
I expected the pipeline to run the post steps, cleanup the built images and conda environment, and exit successfully.
Reproducible steps
Environment