[Extensions][Development][Test] Why JenkinsRule no longer finds my extension's WEB Endpoints?

2022-04-06 Thread 'Christian Yeste Vidal' via Jenkins Users
Hi, I'm developing an extensión for Jenkins, that consists of a new WEB API aimed to provide our ALM tooling with tailored operations on Jenkins. The starting point for me was this guide , which I have reproduced step by step.

Re: How to access jenkins using ip address remotely ?

2020-10-21 Thread 'Christian Brauchmann' via Jenkins Users
tl;dr You need to adjust httpListenAddress See here: https://stackoverflow.com/questions/64338546/making-jenkins-localhost-publicly-available-within-the-same-network/64339357#64339357 Am Mi., 21. Okt. 2020 um 13:20 Uhr schrieb Daniel Beck : > > > > On 20. Oct 2020, at 07:22, Vaibhav Khachane >

Re: how to use git commands inside a Multi Branch Project?

2020-05-29 Thread Christian Baumann
Hi all, I know this topic is rather old, but I´m facing the very same issue and was not able to find a proper solution. Has anything changed since this question has been raised and someone could provide an answer? Many thanks, Christian Am Mittwoch, 30. November 2016 12:20:22 UTC+1 schrieb

RE: Jobs with a wildcard tag refspec sometimes rebuild tags at same commit

2020-01-09 Thread Beushausen, Christian
Hi Eric, Mark, Could you keep the list updated? Or have you created a new issue on Jira for this? We do see this (or a very similar) issue also for at least one job in our environment Thank you and cheers. Mit freundlichen Gruessen/Best regards, Christian Beushausen I S PD SW SWF Interior

Cloud/Docker nodes missing node based security?

2019-12-09 Thread 'Christian Zagrodnick' via Jenkins Users
Hi, I'm missing the "Enable node-based security" for docker cloud nodes (/configureClouds that is). Am I missing something here? Best, Christian -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from

RE: jenkins pipeline - how to add another parallel to 2 other parallel.

2019-09-11 Thread Beushausen, Christian
Hi Prashanth, my understanding: What you want to achieve is not possible with declarative pipeline. You should be able to get this done with a scripted pipeline though. Note: Blue Ocean is not able to represent it. Mit freundlichen Gruessen/Best regards, Christian Beushausen I S PD SW SWF

RE: Recommended Plug in for migrating jobs between 2 jenkins instances

2018-11-09 Thread Beushausen, Christian
regards, Christian Beushausen I S PD SW SWF Interior Systems & Technology Besucheradresse / Visitor address: Continental Automotive GmbH Philipsstrasse 1, 35576 Wetzlar, Germany Rechnungsadresse / Invoice address: Continental Automotive GmbH Philipsstrasse 1, 35576 Wetzlar, Germany Phone:

RE: Jenkins Administration - Role-based Authorization Strategy - Manage & Assign Roles list really big

2018-10-30 Thread Beushausen, Christian
to one single point of entry. Br, Christian From: jenkinsci-users@googlegroups.com On Behalf Of gotviser...@gmail.com Sent: Mittwoch, 24. Oktober 2018 21:50 To: Jenkins Users Subject: Jenkins Administration - Role-based Authorization Strategy - Manage & Assign Roles list really big We use

Re: can I have concurrent steps in a pipeline?

2018-10-17 Thread Beushausen, Christian
and then shut it down. Notify and archive afterwards as needed. If step 4 fails have your post step handle the error accordingly. Mit freundlichen Gruessen/Best regards, Christian Beushausen I S PD SW SWF Interior Systems & Technology Besucheradresse / Visitor address: Continental Automotive

How to use Jenkins pipeline method parameters in Powershell script?

2018-08-03 Thread Daniel Christian Schröter
I ask this question already on https://stackoverflow.com/questions/51622150/how-to-use-jenkins-pipeline-method-parameters-in-powershell-script, but maybe here is someone to help me. I defined the following method in jenkins declarative pipeline, but I am not able to use the variables/output

Antwort: Parallel Build issue

2018-05-04 Thread Christian . Beushausen
approach. Especially since I am building in parallel on the same node I am reusing the original workspace and all checked out sources and build in a new subdirectory of the workspace. Hope this helps. Christian jenkinsci-users@googlegroups.com schrieb am 04.05.2018 07:53:42: > Von: Somshekar C Ka

Question on behaviour of workflow-multibranch-plugin when building pull requests

2018-04-18 Thread Christian . Beushausen
et me know if this is the expected behaviour and if you are aware of any possible workarounds? Mit freundlichen Gruessen/Best regards, Christian Beushausen I S PD SW SWF Interior Systems & Technology Besucheradresse / Visitor address: Continental Automotive GmbH Philipsstrasse 1, 35576 Wetzlar, Germany Re

AWS EC2/ECS and parallel dockerised stages

2018-04-07 Thread Christian Gagneraud
Hi there, >From within a pipeline i would like to generate parallel jobs, and i want all these jobs to run as ECS tasks using different specialised docker images. Can I use this syntax to achieve that? stages { stage ('Parallel builds') { parallel { stage ('Build#1') {

Re: Windows agent can't delete workspace

2018-03-17 Thread Christian Gagneraud
On 18 March 2018 at 03:21, Sean Talts wrote: > Hey all, > > I'm having this sudden crazy problem where my Windows agent can't delete > some files in its workspace anymore, failing all builds. It's getting a > java.nio.file.AccessDeniedException on some files that it

Re: Problems with (Declarative) pipeline in AWS ECS

2018-03-17 Thread Christian Gagneraud
On 17 March 2018 at 21:15, Christian Gagneraud <chg...@gmail.com> wrote: [...] > It looks to me that the templated jenkins-slave container doesn't > share /homme/jenkins with it's host, and so side containers > (python:2.7 in my case) cannot inherit them. > > Does anyone know

Problems with (Declarative) pipeline in AWS ECS

2018-03-17 Thread Christian Gagneraud
Hi there, Running Jenkins 2.89.4 (BlueOcean), with Amazon EC2 Container Service plugin v 1.11 I have successfully setup my self-hosted docker host connected to jenkins using the "docker cloud" plugin, i can get this cloud execute declarative pipelines that needs docker container such as:

Re: Logs inside BlueOcean do not get updated automatically

2018-03-06 Thread Christian Ciach
> On Mon, 05 Mar 2018, Vivek Pandey wrote: > > > Hi Christian, > > > > This looks like regression. I have opened > > https://issues.jenkins-ci.org/browse/JENKINS-49929, we are going to > take a > > look at it. Thanks for reporting. > > >

"Bitbucket Team/Project"

2018-03-05 Thread Christian Gagneraud
I'm trying the "Bitbucket Team/Project" (which uses the "multibranch Pipeline"). Using "jenkinsci/blueocean:latest" docker image. When i create a new ""Bitbucket Team/Project"" item, the BB project is scanned, project is added and repo too. Repo that have a "/Jenkinsfile" are picked up and built,

Logs inside BlueOcean do not get updated automatically

2018-03-05 Thread Christian Ciach
to debug this? Best regards, Christian Ciach -- 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

Re: [solved] Re: Docker cloud plugin and pipeline using docker

2018-02-27 Thread Christian Gagneraud
On 27 February 2018 at 04:55, nicolas de loof wrote: > For a dockerized agent to be able to run docker pipeline, it has to use a > volume for workspace directory so this one can be shared with other > containers it creates. > Your docker agent template should be

[solved] Re: Docker cloud plugin and pipeline using docker

2018-02-25 Thread Christian Gagneraud
On 26 February 2018 at 15:29, Christian Gagneraud <chg...@gmail.com> wrote: > On 26 February 2018 at 03:10, nicolas de loof <nicolas.del...@gmail.com> > wrote: >> docker support in declarative pipeline relies on docker-workfow plugin, >> which require the jenkins s

Re: Docker cloud plugin and pipeline using docker

2018-02-25 Thread Christian Gagneraud
On 26 February 2018 at 03:10, nicolas de loof wrote: > docker support in declarative pipeline relies on docker-workfow plugin, > which require the jenkins slave to have access to a LOCAL docker daemon, > which means the docker agent you are provisioning on computer B

Docker cloud plugin and pipeline using docker

2018-02-25 Thread Christian Gagneraud
Hi there, I have a machine A that runs Jenkins and Bitbucket-server in docker containers. I have a machine B, that just has docker listening over tcp. I have a project that uses Declarative pipeline with "agent { docker 'foobar:X.Y'}" I'm using "jenkinsci/blueocean:latest" docker image with

Re: Is there a way to name shell scripts for BlueOcean?

2017-12-13 Thread Christian
I like the second approach. Thank you. Am Dienstag, 12. Dezember 2017 20:35:44 UTC+1 schrieb Victor Martinez: > > IIRC, you cannot label them but you can use the suggested approach as > explained here >

Is there a way to name shell scripts for BlueOcean?

2017-12-12 Thread Christian
? Regards, Christian -- 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

Jenkins build unstable while loading artifact from repo.maven.org instead of internal Nexus.

2017-11-15 Thread Christian
Hello, one of my build gets "UNSTABLE" while downloading two artifact from the Arquillian deployment dependencies. For some reason it does not load the dependency from the internal Nexus repository which does contain the required artifacts. This is the message in the logs: Nov 15, 2017

Select checkout branch dependent on a build parameter

2017-09-28 Thread Christian
thank you and best regards, Christian -- 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

Can't create freeStyleJobs, getting "IllegalArgumentException: Expected named arguments"

2017-09-28 Thread Christian
Hello, I am trying to use the nexus-artifact-uploader-plugin to upload the packaged war files to my nexus 3 repository. The nexus-artifact-uploader provides an example which I modified, but for some reason it already fails when it gets to the name. This is my code: def uploadToNexus(module)

Re: Blue Ocean: Is it possible to populate the column "message" from a pipeline script?

2017-04-03 Thread Christian Kerth
Posted on wrong list before but already answered: https://groups.google.com/d/msg/jenkinsci-dev/Odm2GnXNI40/YvIUZL9HBAAJ On Monday, April 3, 2017 at 3:20:41 PM UTC+2, Christian Kerth wrote: > > Is it possible to manually populate the message column in the run overview > page for a

Blue Ocean: Is it possible to populate the column "message" from a pipeline script?

2017-04-03 Thread Christian Kerth
Is it possible to manually populate the message column in the run overview page for a pipeline? I don't use the commit feature and want to display different information there. Classic UI had e.g. manager.addShortText.

Re: Pipeline documentation jenkins-book vs realty?

2017-02-15 Thread christian polzer
Thanks again... it is hurting, thou:) On Wednesday, February 15, 2017 at 2:24:56 PM UTC+1, Daniel Beck wrote: > > > > On 15.02.2017, at 14:21, christian polzer <christia...@gmail.com > > wrote: > > > > Should i report that with lts version and version of all

Re: Pipeline documentation jenkins-book vs realty?

2017-02-15 Thread christian polzer
ll plugins?? On Tuesday, February 14, 2017 at 1:14:26 PM UTC+1, Daniel Beck wrote: > > > > On 14.02.2017, at 11:59, christian polzer <christia...@gmail.com > > wrote: > > > > Would it be possible to somehow track the version the documentation is > written f

Re: Pipeline documentation jenkins-book vs realty?

2017-02-14 Thread christian polzer
AM UTC+1, Daniel Beck wrote: > > > > On 14.02.2017, at 10:22, christian polzer <christia...@gmail.com > > wrote: > > > > I just wondered if the pipeline example is pseudo code and if so - if it > has to? > > > > You don't have the correct plugin i

Re: Pipeline documentation jenkins-book vs realty?

2017-02-14 Thread christian polzer
self is missing > > Can you comment? > > On Monday, 13 February 2017 19:31:37 UTC+5:30, R Tyler Croy wrote: > >> (replies inline) >> >> On Mon, 13 Feb 2017, christian polzer wrote: >> >> > Hello, >> > >> > I am currently trying to sp

Re: Pipeline documentation jenkins-book vs realty?

2017-02-14 Thread christian polzer
e documentation and all. I just wondered if the pipeline example is pseudo code and if so - if it has to? Thanks for the good work and kind regards, chris On Monday, February 13, 2017 at 3:01:37 PM UTC+1, R Tyler Croy wrote: > > (replies inline) > > On Mon, 13 Feb 2017, christi

Pipeline documentation jenkins-book vs realty?

2017-02-13 Thread christian polzer
Hello, I am currently trying to spread pipeline usage for a jenkins environment within my fellow coworkers. Of course, th jenkins pipeline is greatly embrased :) But what is the documentation in the jenkins book about? Fellow CoCoders stumble over the jenkinsfile chapter as the examples are

Re: Jenkins2 pipeline - Global methods in shared-library fails when invoked

2017-02-02 Thread Tor Christian Solevågseide
ed to import a global variable/function, since this > will force the compiler to interpret fields and methods as static even if > they were intended to be instance. The Groovy compiler in this case can > produce confusing error messages. /TC fredag 20. januar 2017 12.24.21 UTC+1 skr

Docker Hub Notification plugin

2017-01-23 Thread Christian Del Pino
Hello, Anyone have experience with the Cloudbees Docker Hub plugin: https://wiki.jenkins-ci.org/display/JENKINS/CloudBees+Docker+Hub+Notification I have been trying to get this to work in my environment with no luck. I keep getting errors on the Docker Hub side, but with no explanation as to

Jenkins2 pipeline - Global methods in shared-library fails when invoked

2017-01-20 Thread Tor Christian Solevågseide
ngry!] Jenkins version 2.41 Pipeline plugin 2.4 Any idea what's going on here? Feels like a bug, or at least wrong doc...? regards Tor Christian Solevågseide -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from t

Doing rollbacks with Jenkins pipeline

2016-11-17 Thread Christian Posta
Looking for thoughts on how to add rollback steps to a Jenkinsfile / pipeline when something fails.. for example, i may want to do a rollback of DB changes if a pipeline fails in a particular stage, etc. Any pointers would be appreciated! -- You received this message because you are

Re: How exactly does stash / unstash work AND how to use the same node in different stages

2016-07-04 Thread Christian Ditscher
> Hi, > > Maybe > https://groups.google.com/d/msg/jenkinsci-dev/nAZD0-upB68/YwYjqmKgAwAJ > can be of help for you? > > Björn > > Am Donnerstag, 30. Juni 2016 18:03:19 UTC+2 schrieb Christian Ditscher: >> >> Hello, >> >> I was wondering how exactly t

How exactly does stash / unstash work AND how to use the same node in different stages

2016-06-30 Thread Christian Ditscher
Hello, I was wondering how exactly the stash unstash commands work. When are the files transferred? - stash transfers selected files to master and unstash loads them from master to a slave? - stash attaches a label to the files which are transferred between the nodes when

Re: Split Pipeline script into multiple files -- run it without unnecessary nodes

2016-06-15 Thread Christian Ditscher
ith the same problem as you now have and solved it by using > global pipeline scripts. > These global script are stored in Jenkins git repository workflowLibs.git > and can be accessed within all pipeline scripts. > > onsdag 15. juni 2016 12.46.26 UTC+2 skrev Christian Ditscher følg

jenkinsci/jenkins docker image ssl issues

2016-05-25 Thread christian polzer
Hello, I am currently trying to evaluate an update to Jenkins 2.x here at work with the actual docker image of jenkinsci/jenkins. For this I need to git pull my git repo from a selfhosted Bitbucket/Stash Server via https. Of course, the docker image's JVM has no clue of that cert. So I

Email-Ext and Pipeline - How to add Culprits and Developers as recipients?

2016-05-02 Thread Christian Ditscher
Hi, when using the email-ext plugin in a free-style Job I can select that mails are sent to Culprits and Developers. When using the plug-in in a pipeline script I don't know how to do this (the snippet generator doesn't offer to check this options.) --> How can I send mails also to Culprits

How can I set up a job schedule which triggers new jobs when a specific set of prerequisite jobs terminate?

2015-11-16 Thread Christian Goetze
Essentially, this: http://stackoverflow.com/questions/32704360/how-can-i-trigger-a-jenkins-job-upon-completion-of-a-set-of-other-jobs# I know about the multijob plugin and I know about the workflow plugin. Both are useless, as they only allow me to schedule static "phases", which turn out to

Re: Maven artifact consistency when using multiple slaves

2015-10-21 Thread Christian Flamm
bump? :-( -- 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 visit

Re: Build-Monitor/Wall Display including Maven Reactor Modules

2015-07-10 Thread Christian Flamm
*bump* -- 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 visit

Build-Monitor/Wall Display including Maven Reactor Modules

2015-07-07 Thread Christian Flamm
Hi, does anyone know a Jenkins Build-Monitor / Wall Display that is able to display the status of (selected) module builds of a Maven reactor build? I'm having problems doing this with the build-monitor-plugin. Regards, Thx in advance, Christian -- You received this message because you

Re: Jenkins Email Notifications

2015-07-06 Thread Christian Flamm
Hey slide - after seeing some postings of yours I'm under the impressionism you might have something to do with email-ext...? :-) Having a look at my initial posting - how would you configure emai-ext to achieve the desired behavior? Regards + thanks in advance, Christian -- You received

Re: Jenkins Email Notifications

2015-07-05 Thread Christian Flamm
Hi, thx, did that already. What I liked was how easy it is to send an email to the person responsible for the first build break in an row. That works great. What I didn't like was how well it worked to send a back to stable email to that person again. It seemed to have trouble determining the

Re: Jenkins Email Notifications

2015-07-04 Thread Christian Flamm
know about and about which they don't care (=spam) If I want people to take such notifications seriously I must send as little of them as possible. Else people will perceive them as noise. That's the last thing I want. Regards, Christian -- You received this message because you are subscribed

Jenkins Email Notifications

2015-07-03 Thread Christian Flamm
failing build and (b) to every committer since the build failed for the first time. Anyone? Thanks in advance, Christian -- 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

Maven artifact consistency when using multiple slaves

2015-07-02 Thread Christian Flamm
build *n*, but those from build *n* are missing - Jenkins job does an inconsistent reactor build of mixed version modules. Question: Is there a possible solution other than having a fixed assignment between branch job and slave node? Thanks ind advance, Christian -- You received

Re: Let running Jenkins job fail/succeed from outside?

2015-06-02 Thread Christian Flamm
*bump* -- 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 visit

Re: Let running Jenkins job fail/succeed from outside?

2015-05-22 Thread Christian Flamm
Is there a way to make a job immediately stop do what he's doing after setting the builld result? Ideas anyone? -- 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

Re: Let running Jenkins job fail/succeed from outside?

2015-05-13 Thread Christian Flamm
Doing this by setting shell environment variables doesn't seem to work - what am I doing woring? Thx! -- 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: Let running Jenkins job fail/succeed from outside?

2015-05-13 Thread Christian Flamm
To be a bit more precise: I can now run the command, without any complains about ... that it has to be run from within a build ... but it has no effect. Am Mittwoch, 13. Mai 2015 09:53:10 UTC+2 schrieb Christian Flamm: Doing this by setting shell environment variables doesn't seem to work

Re: Let running Jenkins job fail/succeed from outside?

2015-05-13 Thread Christian Flamm
after setting the builld result? Thx! Am Mittwoch, 13. Mai 2015 10:01:49 UTC+2 schrieb Christian Flamm: To be a bit more precise: I can now run the command, without any complains about ... that it has to be run from within a build ... but it has no effect. Am Mittwoch, 13. Mai 2015 09:53:10

Let running Jenkins job fail/succeed from outside?

2015-05-08 Thread Christian Flamm
Hi, is there a way to tell a running Jenkins job it has either failed/succeeded from outside? Something like a REST-like access to be able to finish running Jobs either way. Thanks in advance, Christian -- You received this message because you are subscribed to the Google Groups Jenkins

Re: Jenkins freezes for ~10 sec at first connect

2015-05-05 Thread Christian Flamm
fully loaded means that the Jenkins Webapp is fully up and running. -- 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.

Jenkins freezes for ~10 sec at first connect

2015-05-05 Thread Christian Flamm
Whenever Jenkins is fully loaded and somebody attempts a connect via browser it takes about 10 seconds until Jenkins' main page appears. Every subsequent attempt is answered immediately. This state remains for a couple of minutes. So there's an amount of time that needs to pass until a first

Embeddable Build Status Plugin - URLs without view name?

2015-01-24 Thread Christian Galsterer
Hi, I'm planning to implement an enhancement for the Embeddable Build Status plugin and wanted to get feedback from the community which way is preferred. Currently the links for the build status badge contain always the full path for the selected job, i.e. when a job is listed as part of a

Re: Implement custom NodeProvisioner strategy

2015-01-14 Thread Christian Lipphardt
Hi, I am also interested in this topic, because we use the docker cloud plugin too and there is no load balancing. It just tries to fill up the first cloud before it moves on to provision slaves on the second configured cloud. Cheers, Christian -- You received this message because you

Simple way to temporary exclude job from running on a node in a label group

2014-12-19 Thread Christian
a configuration on the node: Exclude job with name: jobA Thanks, Christian -- 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

How to use Skip Certificate Check plugin?

2014-10-08 Thread Christian Baumann
Hi all, I´ve installed the Skip Certificate Check plugin on our Jenkins server, re-downloaded slave.jar jnlp to the agent, but when I start them, I still get the message about the untrusted SSL certificate. Any advice? Thanks in advance, Christian -- You received this message because you

Re: How can I make a label change be effective?

2014-05-11 Thread Christian Goetze
, at 21:40, Christian Goetze christia...@appdynamics.comjavascript: wrote: I just filed https://issues.jenkins-ci.org/browse/JENKINS-22954 It appears that if I change the node label string via groovy, that change is not immediately effective, even if I save the model. If I launch

How can I make a label change be effective?

2014-05-09 Thread Christian Goetze
I just filed https://issues.jenkins-ci.org/browse/JENKINS-22954 It appears that if I change the node label string via groovy, that change is not immediately effective, even if I save the model. If I launch a subtask from the task that make the label change, that subtask will run on a node where

Re: Anyone know.of/use an dashboardable/tablular/trendable arbitrary number plugin?

2014-03-18 Thread Christian Willman
What language are you interested in? Sounds like SonarQube is right up your alley. Anything like that in existence that anyone knows about? -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving

How do I persist changes to the model made via a Groovy script to disk?

2014-03-16 Thread Christian Goetze
I recently learned that I can use the script console to run groovy scripts to modify items in the model. Specifically, I would like to add, change and remove slave node labels via a script. I can make a script like this for example: hudson.model.Hudson.instance.slaves.each { slave -

Re: How do I persist changes to the model made via a Groovy script to disk?

2014-03-16 Thread Christian Goetze
Thank you - that appears to work. On Sun, Mar 16, 2014 at 1:37 PM, Richard Lavoie lavoie.rich...@gmail.comwrote: Have you tried hudson.model.Hudson.instance.save() ? On Sun, Mar 16, 2014 at 4:07 PM, Christian Goetze christian.goe...@appdynamics.com wrote: I recently learned that I can

Re: How do I persist changes to the model made via a Groovy script to disk?

2014-03-16 Thread Christian Goetze
What is the best way to discover all these nice things one could do...? Do I really need to fire up an IDE and explore the source? On Sun, Mar 16, 2014 at 1:41 PM, Christian Goetze christian.goe...@appdynamics.com wrote: Thank you - that appears to work. On Sun, Mar 16, 2014 at 1:37 PM

Re: Is it possible to have non editable execute shell for users?

2014-03-11 Thread Christian Willman
option is a lot more work but reusable. The second option is a good internal hack but has very limited reuse. What do you think? Maybe there's a much better option? ☺ Cheers, Christian On Monday, March 10, 2014 6:44:41 PM UTC-4, Stephen Connolly wrote: I think you need to see where I am going

Re: Is it possible to have non editable execute shell for users?

2014-03-10 Thread Christian Willman
Stephen, No biggie for us. We use the Maven enforcer plugin to ban antrun and exec. :-) Cheers, Christian On Monday, March 10, 2014 7:56:49 AM UTC-4, Stephen Connolly wrote: Like that's going to stop them... plugin groupIdorg.codehaus.mojo/groupId artifactIdexec

Re: how to modify the jenkins ${BUILD_URL} ?

2014-03-10 Thread Christian Willman
Might want to switch over to a hostname to prevent this problem. On Monday, March 10, 2014 3:15:26 AM UTC-4, tzxs...@gmail.com wrote: hi all, my ip is xxx.xxx.xxx.10 ,after some time, I modify the ip to xxx.xxx.xxx.11, then I get the value of ${BUILD_URL} ,but the value is 10 not

Re: Running a job while slave is offline

2014-03-09 Thread Christian Willman
()#getComputer(...) and mark it as offline with setTemporarilyOffline(...). The next builder will perform whatever tasks you want, and a final System Groovy script will mark the slave as online. If you can more thoroughly describe your goals then we can likely suggest a better means. Cheers, Christian

Re: Is it possible to have non editable execute shell for users?

2014-03-09 Thread Christian Willman
in this use case right now. Cheers, Christian -- 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. For more options, visit https

Re: Getting rid of multiple workspaces for a job

2014-03-09 Thread Christian Willman
Small correction, it means ABC was running in parallel, so Jenkins created separate workspaces to isolate each parallel execution. Jenkins will use a job's singular workspace across serial builds, even if each build occurred on a different executor. On Thursday, March 6, 2014 10:06:35 PM

Re: How to tell Jenkins to provide settings.xml to Maven?

2014-03-06 Thread Christian Willman
Depends. Are you using a MavenBuild or a FreestyleBuild? The Config File Provider plugin will hook into a MavenBuild, but for a FreestyleBuild (using the Invoke Maven Top-Level Targets build step), you will need to enable the Provide configuration files Build Environment task and then modify

Re: Strategies to disk-risk a Jenkins upgrade

2014-03-06 Thread Christian Willman
To start, our jobs are 99% sameness. Most of our codebase can be built using one standard job, running a well-defined list of Maven commands. Realistically only the job name, SCM URL, and maybe timer or downstream job list are variable. So the first step in mitigating risk is to group like

Re: Scheduled Safe Restart

2014-03-06 Thread Christian Willman
Precisely what we do. Every morning we run a scheduled job to grab and install our master list of Jenkins plugins and then trigger a safeRestart via a System Groovy build step. Works like a charm and hasn't failed us in over six months. One thing to watch out for: if your developers have a

Re: best approach to automate/manage jenkins jobs?

2014-03-06 Thread Christian Willman
I don't like any of the open source templating plugins. I think they're rather inflexible and inelegant. I like the Cloudbees templating plugin but it's not necessarily cheap and you need to be familiar (or become familiar) with jelly. We're in the same boat -- 99% of jobs share 99% of the

Re: best approach to automate/manage jenkins jobs?

2014-03-06 Thread Christian Willman
horizontal vs vertical scaling. A lot of the Cloudbees marketing material also mentions this well. Cheers, Christian. On Thursday, March 6, 2014 9:02:44 AM UTC-5, LesMikesell wrote: On Thu, Mar 6, 2014 at 3:46 AM, Christian Willman cew...@gmail.comjavascript: wrote: But now we have

Re: Is a central/shared local Maven Repo still Not safe for Jenkins master and many slaves?

2014-03-06 Thread Christian Willman
write up a blog post of your setup... sounds like you have a local minima set of best practices... they may not be the best practices for everyone, but there are probably quite a lot of people who could share your local minima On 6 March 2014 09:21, Christian Willman cew...@gmail.com

Re: How can I see all builds in a job via api/json ?

2014-02-21 Thread Christian Goetze
Hacky solution: curl -d 'script=println Jenkins.instance.getItem(jobName).builds.each{ println ${it.number}:${it.startTimeInMillis}:${it.duration}:${it.result} };' http://localhost:8080/scriptText On Thursday, February 20, 2014 5:35:19 PM UTC-8, Christian Goetze wrote: WHen I run url/job

How can I see all builds in a job via api/json ?

2014-02-20 Thread Christian Goetze
WHen I run url/job/jobname/api/json?tree=builds[url], then I get a list of some builds, but not all the builds I can retrieve via the UI? What's the magic to get all builds? -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from

How to turn off looking up the previous build?

2013-12-12 Thread Christian Goetze
I have a Jenkins job which can get triggered in a variety of ways, either via SCM polling or via a Gerrit trigger. The order in which the jobs are run has no real relationship to the ordering of the commits being built, so comparing the current build with the previous build is not very useful.

SSH-Agent git problem

2013-10-23 Thread Christian Beikov
Hello, I have a problem with jenkins git plugin and ssh-agent checking out from a bitbucket git repository. The credentials defined for the ssh-agent are the right ones. I have no clue what this error is about. Please help me. My system: OS: Darwin 9.8.0 JVM: Oracle Zero VM 21.0-b17 AS:

Re: SSH-Agent git problem

2013-10-23 Thread Christian Beikov
) at jnr.ffi.provider.jffi.NativeRuntime.init(NativeRuntime.java:41) at jnr.ffi.provider.jffi.NativeRuntime$SingletonHolder.clinit(NativeRuntime.java:53) ... 97 more Mit freundlichen Grüßen, *Christian Beikov* Am 23.10.2013

Jenkins Maven NPE

2013-10-23 Thread Christian Beikov
(Executor.java:246) http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Executor.runentity=method -- Mit freundlichen Grüßen, *Christian Beikov* -- You received this message because you are subscribed to the Google

Subversion Plugin - when release of 1.51?

2013-08-30 Thread Christian Ehrlicher
version is newer and refuses to use it (and the name is still subversion.hpi but shouldn't it be subversion.jpi?). And even when I force it to load (by stopping the server and deleting subversion subdir and subversion.jpi) it somehow does not work :( Thx, Christian Ehrlicher -- You received

Right procedure to...

2013-08-29 Thread Christian Catalano
and to prove it - how I can obtain a CVE Identifier Best regards Christian -- 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

Right procedure to send for Security Advisories

2013-08-29 Thread Christian Catalano
and to prove it - how I can obtain a CVE Identifier Best regards Christian -- 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

Re: Right procedure to send for Security Advisories

2013-08-29 Thread Christian Catalano
Ok I am doing it... is this the right procedure to obtain a CVE too? Can you help me? Christian On Thu, Aug 29, 2013 at 12:47 PM, teilo teilo+goo...@teilo.net wrote: Hi Christian, You should create an issue in the Jenkins bug tracker under the Security Issues project. This project has

Re: Jenkins is extremely slow and takes 100% cpu

2013-05-22 Thread Christian Petry
Hi, I have profiled Jenkins with yourkit, it seems, that it is thishttps://issues.jenkins-ci.org/browse/JENKINS-14362 issue. I will try to disable the compression filter with the Option -Dorg.kohsuke.stapler.compression.CompressionFilter.disabled=true Greetings, Christian Am Donnerstag, 16

Re: Jenkins is extremely slow and takes 100% cpu

2013-05-16 Thread Christian Petry
Hi, i do not know how much is a lot of Jobs at the moment we have about 200 Jobs which keep the builds for 30 Days, but i think that there are not more than 50 kept builds per job. Many jobs have much less builds. Christian Am Donnerstag, 16. Mai 2013 15:45:22 UTC+2 schrieb James Nord

Re: Jenkins is extremely slow and takes 100% cpu

2013-05-16 Thread Christian Petry
Hi, i found a hint that jenkins has a Performance Problem since 1.506, so i downgraded to 1.505. At first it looked as if the performance got better, but it seems that the load on my machine raises constantly. Christian Am Donnerstag, 16. Mai 2013 16:42:22 UTC+2 schrieb Christian Petry: Hi

Triggering downstream builds from an unstable maven job

2013-05-08 Thread Christian Petry
doing something wrong, because there have been some bugs with the same problem, but these are all set to resolved some years ago. Is there a special setting for maven jobs that enables triggering of downstream builds even if the job is unstable? Greetings, Christian -- You received

Re: Triggering downstream builds from an unstable maven job

2013-05-08 Thread Christian Petry
Hi, maybe i should say something about my environment ;-) I use jenkins 1.499 on an Ubuntu Linux 12.04. and Maven 2 Greetings, Christian Am Mittwoch, 8. Mai 2013 13:10:52 UTC+2 schrieb Christian Petry: Hi, i have a problem with jenkins maven jobs. When a build becomes unstable, it does

Re: Optionally Archive Artifacts

2013-03-11 Thread Christian Baumann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thank you! Worked like a charm! Am 08.03.2013 18:45, schrieb Bap: Quoting Christian Baumann baum...@eudemonia-solutions.de: Hi! I am running Selenium tests that capture a screenshot whenever a test fails. Now, I would like to publish

  1   2   >