Re: Pipeline failing without errors

2021-04-09 Thread webde...@gmail.com
I figured it out: for whatever reason, the Verify job did not have the ability to run itself independent of the pipeline (there was no "Build Now" button) so I had to Configure and then save for that to appear. Is this a bug with the new update? On Friday, April 9, 2021 at 2:59:12 PM UTC-5 webd

Pipeline failing without errors

2021-04-09 Thread webde...@gmail.com
Bit of a doozy in this one. I have a pipeline within a folder structure. I made a copy of that folder so that all the jobs would come over and I would not have to touch the jobs except to target servers, change config files, and modify ps1 files. The pipeline that this pipeline is copied from ru

Re: Jenkins Jobs Folder in Docker

2021-04-09 Thread 'Martin Schmude' via Jenkins Users
This is similar to the customized docker image that we build for Jenkins. We just leave the $JENKINS_HOME/jobs folder intentionally inside the container. so that all job configurations are part of the docker image. A Jenkins instance started from such an image has all its jobs available out-of-th

Jenkins Jobs Folder in Docker

2021-04-09 Thread Bruce Coveny
Hello, I am building a custom docker image from jenkins/jenkins. I would like to have the jobs, builds, and workspace folder be on an external volumne from from the container, but keep the rest of the configuration inside the container. I have found where it is possible to set flags for build

Re: is there a way to see all the available methods of a plugin in Jenkins?

2021-04-09 Thread jesus fernandez
I have also tried this `def action = it.getAction('org.jenkinsci.plugins.cppcheck.CppcheckBuildAction')` which is how the variable get instantiated in the jelly template but I get ` java.lang.NullPointerException: Cannot invoke method getAction() on null object ` I am kind of lost here... any h

Re: is there a way to see all the available methods of a plugin in Jenkins?

2021-04-09 Thread jesus fernandez
But the object model of both is different, you need to choose the correct one in the email template! Yes, that template I am using it with publishcpp at the moment but I am not able to get the value of any of their properties within my pipeline like if I try to echo to check its value I

Re: is there a way to see all the available methods of a plugin in Jenkins?

2021-04-09 Thread jesus fernandez
but this is like god trying to explain something to a rock, I have just started in this world...hehehe El viernes, 9 de abril de 2021 a las 15:40:44 UTC+2, jesus fernandez escribió: > hahaha oh gosh I should have known I watched your video on youtube a few > days ago. > > El viernes, 9 de abr

Re: is there a way to see all the available methods of a plugin in Jenkins?

2021-04-09 Thread jesus fernandez
hahaha oh gosh I should have known I watched your video on youtube a few days ago. El viernes, 9 de abril de 2021 a las 15:39:30 UTC+2, ullrich...@gmail.com escribió: > > > I actually have tried both to publish the result, > > > But the object model of both is different, you need to choose th

Re: is there a way to see all the available methods of a plugin in Jenkins?

2021-04-09 Thread Ullrich Hafner
> > > I actually have tried both to publish the result, But the object model of both is different, you need to choose the correct one in the email template! > have not decided which one to use yet, any suggestion? I am biased as I am the author of the warnings plugin ;-) > I like the dashboa

Re: is there a way to see all the available methods of a plugin in Jenkins?

2021-04-09 Thread jesus fernandez
I actually have tried both to publish the result, have not decided which one to use yet, any suggestion? I like the dashboard of the warnings-ng better, but I ilke from the publushcpp that you can see the line where the error is right from Jenkins without need to open the editor and look for t

Re: is there a way to see all the available methods of a plugin in Jenkins?

2021-04-09 Thread Ullrich Hafner
First of all: are you using the warnings-ng plugin or the cppcheck plugin in your build? They use different models. I’m not sure if there is an easy way to debug email ext templates in the meantime, I am not using it actively. But you can simply start with a subset of the script below and chec

Re: is there a way to see all the available methods of a plugin in Jenkins?

2021-04-09 Thread jesus fernandez
my projects are in Perforce. What if I want to acces to one of those properties which I know are available from looking at the jelly template, for instance ${cppcheckResult.getDiff().getNumberNoCategorySeverity()} I tried to echo that property but I get an error how could I access to it? this is

Re: is there a way to see all the available methods of a plugin in Jenkins?

2021-04-09 Thread Ullrich Hafner
Are your projects located in GitHub? Then it would be quite easy to report results automatically using the GitHub checks plugin. Email is quite old-school when it comes to build result reporting... > Am 09.04.2021 um 13:58 schrieb jesus fernandez : > > Thanks for asering. I have been checking

Re: Can I send cppcheck results through slack in a jenkins pipeline?

2021-04-09 Thread Ullrich Hafner
https://github.com/jenkinsci/warnings-ng-plugin/blob/master/doc/Documentation.md#token-macro-support > Am 09.04.2021 um 13:59 schrieb jesus fernandez : > > Thanks for replying, any documentation or link to guide me in the right > direction on how to do it? I am quite Junior and have been learnin

Re: Can I send cppcheck results through slack in a jenkins pipeline?

2021-04-09 Thread jesus fernandez
Thanks for replying, any documentation or link to guide me in the right direction on how to do it? I am quite Junior and have been learning Jenkins on my own El viernes, 9 de abril de 2021 a las 13:46:48 UTC+2, ullrich...@gmail.com escribió: > Exporting results from one plugin into another plu

Re: is there a way to see all the available methods of a plugin in Jenkins?

2021-04-09 Thread jesus fernandez
Thanks for asering. I have been checking the javadoc of the plugin https://javadoc.jenkins.io/plugin/email-ext/ but my java knowledge is super basic and I do not get to see where the methods available to Jenkins are. So I guess this is too advanced for me ATM El viernes, 9 de abril de 2021 a la

Re: is there a way to see all the available methods of a plugin in Jenkins?

2021-04-09 Thread Ullrich Hafner
You need to read the code of the plugin. I.e., the model of the producer plugin. > Am 09.04.2021 um 13:08 schrieb jesus fernandez : > > I am learning Jenkins on my own and I am trying to learn about plugins. I > have a stage to send an email with the cppcheck results with a template I > found

Re: Can I send cppcheck results through slack in a jenkins pipeline?

2021-04-09 Thread Ullrich Hafner
Exporting results from one plugin into another plugin is definitely possible. You typically have two steps: 1) Export the data from a producer plugin a) using Tokens b) using API methods of the plugin 2) Import the data (or reformat and aggregate it) into a consumer plugin For step 1 I can say th

is there a way to see all the available methods of a plugin in Jenkins?

2021-04-09 Thread jesus fernandez
I am learning Jenkins on my own and I am trying to learn about plugins. I have a stage to send an email with the cppcheck results with a template I found https://stackoverflow.com/questions/13888338/sending-cppcheck-result-report-on-email-from-jenkins-using-email-ext-plugin the template instan

Re: Deadlock running out of executors waiting on subjobs via parameterized trigger plugin

2021-04-09 Thread Kitu
Hi, were able to find some solution on this? Thanks On Monday, 23 February 2015 at 21:03:25 UTC+5:30 bscr...@phxlabs.ca wrote: > > I was hoping to avoid having to create new workspaces and add archiving > and restoring artifacts as it is gigs of data (sadly even incrementals), > especially s