I am working on a plsql project (with a lot of stored procedure(SP)) hosted on my gitlab server, every SP is on a single file. I want create a new file on every build (using gitlab-ci) that contains the changes of the SP. My question is how can I get the list of the files with his status (new, delete or modified) between every build? Remember that I am running gitlab-ci with gitlab-runner, and the runner fetch the changes before that I have the chances of made a git diff.
Thanks.
UPDATE: Log from the build gitlab-ci
Using Shell executor...
Running on rsdesa11...
Fetching changes...
Removing Common/target/
Removing core/target/
Removing loader/target/
Removing model/target/
HEAD is now at 86266c3