Timofei Sablin

Systems engineer with observability enthusiasm

Jenkins input()'s semantics

Jenkins can be quite tricky when you need to define conditional logic within the dsl, but not specifically in script {} block. The latter allows for any plain groovy code, so that’s quite easy. But sometimes you need team interaction; in such cases it’s useful to resort to the input() method.