Thanks Eyal and Mark for responses. I am using Maven project in Jenkins.

As Mark mentioned, I used Git publisher plugin to do so. And used following 
git commit command under Post Steps section in Jenkins:
git commit -am "pushed from jenkins workspace"


On Tuesday, March 19, 2019 at 6:16:32 PM UTC+5:30, homo.sap...@gmail.com 
wrote:
>
> Hi Everybody,
>
> Using Jenkins, how to commit and push a code from local workspace 
> (Windows) to Git Branch after every build executed in Jenkins
>

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to