nasa/opera-sds-pge

[Bug]: Release Pipeline post steps break when publishing Sphinx docs

RKuttruff opened this issue · 1 comments

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 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.

Environment

https://opera-pge-ci.jpl.nasa.gov/

Fixed by #470