cancel
Showing results for 
Search instead for 
Did you mean: 

running headless-build.bat in azure devops using a build agent

ptiwa.1
Associate

hi,

i am trying to run this headless-build batch file in azure devops as CI pipeline set up (my agent is local build agent)

i am facing error - project name not found

please check my below syntax and help me

cd C:\ST\STM32CubeIDE_1.3.0\STM32CubeIDE

call .\headless-build.bat -project KoolKey_2.0 -workspace C:/myworkspace -build -console

above 2 lines of code i have as Compile.bat file and running this in azure devops

below error i am getting

2 REPLIES 2
ptiwa.1
Associate

Error message attached

Fabster
Associate II

Hey

Maybe that doesn't help in your specific case, but i saw your thread when searching for existing docker images to build STM32 projects in Azure DevOps and it may help somebody. Since i didn't found any working solution for my case, i built a docker image with the complete STM32CubeIDE in it. You can find it here with some working yaml examples for Azure DevOps.