Skip to main content
NMazz.1
Associate
December 21, 2020
Solved

CI Build Options

  • December 21, 2020
  • 1 reply
  • 1263 views

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 topic has been closed for replies.
    Best answer by Erwan YVIN

    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

    1 reply

    Erwan YVIN
    Erwan YVINBest answer
    ST Employee
    January 4, 2021

    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

    NMazz.1
    NMazz.1Author
    Associate
    January 7, 2021

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