Re: GitHub Clone to Different Local Directory

2021-03-26 Thread eric.fetzer
Thanks Mark, I'll check it out.  Has to beat the hokey workaround I worked up.  :)Sent from my T-Mobile 4G LTE Device Original message From: Mark Waite Date: 3/26/21 10:49 PM (GMT-05:00) To: Jenkins Users Subject: Re: GitHub Clone to Different Local Directory Good point.  H

Re: GitHub Clone to Different Local Directory

2021-03-26 Thread Mark Waite
Good point. How about the external workspace plugin from GSoC 2016? https://plugins.jenkins.io/external-workspace-manager/ On Fri, Mar 26, 2021 at 8:00 PM eric.fetzer wrote: > Thanks for the response Mark.. I'm using freestyle. Doesn't checkout to > a subdirectory only take relative paths? >

Re: GitHub Clone to Different Local Directory

2021-03-26 Thread eric.fetzer
Thanks for the response Mark..  I'm using freestyle.  Doesn't checkout to a subdirectory only take relative paths?Sent from my T-Mobile 4G LTE Device Original message From: Mark Waite Date: 3/26/21 6:44 PM (GMT-05:00) To: Jenkins Users Subject: Re: GitHub Clone to Different

Re: GitHub Clone to Different Local Directory

2021-03-26 Thread Mark Waite
If you're using pipeline, change to that directory with the dir('/users/username/projectname') { } wrapper around the checkout step; If you're using a freestyle job, use the git plugin extension 'checkout to a subdirectory' On Fri, Mar

Re: How to publish cppcheck results in a pipeline?

2021-03-26 Thread Jérôme Godbout
I cannot recommend it since I haven’t try it out, but you can find many over here: https://en.wikipedia.org/wiki/List_of_tools_for_static_code_analysis#C,_C++ Moved to Visual Studio since we already have the license. But this depends on your needs. Cppcheck work great with GUI but the CLI is re

GitHub Clone to Different Local Directory

2021-03-26 Thread eric....@gmail.com
OK, so this is kind of complex so hang with me. We're moving from StarTeam to Github and I'm trying to reproduce what I'm doing in StarTeam with Github. StarTeam was easy because I owned the repository machine as well as administrated the tool. With Github, we're hosted. So I'm admin on the

Re: How to publish cppcheck results in a pipeline?

2021-03-26 Thread jesus fernandez
Thanks Jerome I use sonarqube at the moment ( I am also learning on this one, but at least is working) but I wanted to check other alternatives as sonarqibe slow down the pipeline as it takes quiet some computing time. Would you recommend sonarqube over cppcheck for a jenkins pipeline? El vie., 26

Re: How to publish cppcheck results in a pipeline?

2021-03-26 Thread Jérôme Godbout
You probably need something like this: cppcheck --xml-version=2 --enable=all 2>samplecppcheck.xml https://stackoverflow.com/questions/10611011/cannot-generate-xml-output-from-cppcheck cppcheck is a pain from command line, the command line was an after though, they screw big time. I stop using

Re: How to publish cppcheck results in a pipeline?

2021-03-26 Thread Ullrich Hafner
I don’t know. Don’t you have a dedicated forum to ask cppcheck questions? I still do not understand why you are redirecting stdout or stderr. I would assume that every tool that creates XML files automatically creates the file in your workspace. Did you check the workspace if there is a file if

Re: How to publish cppcheck results in a pipeline?

2021-03-26 Thread jesus fernandez
Thanks for the replies but how woud the command be then? something like this cppcheck "E:/Source" --force — enable=all — inconclusive — xml — xml-version=2 . > cppcheck.xm El jueves, 25 de marzo de 2021 a las 21:49:15 UTC+1, ullrich...@gmail.com escribió: > Yes, this is definitely not XML :-)