Does the command line you are using in Jenkins match exactly to what you
are running in Jenkins? Are you using a Jenkinsfile? The argument looks
more like a bash variable specification than one that would run in cmd.exe.

On Mon, Jul 18, 2022 at 3:42 PM Faisal Tariq <[email protected]> wrote:

> Hello,
>
> I would like to know who all are using IAR EWARM to build on Jenkins
> without any issues?  Please read on to see my issue.
>
> I am running an IAR IDE build script to build an example file. When I run
> it locally through a Windows “cmd” screen, it evokes IAR IDE and does a
> build successfully. However, when I run the same script through Jenkins I
> get an error message, as follows:
>
> The unknown argument variable “${CMSIS_PACK_PATH_Maxim#MAX32670#1.0.3}$”
> was encountered while loading the project
> “C:\IAR_Examples\MAX32670_Example_TEST\DMA\IAR\DMA.ewp”.
>
> The above path is where the pack gets installed. Has anyone encountered
> anything similar where the script runs fine in Windows “cmd” screen, but
> fails when evoked through Jenkins?
>
> Also, this may not be related, but the complete error message was as
> follows with the SLF4J: in both cases (i.e. in Windows Cmd screen and
> Jenkins). However the one that I ran through cmd did not complain about the
> $(CMSIS_PACK_PATH… and built successfully.
>
> SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder”.
> SLF4J: Defaulting to no-operation (NOP) logger implementation
> SLF4J: See SLF4J Error Codes
> <http://www.slf4j.org/codes.html#StaticLoggerBinder> for further details.
> The unknown argument variable “${CMSIS_PACK_PATH_Maxim#MAX32670#1.0.3}$”
> was encountered while loading the project
> “C:\IAR_Examples\MAX32670_Example_TEST\DMA\IAR\DMA.ewp”.
>
> Thank you all in advance. Please let me know if you need any additional
> information.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/0f65d2f1-aea9-40dc-9a2f-8c92d6e8a9a6n%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/0f65d2f1-aea9-40dc-9a2f-8c92d6e8a9a6n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Website: http://earl-of-code.com

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVdWKaELY-%2BakhKByezduBGHb8P0toMLiJEjCapGgiKYKQ%40mail.gmail.com.

Reply via email to