Title: Automated project build Post by: Hans-Joachim K. on September 27, 2023, 01:12:25 pm Hello,
I am planning to have an automated build/test pipeline set up for our Genero BDL projects. 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 Title: Re: Automated project build Post by: Reuben B. on September 27, 2023, 11:34:04 pm Have a look at "gsmake"
http://4js.com/online_documentation/fjs-gst-manual-html/#gst-topics/c_gst_projectmgr_gsmake.html Reuben Title: Re: Automated project build Post by: Hans-Joachim K. on September 28, 2023, 11:01:51 am Hi Reuben,
thank you very much, that was exactly what I was looking for. I had found fglcomp and fgllink in the BDL manual, but missed to check the Studio doc. Best Regards, Hajo Title: Re: Automated project build Post by: Thomas V. on March 07, 2024, 10:17:19 am Hello, I am planning to have an automated build/test pipeline set up for our Genero BDL projects soccer skills world cup (https://soccerskillsworldcup.com). 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 Title: Re: Automated project build Post by: Hans-Joachim K. on March 07, 2024, 10:38:30 am Hi Thomas,
perfect, thank you very much for your hint. This matches nicely, we are also still using SVN for our projects. Best Regards, Hajo |