Re: How to publish cppcheck results in a pipeline?

2021-03-25 Thread Ullrich Hafner
Yes, this is definitely not XML :-) This is the stderr of your program! 2 > cppcheck.xml pipes your stderr to a file. You do not need this part. > Am 25.03.2021 um 20:08 schrieb jesus fernandez : > > so it seems like if it basically is writting all the outputs the cmd throws > > El jueves, 25

Re: How to publish cppcheck results in a pipeline?

2021-03-25 Thread jesus fernandez
so it seems like if it basically is writting all the outputs the cmd throws El jueves, 25 de marzo de 2021 a las 20:07:20 UTC+1, jesus fernandez escribió: > the supposely .xml does not have any format, these are the first 5 lines: > Checking E:\Source\Game\AchievementManager.cpp ... > > Checking

Re: How to publish cppcheck results in a pipeline?

2021-03-25 Thread jesus fernandez
the supposely .xml does not have any format, these are the first 5 lines: Checking E:\Source\Game\AchievementManager.cpp ... Checking E:\Source\Game\AchievementManager.cpp: APP_STEAM;FINAL_RELEASE;_DEBUG... Checking E:\Source\Game\AchievementManager.cpp: APP_STEAM;NEED_AOE1DE_ACHIEVEMENT_TEST;_DE

Re: How to publish cppcheck results in a pipeline?

2021-03-25 Thread Ullrich Hafner
If you can’t check on your own if the file contains valid XML can you please show the first 5 lines of the XML file here? > Am 25.03.2021 um 19:36 schrieb jesus fernandez : > > I thought the ```bat'cppcheck "E:/Source" --force — enable=all — > inconclusive — xml — xml-version=2 . 2 > cppcheck.

Test Results Aggregator error message

2021-03-25 Thread webde...@gmail.com
Hey, all, Found this error in the System Log and I'm unsure how to resolve. This is a follow-up to this issue I mentioned earlier: https://groups.google.com/u/1/g/jenkinsci-users/c/kNbAmi85ZI8 Error Message: falling back to default instantiation com.jenkins.testresultsaggregator.data.Data {

Re: How to publish cppcheck results in a pipeline?

2021-03-25 Thread jesus fernandez
I thought the ```bat'cppcheck "E:/Source" --force — enable=all — inconclusive — xml — xml-version=2 . 2 > cppcheck.xml'``` command does genearate a valid xml. is it a matter of missing parameters or a matter of having to parse the output? in the documentation and the SO link I attached it is s

Re: How to publish cppcheck results in a pipeline?

2021-03-25 Thread Fabian Cenedese
>>Thanks for replying, I have opened and it has 2000 lines of code but I do not >>know if it is valid or not as I have never used cppcheck before, and if it is >>not valid is it because I am not using the right parameters when calling >>cppcheck or how? >> >>bat'cppcheck "E

Re: How to publish cppcheck results in a pipeline?

2021-03-25 Thread Ullrich Hafner
The exception says it is not a valid XML file. Is it a valid XML file? Seems that there is content before the fir XML tag. Can you open it in an editor that can validate the XML? > Am 25.03.2021 um 17:57 schrieb jesus fernandez : > > Thanks for replying, I have opened and it has 2000 lines of c

Re: How to publish cppcheck results in a pipeline?

2021-03-25 Thread jesus fernandez
Thanks for replying, I have opened and it has 2000 lines of code but I do not know if it is valid or not as I have never used cppcheck before, and if it is not valid is it because I am not using the right parameters when calling cppcheck or how? El jueves, 25 de marzo de 2021 a las 17:44:44 U

Re: How to publish cppcheck results in a pipeline?

2021-03-25 Thread Ullrich Hafner
It look like your create XML is not valid. Can you please open the XML file and check? > Am 25.03.2021 um 17:40 schrieb jesus fernandez : > > I am learning about Jenkins on my own, and I wanted to try the cppcheck > plugin, I have setup the following sample pipeline: > ``` > pipeline { > a

How to publish cppcheck results in a pipeline?

2021-03-25 Thread jesus fernandez
I am learning about Jenkins on my own, and I wanted to try the cppcheck plugin, I have setup the following sample pipeline: ``` pipeline { agent any stages { stage('analysis') { steps { script{ bat'cppcheck "E:/Source" --force — enab

Re: Version Number Plugin question

2021-03-25 Thread YAOWEN WU
Hi everyone, I try to use a different date(the start of the project), but the BUILD_ALL_TIME is not reset. On Tuesday, 2 July 2013 at 17:55:22 UTC+1 DaveS wrote: > I figured out how to reset the numbering, 'Number of builds since the > start of the project' > > On Monday, July 1, 2013 3:04:0

Re: hudson.Filepath issue

2021-03-25 Thread Devin Nusbaum
That kind of error usually means that something is wrong with your Pipeline, but if you are running an old version of Pipeline: Nodes and Processes plugin you might be running into https://issues.jenkins.io/browse/JENKINS-58900 , in which case the

Re: Email extender notification no longer resolve variables in the notification

2021-03-25 Thread Ed Rolison
I've had the same problem as this, and found that updating the Token-macro plugin doesn't actually solve it. I've updated to 2.15, and am still having the same issue> I've also tried using Jenkins 2.285 as well as 2.277.1, and neither seems to have helped. [id=50] SEVERE h.p.e.plugins.Conten

Re: Email extender notification no longer resolve variables in the notification

2021-03-25 Thread Daniel Stubkjær
Hi Mark, Thanks for the reply, it fix the problem. normal i would upgrade the plugins as a first thing, but this time a external it supporter upgrade the server and that also upgraded the jenkins instance on that machine, so it was an unintentionel upgrade. :-) many thanks for you help onsd

Re: mvn not found on $JENKINS_HOME/workspace/@tmp

2021-03-25 Thread banthita limwilai
Hi :) >From the previous email, I asked for help about my Jenkins Slave unable to run mvn I'd like to share what I've founded and the solution for the problem. I basically set the PATH for M2_HOME and MAVEN_HOME at /etc/profile which is somehow not work with the system's permission So, I changed