Is there a way to promote a build when using Jenkins Workflow project? Snippet generator does not yet show promote as a generic build step or separate step?
Documentation says "Workflow is intended to supersede in part or in whole (Parameterized Trigger, Copy Artifact, Join, Promoted Builds, Build Pipeline, EnvInject, etc.)"
I want to distinguish good builds from bad builds (e.g. add a gold star based on results of tests). Is it possible to use "Promoted Build plugin" from workflow script? Alternatively is there a equivalent way to achieve similar goal of marking good builds from workflow script?