-
Bug
-
Resolution: Unresolved
-
Minor
-
Jenkins 2.89.4
The input step in declarative pipeline (JENKINS-48379) cannot access the environment blocks. Thus, dynamic data (e.g. version number) cannot be used in the input dialog. Also defining options in the input and checking the result requires redundant values, because they cannot be reused.
- Access to $JOB_NAME and ${env.JOB_NAME} is working.
- Access to $myVar is not working. It leads to a "no such property" exception. It doesn't matter if the variable is declared in the global or stage-local environment block.
- Access to ${env.myVar} is not working. The value is null. It doesn't matter if the variable is declared in the global or stage-local environment block.
- relates to
-
JENKINS-48379 Input/parameters for Stages
- Closed