Description
Jenkins and plugins versions report
When triggering the job using issueCommentTrigger all existing parameters are getting removed and only the new ones are visible.
Lines that are probably introducing this behaviour are:
Environment:
Jenkins 2.361.3
Pipeline: GitHub -> Version2.8-141.7e985db66f30
What Operating System are you using (both controller, and any agents involved in the problem)?
N/A
Reproduction steps
Create a job with any parameters.
Trigger the job via a comment.
Navigate to Parameters for the Job that started.
Expected Results
You should see the existing parameters of the Job with the default values as defined in the job. (In my case it is declarative job so those are defined in Jenkinsfile)
Actual Results
The only parameters that you will see are: GITHUB_COMMENT
and GITHUB_COMMENT_AUTHOR
Existing parameters have been removed.
Anything else?
ebc7956
This commit is aiming to add environment variables (commit name is: expose comments as env variables) but it instead add parameters.