Spinnaker keeps showing disabled stages in Jenkins pipeline UI
I was not able to find how to hide a stage, however I found one can skip it using stageEnabled [1].
It takes a Spring Language Expression like so:
{
  &quot;stageEnabled&quot;: {
    &quot;expression&quot;: &quot;false&quot;, // you can also use SpEL, e.g. ${someBoolean}
    &quot;type&quot;: &quot;expression&quot;
  },
  &quot;completeOtherBranchesThenFail&quot;: true,
  &quot;continuePipeline&quot;: false,
  &quot;failPipeline&quot;: false,
  &quot;parameters&quot;: {
    &quot;FOO&quot;: &quot;bar&quot;
  },
  &quot;type&quot;: &quot;jenkins&quot;
}

Or from the UI editor: Execution Options &gt; Conditional on Expression &gt; Enter false [2].

https://docs.armory.io/docs/spinnaker-user-guides/using-dinghy/#stage-fields
https://spinnaker.io/guides/user/pipeline/expressions/#dynamically-skip-a-stage