Cannot define variable in pipeline stage

The Declarative model for Jenkins Pipelines has a restricted subset of syntax that it allows in the stage blocks – see the syntax guide for more info. You can bypass that restriction by wrapping your steps in a script { ... } block, but as a result, you’ll lose validation of syntax, parameters, etc within the script block.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)