I'm currently working on setting up pipelines for an embedded c project. I've got a working pipeline set up using GCC already but now must set up a similar pipeline using the linux version of iar build tools (bxarm)
I've got a custom docker image set up with all the required configurations, and a .yml file to load the docker image, and run the iarbuild command. Where I'm getting stuck is that while I can successfully build in my docker container locally, if I try running the same command in bitbucket my build hangs forever until I kill it.
Can anybody think of a reason why a script would work successfully in a local docker container but not on bitbucket's environment? I'm rather stumped.
See the output from bitbucket pipeline. It almost seems like the command is missing a return key or is waiting on something to continue. I've uploaded a screenshot of what happens when I run the same command on my local docker container.
iarbuild Firmware/platform/lmswdm/lmsw105.ewp -build "Release-For-Bootloader" -log all
IAR Command Line Build Utility V8.4.11.7092/LNX
Copyright 2002-2020 IAR Systems AB.
Building configuration: lmsw105 - Release-For-Bootloader
Updating build tree...
0 file(s) deleted.
Updating build tree...
adc.c
iccarm /opt/atlassian/pipelines/agent/build/Firmware/platform/lmswdm/adc.c -D NDEBUG -D BOOTLOADED -D STM32F072 -D USE_STDPERIPH_DRIVER -D HSE_VALUE=3686400 -D LM_DEVICE_TYPE=15 --diag_suppress Pe550 -o /opt/atlassian/pipelines/agent/build/Firmware/platform/lmswdm/Release-For-Bootloader/Obj --no_cse --no_unroll --no_inline --no_code_motion --no_tbaa --no_clustering --no_scheduling --debug --endian=little --cpu=Cortex-M0 -e --fpu=None --dlib_config /opt/iarsystems/bxarm-8.50.9/arm\inc\c\DLib_Config_Normal.h -I /opt/atlassian/pipelines/agent/build/Firmware/platform/lmswdm/ -I /opt/atlassian/pipelines/agent/build/Firmware/platform/lmswdm\..\..\library\utils/ -I /opt/atlassian/pipelines/agent/build/Firmware/platform/lmswdm\..\..\library\lmswdm/ -I /opt/atlassian/pipelines/agent/build/Firmware/platform/lmswdm\..\..\library\lmrc/ -I /opt/atlassian/pipelines/agent/build/Firmware/platform/lmswdm\..\..\library\irb/ -I /opt/atlassian/pipelines/agent/build/Firmware/platform/lmswdm\..\..\driver\stm32f0xx/ -I /opt/atlassian/pipelines/agent/build/Firmware/platform/lmswdm\..\..\driver\stm32f0xx\cmsis/ -On --require_prototypes -I /opt/iarsystems/bxarm-8.50.9/arm\CMSIS\Core\Include\ -I /opt/iarsystems/bxarm-8.50.9/arm\CMSIS\DSP\Include\
Here's my .yml file:
Hello @Tyler Jones
Welcome to the Jira Community.
As your question concerns Bitbucket rather than Jira, you might have more luck getting help if you post it in the Bitbucket Community.
https://community.atlassian.com/t5/Bitbucket-questions/qa-p/bitbucket-questions
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.