Hello,
I am planning to have an automated build/test pipeline set up for our Genero BDL projects
soccer skills world cup.
Our Genero Studio setup is using Debian Linux as backend server.
How can I trigger a project clean/build/rebuild via command line on the Linux side?
The idea is to combine this with svn so that after each commit, and automated build and deploy/test cycle is started.
Unfortunately I was not able to find any hint in the doc until now, so thanks for your help.
Best Regards,
Hajo
Locate the post-commit hook script for your SVN repository. It's typically found in the .svn/hooks directory of your repository root.
If the file doesn't exist, create it with the following name: post-commit (without the .sh extension).
Edit the post-commit script using a text editor:
#!/bin/sh
# Specify the directory containing your Genero BDL project (adjust as needed)
PROJECT_DIR="/path/to/your/genero/project"
# Navigate to the project directory
cd "$PROJECT_DIR"
# Run your specific Genero BDL build/test commands
# Replace this example with your actual commands
make clean all test
# (Optional) Send notifications or logs (e.g., using email or logging tools)
# ...
exit 0
Make the script executable:
chmod +x .svn/hooks/post-commit