Jenkins pipeline check if param exists. How can I skip a stage if the agent is offline? 2.