C:/Freescale/CW MCU v10.2/MCU/ARM_Tools/Command_Line_Tools/mwccarm|Compiler|Warning
(C:\jenkins\workspace\PointColourWindowsBuild\point-colour\Sources\port\mqx\MqxUsbDescriptor.c|432|19|1|16759|1)
= uint_32 handle,
>variable / argument 'handle' is not used in function
C:/Freescale/CW MCU v10.2/MCU/ARM_Tools/Command_Line_Tools/mwccarm|Compiler|Warning
(C:\jenkins\workspace\PointColourWindowsBuild\point-colour\Sources\port\mqx\MqxI2C.c|163|15|1|4665|1)
= return(error);
>implicit arithmetic conversion from 'unsigned long' to 'unsigned char'
C:/Freescale/CW MCU v10.2/MCU/ARM_Tools/Command_Line_Tools/mwccarm|Compiler|Warning
(C:\jenkins\workspace\PointColourWindowsBuild\point-colour\Sources\port\mqx\MqxI2C.c|176|15|1|4977|1)
= return(error);
>implicit arithmetic conversion from 'unsigned long' to 'unsigned char'
[CodeWarrior] Sleeping for 5 seconds due to JENKINS-32191...
[CodeWarrior] Parsing console log (workspace: 'C:\jenkins\workspace\PointColourWindowsBuild')
[CodeWarrior] Attaching ResultAction with ID 'metrowerks' to run 'PointColourWindowsBuild #15'.
[CodeWarrior] Using reference build 'PointColourWindowsBuild #14' to compute new, fixed, and outstanding issues
[CodeWarrior] Issues delta (vs. reference build): outstanding: 0, new: 0, fixed: 0
[CodeWarrior] No quality gates have been set - skipping
[CodeWarrior] Health report is disabled - skipping
[CodeWarrior] Created analysis result for 0 issues (found 0 new issues, fixed 0 issues)
Am 04.03.2019 um 17:38 schrieb 'Gavin Nottage' via Jenkins Users <jenkins...@googlegroups.com>:
Thanks for your advice Ullrich.Digging into the project options I have managed to get it to output the warnings in gcc format, which are picked up!For anyone reading this in the years to come (which could be me, or a member of my team), I needed to define -msgstyle gcc -nowraplines as other flags in the mwccarm compiler and again for the mwldarm linker. This overwrites the default parseable msgstyle in each .args file (which is generated from the project for each source file). This is using the console log rather than a file for reporting.
--
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 jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/b71f6abc-441a-4bc0-bc0f-4230890becb1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Am 07.03.2019 um 13:10 schrieb Gavin Nottage <gavinn...@gmail.com>:I started to work on adding the help text as suggested, but have got very confused. I'm an embedded C programmer and while Java is mostly understandable, I haven't found a suitable guide for contributing to existing plugins. I have some experience with git, but Maven is all new to me. Whatever I try to do I get errors that mean nothing to me like:mvn hpi:run
[INFO] Scanning for projects...
[WARNING] The POM for org.jenkins-ci.tools:maven-hpi-plugin:jar:2.7 is missing, no dependency information available
[WARNING] Failed to build parent project for io.jenkins.plugins:warnings-ng:hpi:4.0.0-SNAPSHOT
I think I know the code change to make, but cannot build or test it. The addition I think is needed is as below, and I've attached the complete file. If this is good then it can be added...Thanks for all the efforts of the developers, if a good webpage could walk though going from nothing to building and testing a plugin, that would be really helpful.@Override
public String getHelp() {
return "<p><p>Ensure that the output from the CodeWarrior build tools is in the expected format. If there are warnings present, but they are not found, then it is likely that the format is incorrect. The mwccarm compiler and mwldarm linker tools may support a configurable message style. This can be used to enforce the expected output format, which may be different from Metrowerks CodeWarrior (and thus require a different tool). For example the following could be appended to the build flags:</p>"
+ "<p><code>-msgstyle gcc -nowraplines</code></p></p>";
}
--
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 jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/580f12cb-1ded-4ea8-8b90-fec5f27cbc1c%40googlegroups.com.
<MetrowerksCodeWarrior.java>