2020-12-21 10:23 AM
Hello,
Has anyone successfully implemented headless builds for SPC5 studio?
I am looking for information on this with the intent on creating a docker image to build new binaries at each commit with the usage of bitbucket pipelines. Any assistance would be greatly appreciated.
Nick
Solved! Go to Solution.
2021-01-04 08:19 AM
Hello Nick ,
for Headless build, we are using rcptt : RCP testing Tool with SPC5Studio (5.8.1 or 6.0)
https://www.eclipse.org/rcptt/
Plugged with Jenkins CI
Best Regards
Erwan
2021-01-04 08:19 AM
Hello Nick ,
for Headless build, we are using rcptt : RCP testing Tool with SPC5Studio (5.8.1 or 6.0)
https://www.eclipse.org/rcptt/
Plugged with Jenkins CI
Best Regards
Erwan
2021-01-07 08:07 AM
Can you be more specific with why we need the RCPTT I have inconsistently got this to work in python because that comment doesn't help me much
exe_path = 'C:/SPC5Studio/eclipse'
return_value = os.popen(exe_path + ' --launcher.suppressErrors -nosplash -application org.eclipse.cdt.managedbuilder.core.headlessbuild -data "c:\cubeide_headlessBuilds" -import "%cd%" -build *').read()
2021-01-07 08:56 AM
I have tried creating this in a batch file with no luck could you provide better documentation for me to follow I am trying to build over Jenkins as well
C:/SPC5Studio/eclipse/SPC5Studio.exe --launcher.suppressErrors -nosplash -application org.eclipse.cdt.managedbuilder.core.headlessbuild -data "c:\spc5_headlessBuilds" -import "%cd%" -build *
2021-01-07 09:08 AM
This works, but I am unable to see any warnings / messages /etc. More important if build fails but atleast a start point for anyone trying to do the same