I committed few changes to GIT, Only these changes should deploy to production by using jenkins.
Asked
Active
Viewed 42 times
-3
-
Could you please tell, what you are building and how you deploy? – Michael Sep 15 '18 at 05:27
-
@Michael I have some 100 files in my GIT and i changed only 2 files out of that so now i want to deploy only those 2 files to production not remaining 98 files.. I'm building through the jenkins – Tark Sep 22 '18 at 13:19
1 Answers
0
I guess you could build some script using git diff
or git log
as suggested in this answer to get a list of changed files and then iterate through it to upload or delete changed files.

Michael
- 2,443
- 1
- 21
- 21