Modified files after each build

setu.sin created the topic: Modified files after each build
Hi All,

I need to send the modified files to an external API after each build in jenkins. I can see the recently changed files in jenkins that pulls from git commit but can you please tell me where it is stored so that i can use that to push the info to another release management tool we have.

Thanks

rajeshkumar replied the topic: Modified files after each build
Question is not very much clear or you are lacking in understanding of How git works? When you say modified file, means the modification is being done in jenkins workspace as part of build process or Latest changes which was checked out by Jenkins from git??? Need to elaborate more the scnario
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

setu.sin replied the topic: Modified files after each build
Hi Rajesh,

With each build, there are some code changes checked into git. After i run a build, i get the list of those code changes by clicking on recent changes which shows the commits that were performed prior to this build. I need to display this change on another tool so I am trying to understand where these changeset it stored so that i can pass it as a string to the release management tool API.

Thanks

rajeshkumar replied the topic: Modified files after each build
Jenkins store the last checked out code. Post build, jenkins “Recent Changes” section with the help of git plugins display the output of

git log [first]..[second] –pretty=oneline

[first] and [second] can be SHA’s, branches or tags.
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

rajeshkumar replied the topic: Modified files after each build
Jenkins store the last checked out code. Post build, jenkins “Recent Changes” section with the help of git plugins display the output of

git log [first]..[second] –pretty=oneline

[first] and [second] can be SHA’s, branches or tags.
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

Tagged :
0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x