Let’s define a script variable with name MY_FIRST_SHARED_VAR with value 'testValue' and run the below code:

logger.info("My variable has a value: " + MY_FIRST_SHARED_VAR)
GROOVY

You should see the log with content:

INFO - My variable has a value: testValue
GROOVY

Now let’s define a variable with name NO_RETRIES with value '5' and run the below code:

NO_RETRIES + 10
GROOVY

The result will be 510 (string concatenation), rather than 15.