...
On the packaging branch, find the commitID prior to when the archive file was modified.
This commit containing the modified archive file should be present in the log in the section PACKAGING ORDER FOR COMMIT FILES.
Look in SCM commit history or use ‘git log’ to find the commit prior to the archive file commit.
Rename the existing packaging branch to eg. <branch>-archive. Instructions:
Code Block git checkout <branch> git branch -m <branch>-archive git push origin -u <branch>-archive git push origin --delete <branch>
Create a new git branch from the commitID found in step 1. Use the original branch name. Instructions:
Code Block git checkout <branch>-archive git checkout -b <branch> <commit_id_prior_to_commit_where_archive_file_was_modified> git push origin -u <branch>
You should not need to update the deployPackager.properties <branch>.sqlScmLastImportID as you do in Method 1. That commitID should still be present in the branch you’ve just created.
Run a Packaging job. It should be successful now where no changes were found to package.
Any SQL file changes made after the commitID will no longer be in the branch. They will needed to be added back. The <branch>-archive branch should be available for reference.
...