cancel
Showing results for 
Search instead for 
Did you mean: 

CI Build Options

NMazz.1
Associate II

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

This discussion has been locked for participation. If you have a question, please start a new topic in order to ask your question
1 ACCEPTED SOLUTION

Accepted Solutions
Erwan YVIN
ST Employee

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

https://www.jenkins.io/

Best Regards

Erwan

View solution in original post

4 REPLIES 4
Erwan YVIN
ST Employee

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

https://www.jenkins.io/

Best Regards

Erwan

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()

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 *

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