# How to get available repository/commit parameters to pass to jenkins?

**URL:** <https://community.cloudogu.com/t/how-to-get-available-repository-commit-parameters-to-pass-to-jenkins/919>\
**Category:** SCM-Manager (General)\
**Created:** [September 28, 2022, 9:52am UTC](https://community.cloudogu.com/t/how-to-get-available-repository-commit-parameters-to-pass-to-jenkins/919 "2022-09-28T09:52:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![christoph.loose](https://dub1.discourse-cdn.com/flex013/user_avatar/community.cloudogu.com/christoph.loose/32/1400_2.png) [@christoph.loose](https://community.cloudogu.com/u/christoph.loose)\
**Post date:** [September 28, 2022, 9:52am UTC](https://community.cloudogu.com/t/how-to-get-available-repository-commit-parameters-to-pass-to-jenkins/919/1 "2022-09-28T09:52:08Z")

</div>

Recently we received an anonymous feedback via the feedback button (which will be discontinued and soon) in SCM-Manager. With the next release the button will be replaced with a footer link for feature requests.

**Question was:**

> How to get available repository/commit parameters to pass to jenkins? Sth like [repository.id](http://repository.id/) or commit.author.mail in doc, how to retrieve this attribute list that I can use?

**Answer:**  
for Jenkins build parameters you can use the repository and the commit. Please also note the inline comments

> <https://github.com/scm-manager/scm-jenkins-plugin/blob/7eefb89059b013be9bbc9892febc5de060fa101f/src/main/java/sonia/scm/jenkins/JenkinsRepositoryHookHandler.java#L191>

Here you can find all fields for:

Repository: [https://github.com/scm-manager/scm-el-plugin/blob/develop/src/main/java/com/cloudogu/scm/el/env/ImmutableEncodedRepository.java](https://github.com/scm-manager/scm-el-plugin/blob/develop/src/main/java/com/cloudogu/scm/el/env/ImmutableEncodedRepository.java)

Commit: [https://github.com/scm-manager/scm-el-plugin/blob/develop/src/main/java/com/cloudogu/scm/el/env/ImmutableEncodedChangeset.java](https://github.com/scm-manager/scm-el-plugin/blob/develop/src/main/java/com/cloudogu/scm/el/env/ImmutableEncodedChangeset.java)

---

<div class="post-metadata">

**Author:** ![christoph.loose](https://dub1.discourse-cdn.com/flex013/user_avatar/community.cloudogu.com/christoph.loose/32/1400_2.png) [@christoph.loose](https://community.cloudogu.com/u/christoph.loose)\
**Post date:** [December 27, 2022, 9:35am UTC](https://community.cloudogu.com/t/how-to-get-available-repository-commit-parameters-to-pass-to-jenkins/919/2 "2022-12-27T09:35:57Z")

</div>

I am closing this topic as there has been no activity for more than 30 days.
