Hi,
I have a project using TMS320F280049C microcontroller built in CCSv1040. I am now trying to setup a Jenkins pipeline to set up a CI/CD server. I was originally having trouble building the project through Jenkins but changing the write rights on the folder resolved that issue. Now even though my project is building, the Jenkins build is failing because of this error:
"Unable to init server: Could not connect: Connection refused
Eclipse: Cannot open display:
Eclipse:
An error has occurred. See the log file"
Below you can see that the project is building without any errors:
+ /home/cicdserver/ti/ccs1040/ccs/eclipse/eclipse -noSplash -data /home/cicdserver/workspaces/workspace_temp -application com.ti.ccstudio.apps.projectBuild -ccs.projects sw20200507 -ccs.configuration CPU1_FLASH -ccs.listErrors %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% CCS headless build starting... [Tue Dec 07 16:56:04 CET 2021] %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ================================================================================ Pre processing... ================================================================================ Building... **** Build of configuration CPU1_FLASH for project sw20200507 **** /home/cicdserver/ti/ccs1040/ccs/utils/bin/gmake -k -j 4 all -O gmake[1]: 'sw20200507.out' is up to date. gmake[1]: Nothing to be done for 'secondary-outputs'. **** Build Finished **** ================================================================================ -------------------------------------------------------------------------------- Errors for project 'sw20200507' (0): ================================================================================ CCS headless build complete! 0 out of 1 projects have errors. Unable to init server: Could not connect: Connection refused Eclipse: Cannot open display: Eclipse: An error has occurred. See the log file /home/cicdserver/workspaces/workspace_temp/.metadata/.log. Build step 'Execute shell' marked build as failure New run name is '#40' Finished: FAILURE
Can anyone please help with this?