I am working on a declarative pipeline which it is scheduled to run everyday after a certain time to shutdown an environment when not used (and restart it the morning after). However, sometimes tests need to be run on that environment and therefore I would like to have an option which allows to stop the pipeline from shutting down the env for that day... Does anyone knows how this would be possible?
This is the first time I work with jenkins so I am quite clueless at the moment. Thanks in advance.