Re: Another way to uninstall a plugin?

2023-01-10 Thread Peter Kunst
Getting rid of the WMI plugin warning implies updating to 2.386 for me. See https://issues.jenkins.io/browse/JENKINS-70301 Thanks Mark On Mon, Jan 9, 2023 at 7:28 AM 'Dirk Heinrichs' via Jenkins Users wrote: > > Am Sonntag, dem 08.01.2023 um 16:31 -0800 schrieb zil...@gmail.com: > > No it's not

Re: is there a way to get all the enabled jobs on a jenkins CI System

2022-10-15 Thread Peter Kunst
; fi done Cheers, Peter On Sat, Oct 15, 2022 at 9:47 AM Prakash T wrote: > > Hi , did you find the solution , even i m looking for the same. > > On Wednesday, 22 March 2017 at 01:09:41 UTC+5:30 Raj wrote: >> >> I would like to know if there is a way to use jenkins

LLVM scan-build jenkins plugin throws NullpointerExceptions

2022-07-26 Thread Peter
? Cheers, Peter -- 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 this discussion on the web vi

Re: Jenkins Terminology Poll for ‘master’

2020-07-21 Thread Peter L. Berghold
On Tue, 2020-07-21 at 12:18 -0700, Mark Waite wrote: > The Jenkins terminology poll for the “master” term replacement is > open at > Great... more virtue signalling. I suppose "master key" is right out too. -- Peter L. Berghold Blog: http://cowdawgkitchens.com Pas

Re: Parallel pipeline and Stage View

2020-02-22 Thread Peter Kunst
BTW, blue ocean still does not support subversion and will never do. Is this correct? On Sun, Feb 23, 2020 at 4:41 AM Jan Monterrubio wrote: > The blue ocean plugin might be able to give you the view that you want. In > my experience, the vanilla pipelines just append Columns to a table. > > On

Re: Blue Ocean Status Update

2019-11-27 Thread Peter
Followed the blue ocean attempt for some time, but missing support for subversion makes it impossible to integrate in our environment (until we'll switch to git). Cool stuff, anyways. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To

Re: several issues

2019-11-27 Thread Peter
cache?). BTW, a 'grep sshHostKeyVerificationStrategy nodes/*/config.xml' in CWD=~jenkins reports the expected class="hudson.plugins.sshslaves.verifiers.KnownHostsFileKeyVerificationStrategy" for all nodes. About Remoting disconnects: https://issues.jenkins-ci.org/browse/JENKINS-33287 is still reproducible on Windows with disabled IPv4 st

several issues

2019-11-25 Thread Peter
emporary privacy IPv6 privacy address? Somewhat related to https://issues.jenkins-ci.org/browse/JENKINS-33287, which is reproducible. Cheers, Peter -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop re

Clean useless files and directories

2019-09-30 Thread Peter Flanagan
Hello, working on Jenkins 2.150 hosted on on AWS-EC2, jenkins_home dir is located on an EFS The space of some Jenkins instances increase dramatically due to folder not removed automatically by internal Jenkins storage management. Using multi-branch jobs I got 2 major issues: - some branches

Writing a stream of logs from a shared library so they appear under one collapsible panel in Blue Ocean

2019-05-27 Thread Peter Goodman
Hi, So I have written some Groovy code in a shared library. I want that library to be able to write lots of logs (by polling an external api for the service I am integrating). However, if I use echo or println they appear as new sections in the Blue Ocean UI. [image: echo_in_blue_ocean.png]

White screen when downloading plugins

2019-04-29 Thread Peter Berghold
s a known problem 3) is there a viable workaround to get the page "working" again? -- Peter L. Berghold salty.cowd...@gmail.com http://devops.berghold.net -- You received this message because you are subscribed to the Google Groups "Jenkins Users&quo

Re: Anyone using Jenkins as a job scheduler?

2019-03-12 Thread Peter Berghold
; <https://groups.google.com/d/msgid/jenkinsci-users/7e0089b2-d2c5-431a-af5a-429fb98a9a5a%40googlegroups.com?utm_medium=email_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Peter L. Berghold salty.cowd...@gmai

Re: Class paths for Jenkins?

2019-03-12 Thread Peter Berghold
writing Jenkins > plugins. Refer to > https://jenkins.io/blog/2017/08/07/intro-to-plugin-development/ for that > blog post. > > Thanks, > Mark Waite > > On Tue, Mar 12, 2019 at 12:10 PM Peter Berghold > wrote: > >> Following up on a silly question fr

Class paths for Jenkins?

2019-03-12 Thread Peter Berghold
to /usr/share/java where other Java applications find their jars. Any pointers are appreciated. -- Peter L. Berghold salty.cowd...@gmail.com http://devops.berghold.net -- You received this message because you are subscribed to the Google Groups "Jenkins Users&q

Re: Adding java libraries to jenkins

2019-03-10 Thread Peter Berghold
Hmmm.. didn't look at it that way. Is it really that easy? On Sun, Mar 10, 2019, 21:21 Jan Monterrubio wrote: > Like a global jar that gets added to the class path? > > On Sun, Mar 10, 2019 at 9:12 AM Peter Berghold > wrote: > >> How would I go about adding java librari

Adding java libraries to jenkins

2019-03-10 Thread Peter Berghold
. Is this even possible? -- Peter L. Berghold salty.cowd...@gmail.com http://devops.berghold.net -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails fro

Jenkins stuck on 'Please wait while Jenkins is getting ready to work' after pressing 'Reload Configuration from Disk'

2018-10-25 Thread Peter Toennies
I am using Jenkins 2.138.2 on a RHEL7 x86_64 machine. It seems like I got Jenkins up and running. However, when I go to 'Manage Jenkins' and click on 'Reload Configuration from Disk' and press 'OK', Jenkins shows this is the browser: Please wait while Jenkins is getting ready to work ... Your

Re: Shared groovy library frustration

2018-10-17 Thread Peter Berghold
my simple shared library now works. I'll move on to more complicated ones next. Is this a problem with the version I was using dunno. On Wed, Oct 17, 2018 at 2:29 PM Peter Berghold wrote: > OK... seems this is somehow related to > https://issues.jenkins-ci.org/browse/JENKINS-45260 >

Re: Shared groovy library frustration

2018-10-17 Thread Peter Berghold
OK... seems this is somehow related to https://issues.jenkins-ci.org/browse/JENKINS-45260 is there at least a work-around? On Wed, Oct 17, 2018 at 10:16 AM Peter Berghold wrote: > Interestingly enough on a Jenkins server i manage where I have working > shared libraries (multiple) I don

Re: Shared groovy library frustration

2018-10-17 Thread Peter Berghold
gt; library have a load implicitly declared? > > https://jenkins.io/doc/book/pipeline/shared-libraries/ > > > > On Tue, Oct 16, 2018 at 14:49 Peter Berghold > wrote: > >> Here is a tree of a very simple "library" I set up: >> >> ├── bui

Shared groovy library frustration

2018-10-16 Thread Peter Berghold
e Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package net.berghold /** * * @author peter */ class MainTest implements Serializable { def Object context def void runme(){ context.sh('echo foobar')

Load balanced Jenkins?

2018-08-23 Thread Peter Berghold
I've been messing about a bit with Docker on Digital Ocean and was going to branch next onto Docker Swarm stuff. I was wondering about deploying Jenkins into a swarm and using a load balancer to switch between instances. Is anybody aware of way of having multiple instances of Jenkins using the

Re: Build on Nuget updates: does not seem to trigger using Generic-Artifactory Integration...

2018-03-29 Thread Peter Swallow
Did you ever resolve this? The documentation for the nuget plugin is non-existant. I can't even get it to run the "Nuget Trigger Polling" once. On Tuesday, 11 October 2016 23:52:11 UTC+1, RiRL wrote: > > I have setup a project to trigger "Build on NuGet updates" with a schedule > like [H/5 * *

Templating inside a Groovy pipeline?

2018-03-09 Thread Peter Berghold
Is there a text templating solution that *works* inside a Groovy pipeline? I tried both SimpleTemplate and StreamingTemplate and both error out with an exception somewhere in the bowels of the class. Am perhaps stuck with using a callout to a Perl script to get this to work? -- You received

Security Access Violation?

2018-01-15 Thread Peter Berghold
Anybody know what the heck this means and how to fix it? org.jenkinsci.plugins.scriptsecurity.sandbox.RejectedAccessException: unclassified new com.att.ncs.entities.PerlApplication WorkflowScript org.codehaus.groovy.runtime.GStringImpl java.lang.String java.lang.String java.lang.String at

Kubernetes Jenkins Workspace Missing

2018-01-10 Thread Peter Wiebe
For anyone that is running Jenkins inside of Kubernetes I keep running in to this error at different stages in a build: missing workspace /home/jenkins/workspace/microservices_master-C4XITRNJL24XVB242LAFAP2EBQBCDSTGI4MVXXF4JREVIVNXQMWA on jenkins-slave-hjmbd-11tcc At first I tried to put a

(Pipelines) String split; why isn't this working?

2018-01-08 Thread Peter Berghold
Given an input of: /data/ci/jenkins/workspace/PeterBLaboratory/Test-unittestlibobjs-10/somesubdir/somefile.txt I have a function: def basename(path){ def pieces pieces = path.split("/") context.sh 'echo first element: ' + pieces[0] context.sh 'echo path: '

Re: RejectedAccessException

2017-12-12 Thread Peter Berghold
OK: After deciding to put this project aside and not look at it for a while I came back to it and found out that I was being stupid. :-( The constructor for the Notification class has two parameters not one and in the heat of battle so to speak I forgot about the other one. Once I got that

RejectedAccessException

2017-12-08 Thread Peter Berghold
What does this mean and how do I fix it? org.jenkinsci.plugins.scriptsecurity.sandbox.RejectedAccessException: unclassified new com.att.ncs.actions.Notifications WorkflowScript somewhere in this: } catch (Throwable e) { currentBuild.result = "FAILURE" stage('squeal like

Jenkis Trigger Nightwatch JS Automation Testing

2017-12-06 Thread Wong Peter
Hello to all, How to configure Jenkins to trigger automation testing script of Nightwatch? I would need a step by step guide. Thanks all. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving

java.lang.UnsupportedOperationException: Refusing to marshal org.codehaus.groovy.runtime.GStringImpl for security reasons

2017-12-05 Thread Peter Berghold
what on earth does that message mean? Here is the code this seems to be happening to: class Notifications implements Serializable { def context def dataBlocks def mailLists def workspace // emailext body: 'my email body', subject: 'email subject', to: 't...@test.dev',

Re: Translation between declaritive pipleline and groovy pipeline

2017-12-04 Thread Peter Berghold
Kool! Thanks! I suspected as much but now I full understand what's going on. On Mon, Dec 4, 2017 at 1:15 AM Ramanathan Muthaiah wrote: > What would be the equivalent of this: >> >> post { >> always { >> echo 'One way or another, I have finished' >>

Translation between declaritive pipleline and groovy pipeline

2017-12-03 Thread Peter Berghold
What would be the equivalent of this: post { always { echo 'One way or another, I have finished' deleteDir() /* clean up our workspace */ } success { echo 'I succeeeded!' } unstable { echo 'I am unstable :/'

Re: Define a class inside a groovy pipeline?

2017-12-01 Thread Peter Berghold
Yep! That's the ticket. Thannks again Daniel! On Fri, Dec 1, 2017 at 2:06 PM Peter Berghold <salty.cowd...@gmail.com> wrote: > going to give it a shot Daniel. Thank! > > On Fri, Dec 1, 2017 at 1:56 PM Daniel Butler <danielsimonbut...@gmail.com> > wrote: > >>

Re: Define a class inside a groovy pipeline?

2017-12-01 Thread Peter Berghold
a groovy file of > methods you end up with class with the same name as the groovy file. Inside > the class you can call pipeline steps and access the global variables like > it’s a pipeline script. However I don’t think you can have anything other > than a no-arg constructor. > > &g

Define a class inside a groovy pipeline?

2017-12-01 Thread Peter Berghold
So I was playing around and tried something. Here's a class I defined: class MyClass implements Serializable { MyClass() { } def bark(){ sh 'echo WOOF!' } } and so I instantiate it def mc = new MyClass() and I access my method mc.bark() and I get

Re: Environmental values from a Groovy Pipeline.

2017-12-01 Thread Peter Berghold
d > unless there are strong requirements for absolute pathes, better just use > relative pathes (all steps will by default have the WORKSPACE as current > working dir). > > Björn > > > Am Donnerstag, 30. November 2017 21:48:15 UTC+1 schrieb Peter Berghold: >> >> I am mos

Environmental values from a Groovy Pipeline.

2017-11-30 Thread Peter Berghold
I am most interested in using the "WORKSPACE" value in the enviromental values. within my pipeline.. I use it as a base to create a staging directory from so I have a value defined such as: def outrepo="${env.WORKSPACE}/shipping-${env.BUILD_NUMBER}" what I am getting back from that is not what

Working pipeline has stopped working...

2017-11-29 Thread Peter Berghold
the only error I'm seeing is this: [sendRPMS] touch: cannot touch '/data/staging/repos/released@tmp/durable-e537873f/jenkins-log.txt what would cause this to happen? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this

Pipelines and @tmp directories

2017-11-29 Thread Peter Berghold
Simple question: is there a way to make a pipeline not create those? Or at the very least clean up after them? -- 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

Book recommendation: Mastering Jenkins

2017-11-16 Thread Peter Berghold
Hi folks, What I'm looking for in a new book to add to my digital bookshelf is something that will expand my knowledge (very sketchy at the moment) of Pipelines in Jenkins. In particular creating libraries to extend Pipelines. I've run into few things that I just cannot figure out by reading

try/catch in a pipeline?

2017-10-10 Thread Peter Berghold
I've noticed some "non-deterministic behavior" in my first few pipelines and I was wondering if there i some sort of try/catch structure I could use to catch errors. It would sort of look like this: try { sh 'some_unix_command' } catch { send_mail('Step foo failed on

Jenkins Pipelines and Puppet Code RSPEC testing

2017-10-10 Thread Peter Berghold
Hi folks, I've been considering creating Jenkins files inside all of my Puppet modules and converting from the way I'm dealing with our Puppet code today to using pipelines. A thumbnail of what I'm doing today with Jenkins is every Puppet module is "tested" within a Jenkins job which is a mix of

Re: Declarative pipeline docker executeable TCP supported?

2017-09-02 Thread 'Peter Teichner' via Jenkins Users
l Tool Confoguration, at the system > level https:///configureTools/, or in the Tool Location at the > node level https:///computer//configure > > > On Friday, September 1, 2017 at 6:40:32 PM UTC-4, Peter Teichner wrote: >> >> I've got a quick question: when using de

Declarative pipeline docker executeable TCP supported?

2017-09-01 Thread 'Peter Teichner' via Jenkins Users
I've got a quick question: when using declarative pipeline with the agent specified as a docker image how does the pipeline determine where the docker executable is? Is there a way to set a remote docker over TCP? agent { docker { image 'maven:3-alpine' label

Re: java.io.IOException: Unable to read /var/lib/jenkins/jobs/MyJobTest/config.xml

2017-08-17 Thread Peter Darton
I'd agree that the error isn't the most helpful error message :-/ If it were me, I'd start by enduring that the "workflow-job" plugin is at version 2.14 in the new server, as that's the version that the old job file is looking for. You could also try manually creating a job with that name and

Re: Weird failure in a build job (Python egg -> RPM)

2017-08-08 Thread Peter Berghold
ere it works? > > LC_ALL or LANG or ... > > Mark Waite > > On Tue, Aug 8, 2017 at 9:05 AM Peter Berghold <salty.cowd...@gmail.com> > wrote: > >> I have a Python egg that I'm trying to repackage into an RPM for a custom >> installation path. When the build is r

Weird failure in a build job (Python egg -> RPM)

2017-08-08 Thread Peter Berghold
I have a Python egg that I'm trying to repackage into an RPM for a custom installation path. When the build is run manually it goes off without a hitch. When the build is run within Jenkins (which is my preferred method) the build fails with a oddball Unicode error. I know this is not a Python

Re: Installing / maintaining Jenkins on a Linux host machine

2017-07-11 Thread Peter Berghold
dule. > > Thanks again for any advice or guidance! > > -Jason > > > > *From:* jenkinsci-users@googlegroups.com [mailto: > jenkinsci-users@googlegroups.com] *On Behalf Of *Peter Berghold > *Sent:* Tuesday, July 11, 2017 10:28 AM > *To:* jenkinsci-users@googlegrou

Re: Installing / maintaining Jenkins on a Linux host machine

2017-07-11 Thread Peter Berghold
I migrated my Jenkins installation over to Ubuntu from RHEL and haven't looked back. My drivers may be different than yours and my reason was I am using Jenkins to perform CI on my Puppet environment. Part of that is running some tests on the Puppet code before it is deployed and this works

Re: SSH Slave crashing immediately after start

2017-06-14 Thread Peter Berghold
Changing the version of Java to 1.8 did the trick. The slave is back online. On Wed, Jun 14, 2017 at 7:53 AM Peter Berghold <salty.cowd...@gmail.com> wrote: > Okay I guess I'm going to have to investigate how to get the newer version > of Java on Redhat. Redhat 6 at

Re: SSH Slave crashing immediately after start

2017-06-14 Thread Peter Berghold
pport java8 or higher, this includes your agents JVM. > > > /James > > > On Tuesday, June 13, 2017 at 9:05:40 PM UTC+1, Peter Berghold wrote: >> >> I'm trying to re-establish connectivity to an SSH slave that used to work >> when I was running a much older version o

SSH Slave crashing immediately after start

2017-06-13 Thread Peter Berghold
I'm trying to re-establish connectivity to an SSH slave that used to work when I was running a much older version of Jenkins. Currently I'm using v2.65. What I'm seeing (somewhat trimmed) in the log is the following: [06/13/17 20:04:05] [SSH] Checking java version of java [06/13/17 20:04:05]

Opportunity for MS SQL Server Database Consultant @ Washington, DC.

2017-03-31 Thread peter
) SQL Server Integration Services Thanks & Regards *Peter Bates* Business Consultant *Global Interworks Staffing Solution LLC* Email : pe...@gissllc.com www.gissllc.com -- You received this message because you are subscribed to the Google Groups "Jenk

Opportunity for Web Application Developer @ Palo Alto, CA.

2017-03-31 Thread peter
compatibility issues and ways to work around them · Experience with code versioning tools, such as Git, SVN, etc. · Database knowledge as a plus Thanks & Regards *Peter Bates* Business Consultant *Global Interworks Staffing Solution LLC* Email : pe...@gissllc

Opportunity for Apigee API Developer @ Oaks, PA.

2017-03-31 Thread peter
Testing APIs using tools like SOAPUI, REST Clients etc Apigee certification is advantage Agile development techniques Create API Specs using Swagger specifications Thanks & Regards *Peter Bates* Business Consultant *Global Interworks Staf

Re: Interactive input with new DSL

2017-03-17 Thread Peter Marcoen
I experience the same effect. I have a top-level agent definition for the agent I want to use by default. In some underlying step I want to use a very specific agent, this override works great. However, if I use "agent none" in an underlying step to accept input, the "default" node is still

Re: Are you using Bitbucket Branch Source?

2017-03-08 Thread Peter Hayes
I just tried it out on a repo with 25 branches and I could see that the one branch I pushed to, it immediately started a build for that branch and then continued to check the other branches. I then pushed one of the other branches and it picked that up first and then continued to check the

Re: [Declarative pipeline] Using Docker environment variables

2017-03-02 Thread Peter Marcoen
Could also be linked to this open issue: https://issues.jenkins-ci.org/browse/JENKINS-41204 -- 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: [Declarative pipeline] Using Docker environment variables

2017-03-02 Thread Peter Marcoen
Actually my issue looks a lot like this issue from 2015: https://groups.google.com/forum/#!searchin/jenkinsci-users/docker$20environment$20variables|sort:relevance/jenkinsci-users/TIwE0F_e8qs/6f4GP-a0CAAJ However, this was an issue with the Cloudbees custom docker plugin. -- You received this

[Declarative pipeline] Using Docker environment variables

2017-03-02 Thread Peter Marcoen
In my Dockerfile I install Ant and declare environment variables pointing to this Ant installation: FROM openjdk:7# Install wgetRUN apt-get update \ && apt-get install -y wget \ && rm -rf /var/lib/apt/lists/*# Install antENV ANT_VERSION 1.9.6RUN cd && \ wget -q

Re: Upgrade Jenkins from 1.580 to 2.32.2

2017-02-27 Thread Peter McNab
with it on the big majority of platforms (Centos 6 is not an issue at all for instance, I can relate). 2017-02-27 19:29 GMT+01:00 Peter McNab <pmc...@perforce.com <mailto:pmc...@perforce.com>>: I don't remember exactly when the change was made, but keep in mind that Java7 is requir

Re: Upgrade Jenkins from 1.580 to 2.32.2

2017-02-27 Thread Peter McNab
I don't remember exactly when the change was made, but keep in mind that Java7 is required for slave nodes with recent versions of Jenkins. If you have slave nodes without that available they will be dead in the water. Pete On 2/27/2017 9:59 AM, Raj wrote: Thank you for the feedback.

Excel Ole creation fails

2017-02-26 Thread Peter Homolya
Hello! I'm running a pretty large and complicated script on the Jenkins of our company. The one responsible for the maintanance of the script told me that everything went well on the Test Server, however when she tried running it on the live server, it suddenly crashed. Long story short:

Docker Pipeline Step

2017-02-23 Thread peter
functions in a shared groovy library with sh calls rn. Am I crazy? Are other people seeing this? What am I doing wrong? Thanks, -Peter -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving

Re: Build pipeline plugin can't find downstream job for manual trigger

2017-02-01 Thread Peter Nelissen
What do you mean with the folder? The project name? Pipeline name? Thanks! Peter On Monday, 18 July 2016 21:38:58 UTC+2, Guy Knights wrote: > > For anyone else dealing with this issue, I found the solution. I recently > moved to using folders in Jenkins 2.x, and it's necessary t

Re: Running SQL queries from a pipeline script?

2017-01-16 Thread Peter McNab
On 1/16/2017 10:47 AM, Peter McNab wrote: Oddly enough, after sending this I found I *was* able to skip the extra wrapper and make this work. I swear I had tried that earlier with no luck. (As it happens, I need to use the wrapper for other purposes) Pete On 1/16/2017 10:44 AM, Peter McNab

Re: Running SQL queries from a pipeline script?

2017-01-16 Thread Peter McNab
Oddly enough, after sending this I found I *was* able to skip the extra wrapper and make this work. I swear I had tried that earlier with no luck. (As it happens, I need to use the wrapper for other purposes) Pete On 1/16/2017 10:44 AM, Peter McNab wrote: On 1/12/2017 1:53 PM, Peter McNab

Re: Running SQL queries from a pipeline script?

2017-01-16 Thread Peter McNab
On 1/12/2017 1:53 PM, Peter McNab wrote: Has anyone got a working solution for running SQL queries from a pipeline script (specifically MySQL?) Pete Answering my own post...I've found a method that functions, although it's not ideal. 1) Install the "Pipeline Classpath Step Plugin 2)

Running SQL queries from a pipeline script?

2017-01-12 Thread Peter McNab
Has anyone got a working solution for running SQL queries from a pipeline script (specifically MySQL?) Pete -- 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: Running Job from pipleline - old code is excuted

2017-01-11 Thread Peter McNab
I saw a case like then after I changed the name of my Jenkinsfile, but forgot to update the filename in the "script to execute" part of the job configuration. Somewhat surprised to see that my workspace wasn't being cleaned between jobs, but it had me scratching my head for a bit. Pete

Re: Question about code change

2016-12-21 Thread 'Peter Teichner' via Jenkins Users
ssible, you could save the sha1 as an artifact with each build, and > have your pipeline code retrieve it. Then query git in your new build to > see whether the current sha1 is different (like 'git rev-parse HEAD'). > > Eric > > On 12/21/2016 9:10 AM, 'Peter Teichner' via Jenkins

Re: Question about code change

2016-12-21 Thread 'Peter Teichner' via Jenkins Users
gt; > On 21.12.2016, at 13:11, Peter Teichner <ptei...@googlemail.com > > wrote: > > > > Any ideas? > > https://github.com/daniel-beck/changelog-environment-plugin could > probably do this. Haven't gotten around to actually releasing this > unfortunately. > &g

Re: Question about code change

2016-12-21 Thread 'Peter Teichner' via Jenkins Users
. It's nested in the changeSet. Ideally I would like to be able to make a decision in the pipeline to execute or not execute a certain step based on whether or not there has been a change. On Wednesday, 21 December 2016 13:49:24 UTC, Richard Ginga wrote: > > Peter, build cause = scm

Re: Question about code change

2016-12-21 Thread 'Peter Teichner' via Jenkins Users
would still like to be able to find out if there was an SCM change. Any ideas? On Wednesday, 21 December 2016 10:51:14 UTC, Daniel Beck wrote: > > When the SCM changelog isn't empty? Or what are you asking for exactly? > > > On 21.12.2016, at 11:34, 'Peter Teichner' vi

Question about code change

2016-12-21 Thread 'Peter Teichner' via Jenkins Users
Hi there, Is anyone aware of a variable or flag that indicates whether or not there has been a code change on a build? Thanks -- 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,

Re: Pipeline: Hos to test them locally

2016-12-12 Thread Peter McNab
XgBS5DZGxTjMRZo%2B_PxpRZNQDHBJ5ubsQ%40mail.gmail.com <https://groups.google.com/d/msgid/jenkinsci-users/CALELY9HHZ1wnJq6fvXgBS5DZGxTjMRZo%2B_PxpRZNQDHBJ5ubsQ%40mail.gmail.com?utm_medium=email_source=footer>. For more options, visit https://groups.google.com/d/optout. -- Peter McNab | Engineering Tools Tech

Re: pipeline.. sometimes slaves just hang

2016-12-02 Thread 'Peter Teichner' via Jenkins Users
working, > so being able to timeout based on that stopping, that would work. > > On Friday, December 2, 2016 at 11:48:08 AM UTC, Peter Teichner wrote: >> >> You can implement timeout following this guide - this one is for user >> input but you can adapt it accordingly with a

Re: pipeline.. sometimes slaves just hang

2016-12-02 Thread 'Peter Teichner' via Jenkins Users
You can implement timeout following this guide - this one is for user input but you can adapt it accordingly with a try/catch block. https://support.cloudbees.com/hc/en-us/articles/226554067-Pipeline-How-to-add-an-input-step-with-timeout-that-continues-if-timeout-is-reached-using-a-default-value

Pipeline as code: how to determine code change

2016-12-02 Thread 'Peter Teichner' via Jenkins Users
I'm looking for a way to figure out if there was a code change on the execution. I think the getCauses() isn't the way forward because the execution could have been started by a timer. Is there any way of determining from pipeline if there was an actual code change? Thanks all -- You

Re: Pipeline: How to cache downloaded (gradle) dependencies using Docker SSH Slave

2016-11-26 Thread Peter Hayes
Jumping on an old thread but I have the same need using docker based agents. I was thinking of trying to write a cache plugin that achieves a similar caching capability that travis ci provides for arbitrary directories : https://docs.travis-ci.com/user/caching/#Arbitrary-directories In the

Re: Docker vs Docker-compose with Jenkins

2016-11-24 Thread 'Peter Teichner' via Jenkins Users
ent, > anyway). > > 2016-11-21 11:25 GMT+01:00 'Peter Teichner' via Jenkins Users < > jenkins...@googlegroups.com >: > >> Hi All, >> >> I'm slightly unsure whether the topic is more suitable here or on Docker >> forums - anyway I decided to post

Docker vs Docker-compose with Jenkins

2016-11-21 Thread 'Peter Teichner' via Jenkins Users
Hi All, I'm slightly unsure whether the topic is more suitable here or on Docker forums - anyway I decided to post it here. I have a pipeline whereby I have a job to build my Docker images using the Docker cloud plugin ( building 2-3 images at a time, application, db, proxy) In a separate job

RHEL slave

2016-11-16 Thread Peter Berghold
Got it working finally. Put the SSH slaves plugin on the master, added some credentials and from there it worked great. Thanks to all that replied to my original thread -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this

Crafting a plugin for Jenkins

2016-11-16 Thread Peter Berghold
One of the tasks I've assigned to Jenkins is managing packages for release to the test environment and to the production environment (two tasks?). I do this by creating two file trees for the packages to live in called "qa" and "released" with their purpose being rather intuitive. If the

Re: Slave Jenkins on an RHEL box

2016-11-15 Thread Peter Berghold
1mo...@gmail.com> wrote: > Sounds like the ssh command is failing. Maybe the password or private key > is wrong? > > > On Monday, November 14, 2016 at 10:28:20 AM UTC-6, Peter Berghold wrote: > > I have Jenkins running merrily on an Ubuntu box and want to set up a slave > on an

Slave Jenkins on an RHEL box

2016-11-14 Thread Peter Berghold
I have Jenkins running merrily on an Ubuntu box and want to set up a slave on an RHEL box. Created a script on the RHEL box that essentially launches a script that in turn launches the slave.jar. Trying to invoke it over SSH and there's where things take a turn for the worse. I'm getting this:

RE: Suggestions needed

2016-10-27 Thread Teichner Peter
Just to add to that - make sure you set the timeout on the shell / ssh to unlimited otherwise it will time out -Original Message- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of John Mellor Sent: 27 October 2016 13:34 To:

Question about Pipeline as code vs individual jobs

2016-10-25 Thread Teichner Peter
Hi Everyone, I've been playing with the Jenkins pipeline as code and it made me wonder: Should I do a POC for replacing complete build/test and deployment (to Nexus) individual jobs with one pipeline job which would have all steps inside it? Our build jobs are using mostly maven if that makes

RE: Is there a way to use Apache and Matrix based security together?

2016-10-25 Thread Teichner Peter
It depends how you store your original login details for the users – is it coming from an LDAP server? Perhaps for you it would make sense to use apache as a proxy but let Jenkins do the authentication by connecting to the original provider. From: jenkinsci-users@googlegroups.com

Re: Integrating Jenkins with chef

2016-10-24 Thread Teichner Peter
Which plugin are you using? Get Outlook for Android On Mon, Oct 24, 2016 at 8:39 PM +0100, "Lavanya pujari" > wrote: I am working on integrating jenkins with chef. So Inorder to communicate I need to fetch

RE: disable/hide logging of shell script content to console log

2016-10-24 Thread Teichner Peter
You can hide your output away from the script by redirecting the output to /dev/null but I think this the most you can do – the commands that you write will still be displayed. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Bhushan Kittur Sent: 24

RE: plugin issue..

2016-10-20 Thread Teichner Peter
Use the plugins page if possible as there might be dependencies to install with the plugin From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Prasu S Sent: 20 October 2016 15:52 To: Jenkins Users Subject: plugin issue.. I installed workflow-step-api

Re: Is there a way to make jenkins serve up script generated pages?

2016-10-19 Thread Teichner Peter
On Linux you have a tool called xsltproc which basically does the transformation. Assuming your Jenkins is Windows you could get something similar I'm sure. To display the HTML there is a plugin for Jenkins that will let you link in static pages to the job Get Outlook for

Re: Jenkins 2.24: Question about scm code change condition during build execution

2016-10-18 Thread Teichner Peter
. Thanks, Peter Get Outlook for Android<https://aka.ms/ghei36> On Tue, Oct 18, 2016 at 8:28 PM +0100, "Rachel" <raquel.moreno.carm...@gmail.com<mailto:raquel.moreno.carm...@gmail.com>> wrote: Hi Teichner, I don't know if I've understood you correctly, but

Jenkins 2.24: Question about scm code change condition during build execution

2016-10-18 Thread Teichner Peter
I'm trying to find the right solution for using a conditional multiple build step depending if there was a code change. I have seen a solution by checking ROOT_BUILD_CAUSE but that might be unreliable as the execution could be manually triggered but there could still be code change. I need this

Building RPMS from Jenkins job

2016-09-07 Thread Peter Berghold
I wonder if anybody else has had the experience that I've had. I have several jobs running in Jenkins right now that create an RPM file and deliver it to a repository. What I've observed is the rpmbuild command can error out and the build still get marked successful. Anybody else running into

Re: UnsatisfiedLinkError on slaves after restart of master

2016-08-16 Thread Peter McEvoy
See exact same behaviour with Jenkins 2.7.1 and TFS plugin 5.0.0.0... Updating plugins on master which needs to restart forces me to cycle all Jenkins agents... Little worried that this is almost a year later and not getting more attention... On Tuesday, 22 September 2015 16:00:52 UTC+1,

Re: Question regarding Jenkins pipeline setup

2016-08-01 Thread Peter Wiseman
Likewise, I'm concerned about a full checkout into workspace@script. Seems to be overkill if it's just to find the Jenkinsfile. With multiple active branches (each 3GB), that's seemingly quite a lot of unnecessary permanent storage. -- You received this message because you are subscribed to

configuring a plugin programmatically

2016-07-14 Thread Peter Lappo
of Jenkins so that I can start Jenkins on any machine with the last known configuration stored in git. Thanks Peter -- 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, sen

  1   2   3   >