Re: Exception compiling code ONLY when running through Jenkins

2022-10-27 Thread Fabian Cenedese
At 19:10 27.10.2022, you wrote: >I have what should be a simple project, using msbuild for VS2019 to build a >particular configuration of my solution. When I run in Visual Studio it works. >When I run via msbuild from the command line it works. When I try to build the >project using MSbuild in

Re: Jenkins selected filtering values in parameter objects

2022-10-27 Thread Chennai Cheetah
hi db, I tried with xml api below is my url https://jenkins.myrepo.com/job/architecture-shared-services/job/loanrules_sit/api/xml?tree=builds[number,url,result,actions[parameters[name,value]]]&pretty=true&xpath=//parameter[name=%27rulesetid%27%20and%20value=%27635aa36a3f80310ae7e36c87%27]&wrappe

Re: Exception compiling code ONLY when running through Jenkins

2022-10-27 Thread Arnaud bourree
Does your build requires display? Did you try on your linux without display set? Regardes, Arnaud Le ven. 28 oct. 2022, 05:52, patnlo a écrit : > I have what should be a simple project, using msbuild for VS2019 to build > a particular configuration of my solution. When I run in Visual Studio i

Exception compiling code ONLY when running through Jenkins

2022-10-27 Thread patnlo
I have what should be a simple project, using msbuild for VS2019 to build a particular configuration of my solution. When I run in Visual Studio it works. When I run via msbuild from the command line it works. When I try to build the project using MSbuild in Jenkins it fails. When I try to run

Re: Jenkins selected filtering values in parameter objects

2022-10-27 Thread 'Daniel Beck' via Jenkins Users
On Thu, Oct 27, 2022 at 3:39 PM Chennai Cheetah wrote: > How do I get only selected jenkins information from the API response. > > … > > How do I filter rulesetid,branch details only from the parameter object, > while rest of the parameters are not required in the response. > Work with the XML AP

Jenkins selected filtering values in parameter objects

2022-10-27 Thread Chennai Cheetah
How do I get only selected jenkins information from the API response. I tried with the below url *https://myorg.com/job/architecture-shared-services/job/myrepo/api/json?tree=builds[number,url,result,actions[parameters[name,value]]]&pretty=true{0,2}

[JobDSL plugin] Configure buildRetention in organizationFolder

2022-10-27 Thread Bruno Galindro da Costa
How can I configure buildRetention in organizationFolder job type using JobDSL plugin? Is it supported? I could easily do it in a multibranchPipelineJob but I didn't find a way to do it in organizationFolder. This is how I did in multibranchPipelineJob: multibranchPipelineJob('my-job') { b

Private jar file in a shared library

2022-10-27 Thread Jochen Wiedmann
Hi, reading through https://www.jenkins.io/doc/book/pipeline/shared-libraries/ I get the impression, that @Grab is bound to a (possibly local) Maven repository. Which is alright, if I am using jar files from Maven central, or something like that. In my case, I'd much rather do something like