HOW? Declarative Pipeline - Build Cause change default Parameter

2018-05-22 Thread jieryn
Does anyone have a fragment or can lend a hand in me figuring out how to get a Jenkinsfile based declarative pipeline where we have a parameters { } section which will get a different defaultValue depending on the build cause? The goal is that I want to do a maven deployment if and only if this jo

Re: How to disable a Jenkins Multibranch Pipeline job?

2018-05-01 Thread jieryn
That solution is kind of disappointing, it doesn't really disable the job. Someone can still run invoke it.. Also, there doesn't seem to be a way for me to remove the branches that were autovivified into the job. I'm trying to clean up, but am not ready yet to just delete the jobs. I guess that's

How to disable a Jenkins Multibranch Pipeline job?

2018-04-30 Thread jieryn
I want to temporarily disable a Jenkins Multibranch Pipeline job. With a traditional job, I can just click the Disable Project button. I am looking all over, I am not able to figure out how to disable a Multibranch Pipeline job... please, a hint? Thanks! -- You received this message because you

Pipeline Recipe for Timer Cause vs User Build Button Cause?

2018-01-16 Thread jieryn
I use the latest Jenkins release with all the common plugins fully up to date on RHEL 7 via Java 8. Does anyone happen to have a recipe I can follow to set different `defaultValue` for ```parameters { booleanParam (defaultValue: xxx, ...) }``` depending on whether the this run was triggered by a t

Re: Installing / maintaining Jenkins on a Linux host machine

2017-07-11 Thread jieryn
RedHat user here.. Or you can just install Jenkins' repository flavor of your choice without waiting for upstream: https://pkg.jenkins.io/redhat/ https://pkg.jenkins.io/redhat-stable/ Jenkins really has lead the way and set the bar quite high for open source projects and making itself available f

Pipeline: Parallel block force to 1 node?

2016-12-13 Thread jieryn
Is it possible for debug purposes to force a parallel block to be run via a single node for test purposes? -- 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 jenki

Re: pipeline startup errors

2016-09-08 Thread jieryn
I'm past it now. On Thu, Sep 8, 2016 at 5:23 AM, Baptiste Mathus wrote: > Weird. Are you using the experimental update center? I see the missing > dependency is a beta one. > > > Le 6 sept. 2016 3:34 PM, "jieryn" a écrit : >> >> Sep 06, 2016 9:31:57 A

Re: pipeline: feedback

2016-09-06 Thread jieryn
Jira with this. > > IMO the potential big issue of this use case is that if the jobs you call > are big ones with many steps, you then make the durability durability > feature of pipeline far less useful. > > > Le 2 sept. 2016 7:08 AM, "jieryn" a écrit : >> >&

pipeline startup errors

2016-09-06 Thread jieryn
Sep 06, 2016 9:31:57 AM hudson.PluginManager$2$1$1 run SEVERE: Failed to install pipeline-rest-api: One or more dependencies could not be resolved for pipeline-rest-api : pipeline-graph-analysis (0.1-beta-1) Sep 06, 2016 9:31:57 AM hudson.PluginManager$2$1$1 run SEVERE: Failed to install pipeline-s

pipeline: feedback

2016-09-01 Thread jieryn
It would be nice if when a Pipeline invokes a Jenkins Job, that the log of that job would be visible inside the Blue Ocean pipeline output similar to the way any other pipeline stage works. We use individual jobs for each stage because it lets us get a lot of reusability for common functions which

Re: Can't receive build email notification from Jenkins

2016-08-04 Thread jieryn
You are sending email to this list from lingv...@gmail.com yet your Jenkins is configured to send to ling...@gmail.com ... looks like user error. On Thu, Aug 4, 2016 at 2:25 AM, Martin wrote: > Hello, my console output shows that my project is built successful and email > was sent out too, but th

Re: Migrating a maven-based job to pipeline style

2016-07-31 Thread jieryn
Hi, On Sun, Jul 31, 2016 at 3:09 AM, khmarbaise wrote: > >> enforcement, other stuff). So for example, running a clean install and >> skipping all tests on a typical project versus clean install yields >> about 10-20% reduction in wall clock execution time. > > Skipping Test will of course reduce

Re: Migrating a maven-based job to pipeline style

2016-07-30 Thread jieryn
Hi, On Sat, Jul 30, 2016 at 2:39 PM, khmarbaise wrote: > so have you really measured the time you are "wasting" ? Furthermore which > Maven version and plugin versions do you use? Are you using freestyle or > Maven job type... Yes, we have measured. Both with the Tesla Maven Profiler, but also

Re: Migrating a maven-based job to pipeline style

2016-07-30 Thread jieryn
My team faces similar challenges, and I agree with almost everything said so far. I definitely echo the sentiment that it feels like there is a lot of wasted repetition when invoking discrete phases separately. We currently do this via separate jobs now, which often run at different frequencies. Ho

Re: What is the best way to download all the Jenkins plugins along with their dependencies?

2016-04-01 Thread jieryn
bash$ jar xf the.jpi bash$ find the/WEB-INF/lib On Fri, Apr 1, 2016 at 6:28 PM, Hemant Gupta wrote: > Thanks for response !! > I can write bash to download the plugin(.hpi) from the > http://updates.jenkins-ci.org/download/plugins/ > > But, if I download a .hpi plugin file, it doesn't download th

Re: What is the best way to download all the Jenkins plugins along with their dependencies?

2016-04-01 Thread jieryn
The built plugin (.jpi / .hpi) already has its dependencies bundled within it. Every plugin has a symlink to the latest version. This seems like a pretty straightforward web crawler walk, downloading only the /latest/ linkage from http://updates.jenkins-ci.org/download/plugins/ On Fri, Apr 1, 2016

Re: Save all configurations after Jenkins update

2016-02-17 Thread jieryn
NS/JobConfigHistory+Plugin >> > >> > cheers >> > On Wednesday, 17 February 2016 17:55:49 UTC, maciej wrote: >> >> >> >> jieryn (2016-02-17 17:01): >> >> > for (item in hudson.model.Hudson.instance.items) { >> >&

Re: Save all configurations after Jenkins update

2016-02-17 Thread jieryn
History+Plugin > > cheers > On Wednesday, 17 February 2016 17:55:49 UTC, maciej wrote: >> >> jieryn (2016-02-17 17:01): >> > for (item in hudson.model.Hudson.instance.items) { >> >println("Saving " + item); >> >item.save(); >&

Re: Save all configurations after Jenkins update

2016-02-17 Thread jieryn
Create a new freestyle job, run it @daily, or whatever. Add Groovy script execution build step, the full script is: for (item in hudson.model.Hudson.instance.items) { println("Saving " + item); item.save(); } On Wed, Feb 17, 2016 at 10:33 AM, Maciej Jaros wrote: > Hi. > > When you save confi

Re: Is there any way for an Administrator to view a job as Non-Admin

2016-02-16 Thread jieryn
https://wiki.jenkins-ci.org/display/JENKINS/Extended+Read+Permission+Plugin Then just look at the job without being logged in.. On Tue, Feb 16, 2016 at 7:33 PM, Mark Bidewell wrote: > Is there any way for an Administrator to view a job as Non-Admin? This > would be helpful when testing roles an

Re: [theme] New Jenkins Material Design Theme

2016-01-29 Thread jieryn
+1 Default no-plugin install looks beautiful. Soon as you add any plugin that adds an Action, it doesn't look so good anymore (mixed icons). On Fri, Jan 29, 2016 at 10:30 PM, James Dumay wrote: > Hi Afonso, > > Super impressed with your work here! Google have done an excellent job > with their

Re: Threads dying...

2015-09-04 Thread jieryn
Thanks for the info. Old guy and post commit hook triggers, no matrix though. My update to latest LTS included plugin updates, so what you describe seems to be the culprit. Thanks! On Sep 4, 2015 13:49, "Daniel Beck" wrote: > Core added a check recently (1.597 or so) to ensure existing build num

Re: Threads dying...

2015-09-03 Thread jieryn
I was seeing this quite frequently too. I updated to the latest 1.609.3 LTS, they haven't reappeared. On Thu, Sep 3, 2015 at 11:47 AM, Peter Berghold wrote: > Why does this happen? > > java.lang.IllegalStateException: > /usr/share/tomcat6/webapps/jenkins/jobs/DEV-dnsstat/builds/2 already > existe

Re: JUC East and EU - slides/videos available

2015-07-30 Thread jieryn
Thanks! Will the keynotes be made available, too? On Tue, Jul 21, 2015 at 7:58 PM, Alyssa Tong wrote: > Hi Everyone, > > If you missed JUC East and or JUC Europe - videos and slides from these > conferences are now available HERE (JUC East) and HERE (JUC EU). > > The agenda for JUC West (Sept 2-3

Re: How to *properly* switch from Maven-style jobs to Freestyle jobs?

2015-06-15 Thread jieryn
There is no automated mechanism. On Mon, Jun 15, 2015 at 5:50 AM, Victor Noël wrote: > Anybody? It seems an important issue to me… > > Thanks, > > Victor > > > Le lundi 8 juin 2015 10:21:46 UTC+2, Victor Noël a écrit : >> >> Hi, >> >> Following the switch to Java 7+, many users have problem with

Re: Jenkins Plugins

2015-02-19 Thread jieryn
https://wiki.jenkins-ci.org/display/JENKINS/Plugin+Installation+Statistics Installations roughly correlates to votes, start there. On Thu, Feb 19, 2015 at 2:44 PM, Chris Kelley wrote: > Hi all, > > I do user research for IBM's Bluemix DevOps Services, and I'm currently > researching Jenkins plug

Re: force mass job save

2014-10-15 Thread jieryn
I don't have the same findings as you. I @daily have an infra_save_items job with an Execute system Groovy script of: for (item in hudson.model.Hudson.instance.items) { println("Saving " + item); item.save(); } Not only does this work, but it does it quite quick; it also preserves any sort of

Re: SSH Agent Plugin - UnsatisfiedLinkError

2014-07-16 Thread jieryn
nstalled the x86 glibc as well > during his testing of CentOS? > > Richard. > > > On Thu, Jul 17, 2014 at 10:18 AM, jieryn wrote: >> >> -bash-4.1$ uname -a >> Linux ci.acme.com 2.6.32-431.21.1.el6.x86_64 #1 SMP Tue Jun 3 19:11:40 >> EDT 2014 x86_64 x86_64 x86_6

Re: SSH Agent Plugin - UnsatisfiedLinkError

2014-07-16 Thread jieryn
ymbolic link so if you then do >> a file on the resulting link what does that show?) > > > I am suspecting it could be an ld-script... Perhaps even one that starts > with a comment... > > (Says he who may have found the RCA if not the origin Of the RCA) > >> Richa

Re: SSH Agent Plugin - UnsatisfiedLinkError

2014-07-16 Thread jieryn
ing theory is that it is something to do with JNR and > classloader conflicts over remoting... > > All this is speculation though without a test case to verify against > > > On 12 July 2014 03:05, jieryn wrote: >> >> I'm using Jenkins LTS 1.554.3, and SSH Agent Plugin

SSH Agent Plugin - UnsatisfiedLinkError

2014-07-11 Thread jieryn
I'm using Jenkins LTS 1.554.3, and SSH Agent Plugin 1.4.1. I am seeing UnsatisfiedLinkError during jobs which try to use an SSH agent. How do I resolve this issue? There are only instructions for MacOS on the plugin wiki page. https://gist.github.com/jieryn/5248b713599321f2d548

Re: Jenkins deploy to maven site

2014-01-13 Thread jieryn
Make your job parameterized, add a parameter which lists the SCM tags, refer to that variable in the SCM checkout section. On Mon, Jan 13, 2014 at 7:12 AM, Trista Monaghan wrote: > I need a separate site job to deploy to maven site after release build. How > can I deploy the correct version witho

Re: [ANN] Credentials plugin 1.9.3 - now with in-place add support

2013-11-08 Thread jieryn
Why not just hide the button entirely? On Fri, Nov 8, 2013 at 10:55 AM, Stephen Connolly < stephen.alan.conno...@gmail.com> wrote: > One more thing... if you don't have permission to create credentials, the > button will be disabled... > > -- You received this message because you are subscribed

Re: LTS 1.509.3 -- Bad Fingerprint Invasion

2013-10-09 Thread jieryn
Greetings, On Wed, Oct 9, 2013 at 1:23 AM, Daniel Beck wrote: > It looks like you're referring to > https://issues.jenkins-ci.org/browse/JENKINS-19515 which will be fixed in > 1.509.4. There's already an RC, so you could try upgrading. https://issues.jenkins-ci.org/browse/JENKINS-19515 is a fi

LTS 1.509.3 -- Bad Fingerprint Invasion

2013-10-08 Thread jieryn
bash$ find /var/lib/jenkins/fingerprints/ -type f | while read fp ; do xmllint --format $fp >/dev/null ; if [[ "$?" == "1" ]] ; then echo stupid $fp ; rm $fp ; fi ; done Why do I have to do this? This seems like a huge failure. Not sure how this got to LTS.. -- You received this message because

Re: Javadoc plugin 1.0 displaying error in plugin manager

2013-05-31 Thread jieryn
Greetings, On Fri, May 31, 2013 at 9:11 AM, Kamal Ahmed wrote: > question is how come javadoc, which is a core plugin, depending on testswarm? There is absolutely no evidence that you have ever reported that even remotely links javadoc, or the Jenkins Javadoc Plugin, to the issue. So unless you

Re: Javadoc plugin 1.0 displaying error in plugin manager

2013-05-31 Thread jieryn
Greetings, On Fri, May 31, 2013 at 8:09 AM, Kamal Ahmed wrote: > any idea how to resolve this ? Uninstall the TestSwarm plugin. -- 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,