Yes, of the four different environment scripting options available in Domino, the pre-run script can be used to check the contents of a repo attached to a Domino project.
Here is a quick example pre-run script that goes into an attached repo, lists it contents, and checks the status of git:
echo "@@@@@ Pre Run Script @@@@@"
cd /repos/quick-start
ls -la
git status
For a git-based project, this just requires a change to the directory, such as:
echo "@@@@@ Pre Run Script @@@@@"
cd /mnt/code
ls -la
git status
If you have a need to validate files in a repo, target the pre-run script for your checks.
Comments
0 comments
Please sign in to leave a comment.