Pipeline Parallel Visualization

2024-01-23 Thread 'Benjamin, Joshua' via Jenkins Users
The issue occurs in both BlueOcean as well as the Pipeline Graph View. It is replicable with both scripted and declarative pipelines, so I must be missing something really obvious. In short, the issue is that a parallel stage's status does get updated (in the UI) until all the parallel stages

Blue Ocean Rest Impl. Caching Performance

2023-11-02 Thread 'Benjamin, Joshua' via Jenkins Users
We have been seeing very long (10+ sec) initial load times for both the activity and branches tabs within BlueOcean. After the activity or branches tab has been loaded once for a particular multibranch pipeline, subsequent loads are near-instant. The classic view and BlueOcean pipeline view (s

Getting active exception in declaritive post failure routine

2020-01-24 Thread Joshua Harlow
Hi all, I am trying to do some slack integration whereby in a declarative post failure section we want to send to slack the exception message that triggered the failure. Something like: pipeline { stages { ... } post { failure { slackSend(message: "Failed due to ${

Question on multibranch checkout (github) and lfs

2018-09-12 Thread Joshua Harlow
Hi folks, We are looking at using the multibranch pipeline with github but have stumbled into sort of a slight problem that maybe others have already hit (and can help resolve). On one of our repos that we are trying to add a jenkinsfile to it appears the the initial checkout of that repo (t

how get copy of environment variable - groovy job-dsl

2018-05-04 Thread joshua . olson
hello, I have the slack & job-dsl plugins installed & configured in my jenkins instance. I run the seed job for the following my-slack.groovy file: job("myfolder/myjob") { steps { shell("""#!/bin/bash echo "h

Re: How do you iteratively work on a Jenkinsfile?

2018-02-03 Thread Joshua Noble
+1 for the Replay functionality. It works great. It should be noted that sometimes you won’t see it available on failed build runs. -- 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 i

Re: Declarative Jenkinsfile for pullrequests.

2017-09-19 Thread Joshua Noble
Are you using scripted or declarative pipelines to do this? I highly suggest using the declarative format. What Git source control provider are you using? If you're using GitHub, ensure that you're using the GitHub Branch Source plugin too as it will automatically do the checkouts for you and f

Re: Jenkins slave (EC2 AWS plugin) fails occasionally when build takes too long with error "Caused: java.io.IOException: Unexpected termination of the channel"

2017-09-12 Thread Joshua Noble
I've had great success with the EC2 plugin. Might I suggest using Hashicorp Packer to build an AMI, and have the EC2 plugin launch that AMI? That will let you remove Ansible (or any provision tool) out of the equation and save on agent provisioning time. I know that when our cluster scales up an

Re: Best way to reload job settings from Jenkinsfile without triggering a build

2017-09-12 Thread Joshua Noble
The challenge here is that a multibranch pipeline uses source control events, by design, to launch itself. Since the Jenkinsfile (your config) is stored in source control, there's really no way to push without triggering a run. As soon as you disable and/or delete the job, it will be re-created

Re: Building docker images with declarative pipeline

2017-09-12 Thread Joshua Noble
With declarative pipelines this is pretty straight forward, just build the Docker image like you would on your local machine using `sh` commands. For example, in our cluster all build agents are actually the same, but most builds run inside of a container on one of these nodes, which you've not

Re: How to use "secret text" credential inside NodeJS app as part of a pipeline?

2017-08-03 Thread Joshua Noble
The secret text being printed as *** is a feature, so credentials aren't leaked in console logs. You cannot use Jenkins credentials during application runtime. (ie: If you deploy a backend Node app to an app server) You can however use Jenkins credentials to run npm scripts, such as npm test, (

managing jobs with high disk usage?

2017-07-28 Thread Joshua Hoblitt
I have a job that needs at least 800GiB of free disk space (per matrix sub-configuration) to build on a node. The majority of the space is needed to checkout git-lfs repos that contain test data. As cloning the lfs repos takes hours, the workspace is intentionally not cleaned up between builds.

Re: Jenkins installed but stuck at bower installation with NodeJSPlugin

2017-07-24 Thread Joshua Noble
The version of NodeJS that you're able to call doesn't appear to be installed by Jenkins, it's likely already installed on the system and just happens to be there. I say this because your terminal output clearly shows 6.10.0, but your Jenkins screen shot says 4.6.0. There is a difference in ver

Re: Run pipeline flyweight executors off of master

2017-06-16 Thread Joshua Noble
i would have to agree, this is definitely an issue. I'm currently using Amazon EFS as the storage backend for my Jenkins master, who doesn't have any executors. The flyweight executors checking out repositories is definitely a concern of mine. EFS will automatically scale so storage isn't a hug

Jenkins GitHub polling issue

2017-06-06 Thread Joshua Noble
Forgot link: https://curl.haxx.se/docs/vuln-7.19.4.html -- 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 jenkinsci-users+unsubscr...@googlegroups.com. To view th

Jenkins GitHub polling issue

2017-06-06 Thread Joshua Noble
I would start by updating your version of curl. 7.19.4 is from March of 2009 and has 32 known vulnerabilities. -- 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

Re: Need Github pull request number as environment variable

2017-05-28 Thread Joshua Noble
If you use the GitHub branch source plugin, the pull request number will show up in the $BRANCH variable. I suggest using this plugin as it will automatically create jobs and build every branch and PR. -- You received this message because you are subscribed to the Google Groups "Jenkins Users"

Re: Amazon EC2 Container Service Plugin Waiting for Executor

2017-05-01 Thread Joshua Noble
This plugin has an unfortunate known flaw - it will only spin up one executor/node per label. If you have two jobs waiting to build with the same label, it will build the first one, then kill after it's done, and then start the next one. (Instead of creating two containers/tasks in parallel) I'

Re: How to git push from a Jenkinsfile?

2017-03-24 Thread Joshua Noble
Generally when you do a basic checkout, the Jenkins workspace is in a detached HEAD state. You want to check out to a local branch likely using " localBranch". I have to ask though - if Jenkins does a merge of the PR - why would you need to push? On Friday, March 24, 2017 at 7:37:57 AM UTC-4, Id

Re: Multiple pipelines in Jenkinsfile

2017-03-23 Thread Joshua Noble
Has anyone been able to make any progress on this? I have a new Jenkins 2 cluster up and running, and I've created declarative Jenkinsfile pipelines for each app repo. This works excellent for building all app branches and PR's. However, we have some more generic parameterized deploy jobs that

Forcing Jenkins to use TLSv1.2 for LDAP connections

2016-09-20 Thread Joshua Schaeffer
sent #JAVA_ARGS="-Xmx256m" JAVA_ARGS="-Djava.net.preferIPv4Stack=true" # make jenkins listen on IPv4 address JAVA_ARGS="-Dhttps.protocols=TLSv1.2" But that hasn't made any difference, so I'm assuming that is just for HTTPS traffic. Also, is it possible to te

How can I test code before it reaches master?

2016-09-04 Thread Joshua Fox
How can we make sure that all unit tests pass before developer code reaches *master*? Ideally Jenkins would run the tests on an integration branch that is local to the cloud test VM, then merge to *master* only if all tests pass Jenkins Pretested Integration Plugin

Re: Visualizing tests separately from different stages of a pipeline

2016-08-18 Thread Joshua Harlow
sults renderer). -Josh On Wednesday, August 17, 2016 at 10:19:13 PM UTC-7, Joshua Harlow wrote: > > Do I need to just give each capture a unique filename? > > I was trying this earlier and it appears giving them the same name only > caused the first to show up on the UI :( >

Re: Visualizing tests separately from different stages of a pipeline

2016-08-17 Thread Joshua Harlow
Do I need to just give each capture a unique filename? I was trying this earlier and it appears giving them the same name only caused the first to show up on the UI :( Perhaps though I was doing something wrong... On Wednesday, August 17, 2016 at 9:24:37 PM UTC-7, James Dumay wrote: > >

Re: Visualizing tests separately from different stages of a pipeline

2016-08-17 Thread Joshua Harlow
I to would like something like this, It seems to be a common thing to do and a real weakness of the pipeline style, If people are supposed to setup complex pipelines in a pipeline file then its pretty important that there be a way to ship out multiple result files, Even if they are successful,

Publishing multiple test results from a jenkinsfile (or equivalent)

2016-08-17 Thread Joshua Harlow
Hi, I am working through creating a jenkinsfile (and/or equivalent) for the openstack (nova) project we are using at godaddy, The stages are broken up into (literally the following): stage("Initiation") flows = build() node { start { net_info() } } stage("Checkout") slack_stage

Multi-configuration Project + Parameters

2016-07-15 Thread Joshua Powers
Hi, I currently have three identical freestyle projects (each with the same four parameters) for running a job across three different slave architectures. I figured it is time to take advantage of the multi-configuration type project, so I created one and it runs now across these three systems

EnvInject plugin - Not loading variables configure in Node properties file

2015-04-22 Thread 'Joshua Staker' via Jenkins Users
I've configured the following setting to load environment variables from a .properties file:  1. Manage Jenkins > Manage Nodes > Node1 > Configure  2. Under Node Properties enabled the checkbox for 'Prepare Jobs environment'  3. In 'Properties File Path' I specify the path to the .properties file

Re: Jenkins CloudBee Folders plugin usage, migration, and best practices recommendations

2013-10-30 Thread joshua
Daniel, Thank you so much for the thorough discussion of the experience you've had with the plugin. I will definitely begin with a small environment to test this out, over migrating the whole enchilada of builds. I really appreciate you sharing your perspective! -Joshua On Monday, Octob

CloudBees Folders Plugin Best Practices

2013-10-28 Thread joshua
I'm wondering what tips can be offered for different ways of implementing the organization of builds using the CloudBees Folders plugin and any tips on migrating builds into a nested folders/namespaces structure? Regards, Joshua @ blog.milehighcode.com -- You received this message becaus

Jenkins CloudBee Folders plugin usage, migration, and best practices recommendations

2013-10-28 Thread joshua
responses would be really appreciated and I am happy to link back any articles suggested from my blog on future writings on this subject. -Joshua blog.milehighcode.com -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe

Re: Travails with upgrading, part 2

2013-10-24 Thread Joshua J. Kugler
So, somewhere in the process of upgrading, upgrading plugins, re-enabling the User Mailer plugin, the old jobs started displaying correctly. We can close this for now. j On Thursday, October 24, 2013 13:28:10 Joshua J. Kugler wrote: > So, all jobs run since the upgrade display fine. It&#x

Re: Travails with upgrading, part 2

2013-10-24 Thread Joshua J. Kugler
So, all jobs run since the upgrade display fine. It's the jobs before the upgrade that are not displaying correctly. Any ideas? j On Wednesday, October 23, 2013 16:01:36 Joshua J. Kugler wrote: > So, I was using an old Jenkins version. Upgraded to to 1.533, then > downgraded

Re: Travails with upgrading, part 2

2013-10-24 Thread Joshua J. Kugler
So, all jobs run since the upgrade display fine. It's the jobs before the upgrade that are not displaying correctly. Any ideas? j On Wednesday, October 23, 2013 16:01:36 Joshua J. Kugler wrote: > So, I was using an old Jenkins version. Upgraded to to 1.533, then > downgraded

Travails with upgrading, part 2

2013-10-23 Thread Joshua J. Kugler
;bad" builds were well before the first upgrade to 1.533. Any ideas where I should be looking? j -- Joshua J. Kugler - Fairbanks, Alaska Azariah Enterprises - Programming and Website Design jos...@azariah.com - Jabber: pedah...@gmail.com PGP Key: http://pgp.mit.edu/ ID 0x73B13B6A -- You rec

Re: Upgraded plugins, now my install is "bricked."

2013-10-23 Thread Joshua J. Kugler
th of those. > > On Tue, Oct 22, 2013 at 4:13 PM, Joshua J. Kugler wrote: > > I have Jenkins 1.509.4 installed on RHEL6. I just went and upgraded all > > my > > plugins, and when Jenkins restarted, I get the attached spit out in the > > browser. Nothing in /var/

Upgraded plugins, now my install is "bricked."

2013-10-22 Thread Joshua J. Kugler
o see what might be causing it. Help? Pointers to documentation? Thanks in advance for any help given! j -- Joshua J. Kugler - Fairbanks, Alaska Azariah Enterprises - Programming and Website Design jos...@azariah.com - Jabber: pedah...@gmail.com PGP Key: http://pgp.mit.edu/ ID 0x73B13B6A --

Gerrit trigger send queue stuck

2013-09-15 Thread Joshua J. Kugler
but nothing is changing. The "Test Connection" button returns success in the gerrit trigger config page. 1) Any idea how to figure out what is "stuck?" 2) I see I can restart gerrit trigger, but will I lose the queue if I do? Thanks! j -- Joshua J. Kugler - Fairbanks, Alask

Re: java.lang.NullPointerException when loading folders

2013-04-16 Thread Joshua Sinfield
I've just upgraded to 1.511 and we're still getting the same error. There has been no new release of the Folders plugin either. Anybody got any ideas? Cheers, Josh -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this grou

Re: java.lang.NullPointerException when loading folders

2013-04-09 Thread Joshua Sinfield
dbees did a 3.6 release of Folder plugin to fix the > issue as well, it should appear soon on update center. > > Vincent > > > 2013/4/8 Joshua Sinfield > > >> I've just upgraded our jenkins to 1.509 and am also experience this >> issue. >> >> I&

Re: java.lang.NullPointerException when loading folders

2013-04-08 Thread Joshua Sinfield
I've just upgraded our jenkins to 1.509 and am also experience this issue. I've tried version 3.4 & 3.5 of the Folder plugin. Both versions work with 1.504. Josh On Thursday, 4 April 2013 23:26:58 UTC+1, Laurent Nicolas wrote: > > After upgrading to 1.509 and also upgrading a bunch of plugins,

Re: Could not open channel: Jenkins connecting to Windows slave via Kpym SSHD

2013-03-27 Thread Joshua Boyd
On 3/13/2013 5:39 PM, Ken Egozi wrote: Seeing the same issue now (agent is running win8, with kpyM ssh) ssh connections succeed from regular ssh clients. Did you find a solution already? No. kpyM ssh looked very promising. The source code was nicely approachable. Despite that, I got no hel

Could not open channel: Jenkins connecting to Windows slave via Kpym SSHD

2013-01-16 Thread Joshua Boyd
I have installed a registered version of Kpym SSH server for Windows on Windows XP running on KVM, and I want to use this as a slave for building Windows software and running Selenium tests. I can interactively ssh into the Windows XP machine from my linux machine and launch programs and run c

Re: Problems with Windows Slaves: hudson.util.IOException2: remote file operation failed

2012-12-13 Thread Joshua Boyd
On 12/12/2012 5:01 PM, Strausser, Barrett wrote: Can you not install the Slave as a service on the machine? If I install the slave as a service (choosing File->Install as Windows Service in the Jenkins slave agent), won't it have the same trouble with accessing the graphical interface? Or

Re: Problems with Windows Slaves: hudson.util.IOException2: remote file operation failed

2012-12-12 Thread Joshua Boyd
On 12/6/2012 11:06 AM, Jerry wrote: Hi, Joshua. When using the JNLP connection, I have found that we have gotten cryptic messages similar to this when the connection is lost. The JNLP connection is much more fragile than SSH, and if there is even a minor interruption in network connection

Problems with Windows Slaves: hudson.util.IOException2: remote file operation failed

2012-12-05 Thread Joshua Boyd
I am running Jenkins 1.480.1 on a Linux server. I have an XP slave for running browser tests. The slave is launched by javaws pointed at the jnlp URL given in the master in a batch file in the startup folder. For the last couple of nights, starting sometime between 12:00 and 1:00 AM until so

JENKINS_HOME on NFS

2012-11-07 Thread Joshua Boyd
Is it considered safe to point JENKINS_HOME to a NFS mount? Both the machine running Jenkins and the NFS server are linux. In trying to search for answers, I mostly see references to slaves pointing at NFS, not Jenkins master.

Re: Base Clearcase - Poll find changes but says "no changes"

2012-06-25 Thread Joshua Zarr
Hi, I am having the exact same issue, have you found a resolution to this problem? -Josh On Friday, June 8, 2012 12:05:51 PM UTC-4, Hugues Bernard wrote: > > Hi! > I am using Jenkins 1.467 and ClearCase plug-in 1.3.7. > I configured the polling. When a change is detected, lshistory lists it >

Re: Old Builds not getting discarded

2012-05-15 Thread Joshua J. Kugler
On Monday, April 30, 2012, Joshua J. Kugler elucidated thus: > On Friday, April 27, 2012, Anubhaw Shrivastav elucidated thus: > > Hi everyone, > > > > We have some jobs running on Jenkins configured to "Discard Old > > Builds", and despite setting "Max #

Re: Old Builds not getting discarded

2012-04-30 Thread Joshua J. Kugler
s keeping a fat bunch of > previous builds in workspace. Anubhaw: Please add your configuration details to this bug: https://issues.jenkins-ci.org/browse/JENKINS-13554 as it seems there is a growing number of users seeing this behavior. We only started seeing it with recent versions of Jenkins

Re: Matrix jobs does not automatically remove buid axis artifacts

2012-04-23 Thread Joshua J. Kugler
so, the artifacts are dropped and the > >> >> build are correctly > >> > >> deleted > >> > >> >> - however this is not the case for the axis jobs, if i go into > >> >> the > >> > >> page of > >> > >&g

Re: Matrix jobs does not automatically remove buid axis artifacts

2012-04-23 Thread Joshua J. Kugler
; >> page of > >> > >> >> one I can see a very long list of build not having been > >> >> correctly > >> > >> deleted > >> > >> >> (not synchronized with the master). I'm not taking about > >> >> master/slave > >> > >> >> machine, but the "builds" directory in: > >> ~/jenkins/jobs/MyJobName/configurations/axis-FOO/foo/axis-BAR/bar/ > >> builds > >> > >> >> not beeing synchronised with > >> >> ~/jenkins/jobs/MyJobName/builds/ > >> >> > >> >> Since each build takes 400 Mo on a 2 axis builds (4 > >> >> configurations), we quickly run out of disk space ! > >> >> > >> >> > >> >> Also, sometimes I cannot remove a given build (it says it > >> >> cannot be removed because another one is "kept"). It is > >> >> linked? > >> >> Thanks a lot. > >> >> - > >> >> Gaetan -- Joshua J. Kugler - Fairbanks, Alaska Azariah Enterprises - Programming and Website Design jos...@azariah.com - Jabber: pedah...@gmail.com PGP Key: http://pgp.mit.edu/ ID 0x73B13B6A

Error clicking "More..." for list of builds

2012-03-30 Thread Joshua J. Kugler
r 30 17:36:46 EDT 2012 I can access builds directly that are not in the first list, so they are there. There is nothing in the jenkins.log. Any ideas? Thanks! j -- Joshua J. Kugler - Fairbanks, Alaska Azariah Enterprises - Programming and Website Design jos...@azariah.com - Jabber: pedah...

Re: Jenkins site down?

2012-03-25 Thread Joshua J. Kugler
/ install plugins. I > haven't seen any info or questions on such an outage, and I'd like to > know if anyone could give an estimate when it would be back to > normal. > > Thanks! > > > Best regards, >Sampo Niskanen -- Joshua J. Kugler - Fairbanks, A

Re: Source of urrl and url in the JNLP file

2012-03-21 Thread Joshua J. Kugler
Bump? On Thursday, March 15, 2012, Joshua J. Kugler elucidated thus: > Howdy - > > Somewhat of a Jenkins newbie here. Trying to figure out a setup for > which I recently became responsible. > > In the JNLP file for a builder, there is this: > > -urrl > http://build.o

Source of urrl and url in the JNLP file

2012-03-15 Thread Joshua J. Kugler
e two different boxes (long story). Thanks! j -- Joshua J. Kugler - Fairbanks, Alaska Azariah Enterprises - Programming and Website Design jos...@azariah.com - Jabber: pedah...@gmail.com PGP Key: http://pgp.mit.edu/ ID 0x73B13B6A