# Add additional gitparameter using groovy script

**URL:** <https://community.jenkins.io/t/add-additional-gitparameter-using-groovy-script/4186>\
**Category:** Using Jenkins\
**Tags:** question\
**Created:** [October 17, 2022, 9:13am UTC](https://community.jenkins.io/t/add-additional-gitparameter-using-groovy-script/4186 "2022-10-17T09:13:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gentitope](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/gentitope/32/2504_2.png) [@gentitope](https://community.jenkins.io/u/gentitope)\
**Post date:** [October 17, 2022, 9:13am UTC](https://community.jenkins.io/t/add-additional-gitparameter-using-groovy-script/4186/1 "2022-10-17T09:13:18Z")

</div>

I’ve got a set of groovy scripts shared library to dynamically sets git parameter properties based on multiples repositories. I haven’t been able to figure out how to preserve the existing git parameters for each steps in the pipeline stage.  
I need help to preserve the existing git parameter and append or add new git parameter based on the name of the repositories.
