I have a Jenkins job that takes environment name as a parameter. On another site/dashboard, I would like to create links to this Jenkins job. But the link should pre-populate the parameter based on where it was clicked from.
Something like this,
<a href="https://jenkins/<someJenkinsAPI>?ENV=env1">env1</a>
<a href="https://jenkins/<someJenkinsAPI>?ENV=env2">env2</a>
Is this possible?