[Bug]: Jenkins release pipeline fails when not publishing docs #570
Labels
bug
Something isn't working
needs triage
Bug report that requires triage
pge.sprint.r06.05
Sprint 05 for PGE Release 06
Checked for duplicates
Yes - I've already checked
Describe the bug
The PGE release pipeline in Jenkins current reports failure when run with the "Publish docs" option deselected. This is because by default the pipeline will attempt to delete the conda environment we create to install sphinx, but this environment is only created when "Publish docs" is enabled. All deployment steps prior to cleanup succeed though, so this bug is more of a nuisance than any kind of blocker.
What did you expect?
When the deployment pipeline is running the cleanup phase, it should take into account the setting of the
PUBLISH_DOCS
Jenkins variable and only conditionally attempt to delete the sphinx conda env.Reproducible steps
Environment
The text was updated successfully, but these errors were encountered: