headless build randomly performing a Clean-only build

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

headless build randomly performing a Clean-only build

1,650 次查看
Daniel_qwertyuiop
Contributor I

we are running a headless build in our CI/CD pipeline (Azure Devops).  90% of the time, mcuxpresso performs the correct build (e.g. myproject\debug), but for some reason 10% of the time it decides to perform a Clean-only build.  We are not asking for a clean-only build, and there is nothing in the build configuration that asks for a clean-only build.  It is really interesting in that I can run the exact same command multiple times and mcuxpresso randomly decides upon a clean-only build 10% of the time.  Nothing changes between each command execution.

here is the powershell script we are using in the Azure Devops pipeline:

$toolpath = (Resolve-Path "C:\NXP\MCUXpressoIDE*\ide\tools\bin").Path
$exepath = (Resolve-Path "C:\NXP\MCUXpressoIDE*\ide\mcuxpressoidec.exe").Path
$env:PATH += $toolpath
$buildArgs = "-nosplash --launcher.suppressErrors -application org.eclipse.cdt.managedbuilder.core.headlessbuild -data C:\\nxp_workspace -build special_project/Debug"
Start-Process -FilePath $exepath -NoNewWindow -Wait -ArgumentList $buildArgs

Here is the erroneous output (performing clean-only build):

00:13:45 **** Clean-only build of configuration Debug for project dishiq_display ****
make -r -j12 clean
make: *** No rule to make target 'clean'. Stop.
"make -r -j12 clean" terminated with exit code 2. Build might be incomplete.
 
00:13:45 Build Failed. 1 errors, 0 warnings. (took 243ms)
 
Mcuxpressoidec:
An error has occurred. See the log file
C:\nxp_workspace\.metadata\.log.
标记 (2)
0 项奖励
回复
1 回复

1,627 次查看
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @Daniel_qwertyuiop,

Are you using the latest release version of MCUXpresso? If not, could you please try using MCUXpresso 24.12.00?

0 项奖励
回复