Re: id_rsa" is not a valid key file.

2023-10-10 Thread John Patrick
what about id_rsa.pub I've got; -rw---1 xx xx x id_rsa -rw-r--r--1 xx xxxxx x id_rsa.pub have you tried doing ssh without gerrit, to see if ssh or the gerrit config/setup. On Wed, 11 Oct 2023 at 05:40, praveen@gmail.com < praveen.mulim.

Re: 'mvn' is not recognized as an internal or external command, operable program or batch file.

2023-09-15 Thread John Patrick
git update-index --chmod +x mvnw. Using maven wrapper allows projects and branches to controller the maven version used, so less setup/upgrade of developer machines or cicd hosts, checking new maven version as part of cicd pipeline. John On Fri, 15 Sept 2023 at 11:26, sajith m p wrote: > He

Re: Jenkins error when running the project on Mac but not on windows

2023-02-13 Thread John Patrick
Try installing gitbash on the windows machine, then in global configurations define where git is located. I've had similar, as it's trying to access /usr/bin/git which won't exist at that location on windows. On Mon, 13 Feb 2023 at 18:55, Andrei Suslov wrote: > I have two nodes: win and mac. On

Re: substituting different credentials() in a multibranch pipeline depending on branch

2022-11-28 Thread John Patrick
that creates all the MultiBranch projects, prod folder and projects, dev folder and projects. John On Mon, 28 Nov 2022 at 06:04, Victor Sudakov wrote: > Dear Colleagues, > > Can you please suggest a way to use different credentials depending on the > Git > branch in a multi-branc

Re: HTTPS - works okay, but 2 problems

2022-10-03 Thread John Horne
Thanks for the replies. We have removed the keystore, and are now using the reverse proxy method. John. On Wednesday, 28 September 2022 at 12:37:46 UTC+1 db...@cloudbees.com wrote: > On Wed, Sep 28, 2022 at 12:00 PM James Nord wrote: > >> jenkins (winstone) can load arguments f

Re: HTTPS - works okay, but 2 problems

2022-09-14 Thread John Horne
ava with all the options passed to it. So no matter what I do in the systemd override file for ExecStart, it always ends up with a java command being run with the keystore password as one of the options being shown. I need to think about this a bit more. John. On Wednesday, 14 September 2022 at

HTTPS - works okay, but 2 problems

2022-09-13 Thread John Horne
ystem Information' page found when I log into Jenkins and look under the 'Manage Jenkins' page. This is obviously not secure. Perhaps the password should be stored as part of the Jenkins configuration rather than just passed onto the command-line from the sysconfig file? Is there

Groovy to list Url of Repository from Pipeline script from SCM (Git)

2022-06-23 Thread John Ward
I have a Groovy Script that I am using in the Script Console, but it is not working properly. The getUserRemoteConfigs()[0].getUrl() is not returning the correct Repository URL. I don't know where it is getting the value, but it does not match the value shown in the Pipeline configure GUI. To

Re: checkout a GitHub PR banch on normal pipeline

2022-04-27 Thread John Patrick
: XXX, credentialsId: XXX ``` As a PR is purely highlighting a specific source repo and branch combination. Not sure if that helps or not. John On Wed, 27 Apr 2022 at 19:49, Dan Tran wrote: > Hi John > > Thanks for responding > > I am looking for a snippet of Groovy code that c

Re: checkout a GitHub PR banch on normal pipeline

2022-04-26 Thread John Patrick
To be clear, are you wanting; 1) github to trigger the job to run for that PR 2) jenkins job to detect PR and run job for that PR John On Tue, 26 Apr 2022 at 00:34, Dan Tran wrote: > Hi > > I have been searching for groovy solution to check out a GH PR to my > Jenkins workspace,

Re: Alternative for Multiple SCM plugin

2022-04-18 Thread John Patrick
ry { git branch: env.BRANCH_NAME, url: scmUrlPull, credentialsId: env.SCM_CREDENTIALS_ID, changelog: false } catch (ex) { deleteDir() } } But regarding your original question, about freestyle and multiple scm, then I only use freestyle to execute groovy to create/maintain all

Re: How to know when plugins were installed

2022-04-15 Thread John Patrick
mation. So Jenkins LTS 2.332.x or Weekly 2.33x or newer. Not sure if you can find that information out from the file system or an api. John On Fri, 15 Apr 2022 at 18:08, eric@gmail.com wrote: > If you're in Unix, Go to $JENKINS_HOME/plugins: > > ls -ltr *.hpi *.jpi > >

Re: Jenkins - Mutlibranch pipeline

2022-04-14 Thread John Patrick
think the default is 30 days. Hope that helps. John On Thu, 14 Apr 2022 at 21:46, Madhu Muchukota wrote: > Hi Team - We are using a Multibranch pipeline with GIT branch source. When > ever we delete a branch in the Project repository, we see that this branch > is being showed as strike-t

Re: Why jenkins doesn't assign jobs to an agent with more resources

2022-03-30 Thread John Patrick
Hi, Some basic questions; - what Jenkins version? - has it ever work for you? - you mention 8-9 dockers per agent, is that being controlled using "Number of executors" being set for each agent? John On Sun, 27 Mar 2022 at 09:30, chencho m-a wrote: > Hi all, > > I hav

Re: Log4j CVE-2021-44228

2021-12-16 Thread John Patrick
I would exclude /opt/jenkins/.m2/repository from any scans, as already mentioned that is the local maven cache. Also if you don't maintain that, it will grow and grow. Personally I update build jobs so they each have their own maven cache using -Dmaven.repo.local=mvn-repo then delete that after you

Getting WebEx room ID for sparkSend

2021-04-01 Thread John Pfuntner
My team has some Jenkins Groovy code that calls sparkSend to send messages to a Cisco WebEx messaging room. The code always writes to the same room and the room ID is expressed as a UUID (8-4-4-4-12 format string). I think this

Re: mvn not found on $JENKINS_HOME/workspace/@tmp

2021-03-24 Thread John Patrick
or "mvn verify". For the existing Wrapper see https://github.com/takari/maven-wrapper >From the next Maven release see this wrapper https://maven.apache.org/plugins/maven-wrapper-plugin/index.html John On Wed, 24 Mar 2021 at 12:00, Mallarapu Ananth wrote: > > Hi , > > Have

Re: Best Practice- to deploy into windows machine from jenkins hosted on linux.

2021-02-18 Thread John Patrick
What about using Ansible WinRM? for more info https://docs.ansible.com/ansible/latest/user_guide/windows.html Then Jenkins running on Linux just needs ansible installed. John On Thu, 18 Feb 2021 at 14:40, jyothibasu kalyanapu wrote: > > Hi, > > if the case is jenkins hosted on l

Re: How to Hide findbug graphs

2021-02-09 Thread John Patrick
have you tried aggregatingResults something like; recordIssues enabledForFailure: true, aggregatingResults: true, tool: spotBugs() John On Tue, 9 Feb 2021 at 17:48, Ashok reddy wrote: > > multiple empty findbug trend graphs are creating How to hide them from > summery? > &g

Re: Simultaneous pipelines deadlocked "waiting for next available executor"

2020-12-17 Thread John Girvin
r 2020 at 15:50:23 UTC John Girvin wrote: > I'm trying to understand a problem with our Jenkins, where it seems > piplines get deadlocked waiting for an executor if we run many of them > simultaneously. > > Jenkins 2.271 on Linux x64. We have one master node configured with 4

Simultaneous pipelines deadlocked "waiting for next available executor"

2020-12-17 Thread John Girvin
I'm trying to understand a problem with our Jenkins, where it seems piplines get deadlocked waiting for an executor if we run many of them simultaneously. Jenkins 2.271 on Linux x64. We have one master node configured with 4 executors. Running a job singly shows it taking 2 slots in the Build

Re: Pipeline with multiple Git repositories - how to checkout and Skip particular Repo

2020-11-22 Thread john levin
You should use git submodules to handle multiple repositories. Check the submodule documentation for more info. /John On Mon, 23 Nov, 2020, 2:15 am Sravya Kancherla, wrote: > > Hi, > > I have Pipeline for multiple Git repositories to checkout and i want to > skip one repo at pa

Re: How to access jenkins using ip address remotely ?

2020-10-20 Thread John Patrick
work, then you might need to change your router... you might need to setup dynamic ip routing or port forwarding so it is expired to your isp wan ip address. John On Tue, 20 Oct 2020 at 18:34, John Patrick wrote: > > From the command line do; > $ netstat -an | grep 8080 > > That will

Re: How to access jenkins using ip address remotely ?

2020-10-20 Thread John Patrick
ithin Jenkins configuration you should be able to select what addresses jenkins should bind to and listen to. It might require a manual change in the configuration then restart. John On Tue, 20 Oct 2020 at 15:41, Danny Trunk wrote: > > Hello Vaibhav, > > what does "remotely" mean?

Declarative Pipeline to trigger Job in Post-build actions if condition satisfies

2020-10-07 Thread john levin
Hello Team, Shall we put a if condition in post build actions to trigger other jobs if condition matches. Say for example If date matches Wednesday, trigger the other job in post build actions. /John -- You received this message because you are subscribed to the Google Groups "Jenkins

Re: How to share (non-secret) variables between jobs

2020-09-09 Thread john levin
:59 am Ashish Sharma, wrote: > Hi John, > > We don't have dependent (upstream-downstream) pipelines, these pipeline > are in same hierarchy and triggered separately. > But since these are microservice for same project, we want to share some > variables among these. > &

Re: How to share (non-secret) variables between jobs

2020-09-09 Thread john levin
Simply parsing the required variables while triggering the downstream job. stage ('Invoke_pipelineA') { steps { build job: 'pipelineA', parameters: [ string(name: 'param1', value: "value1") ]

Re: Declarative pipeline to use agent as both docker & slave machines with label

2020-08-26 Thread john levin
Hello, The answer is straight forward, I missed somehow. Under agent just include label options pipeline { agent { docker { image 'node:14-alpine' label '' } } Thank you On Wed, 26 Aug, 2020, 6:23 pm john levin, wrote: > > H

Declarative pipeline to use agent as both docker & slave machines with label

2020-08-26 Thread john levin
Hello Everyone I have a scenario like i need to run my CI builds in a container and this container should run on slave machines accordingly (i have same image in all my slave machines). But pipeline is accepting either agent as docker or slave machines. -- You received this message because

Re: Git Additional Behaviors potential bug

2020-08-25 Thread John Patrick
t config user.name "${GIT_COMMITTER_NAME}" ''' John On Tue, 25 Aug 2020 at 23:52, Mark Waite wrote: > > It looks as though the environment variables that the git plugin is trying to > set are not visible to later shell steps. See > https://issues.jenkins-ci.

Re: Git Additional Behaviors potential bug

2020-08-25 Thread John Patrick
So adding sh 'printenv' I don't see any GIT_ environment variables and in the config.xml I've got it set as; aName aem...@example.tld Anything else I should check, or anything else I need to configure to get this working? John On Tue, 25 Aug 2020 at 10:43, John Patric

Re: Git Additional Behaviors potential bug

2020-08-25 Thread John Patrick
On Tue, 25 Aug 2020 at 00:56, Mark Waite wrote: > > > > On Mon, Aug 24, 2020 at 5:29 PM John Patrick wrote: >> >> Might be a question for developers or a bug ticket. >> >> I've got a multibranchPipelineJob project which runs a Jenkinsfile. The job &g

Git Additional Behaviors potential bug

2020-08-24 Thread John Patrick
line job, or I'm missing a step in my Jenkinsfile. I'm using a Scripts Pipeline Jenkinsfile and am checking out the code using "checkout scm". And I've checked user.name and user.email before and after checkout. Anyone else using multibranchPipelineJob and Custom name and

Re: Authentication issue with Gerrit Code Review plugin 0.4.1

2020-05-26 Thread John Shield
27;t thank you enough for helping me find it. The issue had been on my mind for the last 6 months. Best Regards, John Shield -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails fr

Re: Authentication issue with Gerrit Code Review plugin 0.4.1

2020-05-26 Thread John Shield
owever, the build stopped working as the SCM pipeline didn't know which patch to download. I will have to look into this more after the first two issues are resolved. Thanks for the pointers. I will spend some time chasing these up. Best Regards, John Shield On Wednesday, May 27, 202

Re: Authentication issue with Gerrit Code Review plugin 0.4.1

2020-05-26 Thread John Shield
been ignoring the problem for 6 months as we've focusing on the project work instead. Best Regards, John Shield On Wednesday, May 27, 2020 at 7:30:41 AM UTC+9:30, Luca Milanesio wrote: > > > > On 26 May 2020, at 17:10, John Shield > > wrote: > > Dear All, > > L

Authentication issue with Gerrit Code Review plugin 0.4.1

2020-05-26 Thread John Shield
of credentials. I would be grateful for any help in understanding this problem. Best Regards, John Shield -- 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 ema

Re: withMaven step not working with altDeploymentRepository when jenkins job parameters are specified?

2020-01-05 Thread John Citizen
On Saturday, 4 January 2020 21:58:59 UTC+10, James Nord wrote: > > 'OS' is an environment variable on windows. > the maven scripts are likely looking at it and expecting one that is > defined for Windows to set some parameters. the job parameter gets set in > the environment for the process in t

withMaven step not working with altDeploymentRepository when jenkins job parameters are specified?

2020-01-02 Thread John Citizen
I am trying to use the the withMaven step in a jenkins pipeline to deploy to a specified repository but I get some errors when using jenkins job parameters. The pipeline script is simple checkout + deploy strategy. Initially I specified the OS (used to specify the jenkins agent label) as a var

Why does my pipeline have 2 workspaces?

2019-08-21 Thread John Lussmyer
I've noticed that my single pipeline ends up with 2 separate workspaces each time it runs. What is the one ending in @script for? -- -- CasaDelGato Sensible Email package: https://sourceforge.net/projects/sensibleemail/ -- You received this message because you are subscribed to the Google Group

How to change Workspace Folder?

2019-04-05 Thread John Farmer
Jenkins CI ver 2.167 installed on Windows 10 PC, running as a Windows service. The Jenkins application was installed via the Windows installer. When I ran Jenkins as a console app, it created the workspace folder inside the logged-in user account. When run as a service, the workspace folder w

What should be used instead of the various Deprecated plugins?

2019-02-06 Thread John Lussmyer
I've noticed that our builds now have a list of Deprecated plugins: - [Deprecated] Publish Findbugs Analysis results - [Deprecated] Scan for Compiler warnings - [Deprecated] Publish combined static analysis results What are the replacements for those? -- You received this message beca

Re: Running jobs via VMware Workstation (15)

2019-01-28 Thread John E Peterson
m comes up and the javaws on the VM would connect as though it was launched via a vSphere cloud and work as it always did? Documentation is not totally clear on any of this. If that is the case, this is precisely what I need. Thanks On Monday, January 28, 2019 at 11:10:06 AM UTC-5, John E Pe

Running jobs via VMware Workstation (15)

2019-01-28 Thread John E Peterson
Ok. We have to run some jobs using VM's controlled on a real PC (Well, a VM on a real PC, not a VMware ESXi vCenter/vSphere host server setup). All the bits and pieces seem to be there to do this, but no method (and no plugins) to put it all together. We have Jenkins running on "*MyJenkins*".

[ASK] google-login-plugin: Does Google+ API termination impacting the google login plugin?

2019-01-17 Thread Virtual John
Hi guys, i just want to make sure are google+ API termination going to disrupt or impact google login plugin for jenkins? maybe prevent us to login, or get user information? https://developers.google.com/+/api-shutdown I have tried to take a look at the code https://github.com/jenkinsci/google-l

Re: Jenkins Backup and Restore

2018-11-26 Thread John Mellor
I have had restore issues with *ALL* of the backup plugins that I have tried. The problem is that they are using stupid mechanisms to copy the filesystem that cannot correctly copy a symlink. This breaks the LastSuccessfulBuild and LastUnsuccessfulBuild and LastFailedBuild symlinks, causing lots

Re: Jenkins service going down on Windows Slave

2018-11-26 Thread John Mellor
circumstances, while ssh connections do not. Unfortunately, Windows essentially requires JNLP-only connections. On Mon, 2018-11-26 at 08:23 -0700, Slide wrote: Weird, I have had ZERO issues with JNLP agents. It works flawlessly for me. On Mon, Nov 26, 2018 at 8:21 AM John Mellor mailto:john.mel

Re: Jenkins service going down on Windows Slave

2018-11-26 Thread John Mellor
We have that problem all the time. IMHO the JNLP connectivity to the master is not robust enough to be used. I have tried setting up the agent connection as a service per the Jenkins doc, but it still cannot survive momentary network or performance outages. The only way that I have managed to g

Re: deploy non-Java (C++ DLL) to artifactory

2018-10-22 Thread John Mellor
On Mon, 2018-10-22 at 12:00 +0200, Jonathan Bergh wrote: We have a problem where we are trying to deploy non-Java artifacts to Artifactory for inclusion in a Java application install. We are using Jenkins and Gradle for the CI system, and the gradle 'cpp' plugin to build the C++ libraries for th

RE: Shutting down a Jenkins instance that was still starting up

2018-08-16 Thread 'Burrows, John' via Jenkins Users
Hope this helps. Thanks, John From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Steve K Sent: Thursday, August 16, 2018 9:53 AM To: Jenkins Users Subject: Re: Shutting down a Jenkins instance that was still starting up Thanks for your ideas Jo

Re: Shutting down a Jenkins instance that was still starting up

2018-08-16 Thread 'Burrows, John' via Jenkins Users
running jobs on that server. See if that helps. John On Aug 15, 2018, at 12:02 PM, Steve K mailto:steve.kerxha...@carestream.com>> wrote: Hello, We have been experiencing periodic crashes of the Jenkins server (almost one per week). It's bad enough that the system goes down, but bring

Scope lock to folder

2018-05-23 Thread John Lonergan
How do I scope locks so that on team's lock names don't accidentally collide with another's? They seem to be created at server level rather than at folder level. Any advice or patterns? Right now I'm telling folk to be careful with naming. More generally... from a resource management point of v

How to create a pipeline job from inside a jenkinsfile?

2018-05-18 Thread John Lonergan
Is it possible to create a multiranch pipeline job from a script in another pipeline job. All driven by Jenkinsfiles? -- 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 ema

Re: Project with several Git repositories

2018-05-03 Thread John Mellor
On Thu, 2018-05-03 at 16:26 +, Mark Waite wrote: . . .It seems like you're describing a very good use case for a Pipeline shared library. Each repository and each branch then has a very simple Jenkinsfile which loads the shared library and calls it. That's the technique used for Jenkins pl

Re: Project with several Git repositories

2018-05-03 Thread John Mellor
On Thu, 2018-05-03 at 15:38 +0200, Sébastien Hinderer wrote: > . . . > > So just to make sure we are talking about the same thing, that means > checking the "None" radio button in the souce code managemnet area, > then > check the "run builds remotely (from scripts)" checkbox and then, > finally,

RE: Alert if master gets disconnected or if any shared slave goes offline.

2018-04-17 Thread 'Burrows, John' via Jenkins Users
ntains("Disconnected by")) { computer.setTemporarilyOffline(false, slave.getComputer().getOfflineCause()) } } else { computer.connect(true) } } } println ("Number of Offline Nodes: " + numberOfflineNodes) println ("Number of Node

Solutions for publishing AMI's from Jenkins

2018-04-17 Thread John
well, we'd be able to grab an AMI, spin up an EC2 instance with it, and have a running instance of the app. Is there a standard way to go about constructing AMI's with Jenkins? I see that Packer seems fairly popular: https://www.packer.io Thanks, -John -- You received this message b

Jenkins Pipeline - loop over multi string variable with groovy

2018-04-04 Thread John
I'm trying to loop over a var that contains multiple strings (file paths), and then run a shell script against each one. But for some reason everything i try loops over every single letter of the string. Here is my code: def call(Map config) { node('terraform-slave') { cleanWs() chec

Re: Upgrade Path for Jenkins/Hudson

2018-04-02 Thread John Mellor
On Fri, 2018-03-30 at 11:01 -0700, Thomas Dunlap wrote: I have inherited an AccuRev Jankins/Hudson CI. Jenkins version 1.472. The previous developer stopped programming in 2012. I am trying to determine the best way to upgrade the software. Since the development is old I thought it would be be

Re: Help with Slaves: How to configure

2018-03-23 Thread 'Burrows, John' via Jenkins Users
Ana, You need to ensure that the credentials you are choosing in the server configuration page are valid. It looks like you are not using a valid User ID and Password that allows the connection via SSH. John On Mar 23, 2018, at 3:54 AM, Ana MB mailto:amar...@bufetedemarketing.com>>

RE: Help with Slaves: How to configure

2018-03-22 Thread 'Burrows, John' via Jenkins Users
and close to 100 Jenkins Agents. Thanks, John From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Mark Waite Sent: Thursday, March 22, 2018 11:15 AM To: jenkinsci-users@googlegroups.com Subject: Re: Help with Slaves: How to configure The picture says

RE: Help with Slaves: How to configure

2018-03-22 Thread 'Burrows, John' via Jenkins Users
Make sure the agent.jar file is located in the location where you are running the java command from. You can manually download the agent.jar file from http://YOURSERVERNAME/jnlpJars/agent.jar Thanks, John From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On

Re: Git Plugin Issues

2018-03-04 Thread 'Burrows, John' via Jenkins Users
Hi Ram, Yes, cloning from the command line works fine in all the instances. We can also get around the issue by creating a credential in Jenkins using the private key of the user, but for some reason the Public Key no longer works. Thanks, John On Mar 4, 2018, at 1:31 AM, Ramanathan Muthaiah

Git Plugin Issues

2018-02-27 Thread 'Burrows, John' via Jenkins Users
et Groovy are the name of the credentials commonly used across all platforms): Building remotely on XXXJENKINSNODEXXX in workspace d:\scm\checkout\John-Test > D:\SCM\Apps\Git\2.8.2\bin\git.exe rev-parse --is-inside-work-tree # > timeout=10 Fetching changes from the remote Git reposi

Re: Blue Ocean not loading

2018-01-19 Thread John
I opened up the error console and there are a lot of css errors, declaration dropped. Such as: error parsing background image, display, flex wrap, align items. I am running on a locked down system with Firefox 10. I am wondering if that's the problem. -- You received this message because you a

Blue Ocean not loading

2018-01-19 Thread John
My current work environment is Centos with no network connection. I had to install Jenkins on a separate Windows machine to pull all the plugins and dependencies. Blue Ocean starts up fine in Windows so I copied the entire plugins folder into the Linux system. Jenkins installs everything with

Email When Slave Goes Offline?

2017-12-11 Thread John Bobinyec
Is there some way to send an admin an email when the master notices that a slave has gone offline? Thanks, John Bobinyec -- 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

Setting up security

2017-12-06 Thread John E Peterson
Before I break anything, I need to clarify something about setting up Active Directory authentication. Actually setting up the domain seems straight forward. But... It asks for a backup user (Jenkins Own Directory), so I type in jpeterson. Ok? I have been using NO security. So, how does it

Re: Scripting in Jenkins

2017-10-17 Thread John Mellor
On Tue, 2017-10-17 at 10:03 -0700, Thor Waway wrote: Hello, This is a bit of newbie question so I apologize in advance. * I have 2 nodes currently set up; a MASTER and a WORKER node. * One of the steps in my declarative pipeline points to deploy-script.sh. The contents of deploy-scri

Extended Email publisher sending multiple copies

2017-09-29 Thread John Lussmyer
I think some of the help for the "Recipients" list needs to be clariefied. I hadn't realized that the general "Recipients" list was used in ADDITION to any recipients for specific trigger emails. -- CasaDelGato Sensible Email package: https://sourceforge.net/projects/sensibleemail/ -- You recei

Native Linux memory leak in Jenkins master running in Docker?

2017-08-04 Thread John Hovell
For the last few weeks we've been experiencing container restarts due to Jenkins running out of memory in Docker. We allocated 3GB for the container and heap usage is quite low (a few hundred MB, limited to 512 MB) but after 12-24 hours overall container usage grows to 3GB. We're using the jenk

Re: Jenkins Health Check URL

2017-08-01 Thread John Hovell
>From the docs: https://wiki.jenkins.io/display/JENKINS/Metrics+Plugin "The Healthcheck servlet runs the healthchecks defined against the Metrics API and returns the detailed status in JSON (or JSONP) format, while the high level status is reported by the HTTP status code. These servlets a

Credential read in pipelines

2017-07-17 Thread John Doe
Hey, is it possible to read credentials which are set by plugins while in pipeline mode ? For example credentials set by Publish Over CIFS plugin ? My last question was ignored, hope for more luck this time ;) Thanks!!! -- You received this message because you are subscribed to the Googl

Re: Installing / maintaining Jenkins on a Linux host machine

2017-07-11 Thread John Mellor
There are competing update philosophies to consider: Ubuntu ships the latest (unstable) release of Jenkins all the time, while RedHat/CentOS/etc ships the stable version. I host on a Ubuntu VM, but definitely wish it was better tested. If stability is key, then Ubuntu may not be your best choice

Problem when using Jenkins NodeJs pipeline plugin

2017-07-08 Thread John Doe
Hey, I'm trying to get nodejs plugin working in pipeline, here is example code: pipeline { agent any environment { TESTGLOBALVARIABLE = 'TEST' } tools { nodejs '7.7.3' } jenkins gives me this error: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: WorkflowScript:

Re: vSphere Cloud Plugin - does it work ?

2017-07-04 Thread John Mellor
after a job has failed, by locking the node offline and then digging into what was left. Doing it at the and of a job speeds things up, by makes it nearly impossible to diagnose a build problem. On Mon, 2017-07-03 at 04:07 -0700, P wrote: Hi John, thanks for sharing your experience with this

Jenkins not indicating that there are updates for plugins

2017-06-30 Thread John Lussmyer
We are running Jenkins 1.616, and I've recently noticed that we no longer receive notifications that there are new versions of plugins. When I go to Manage Jenkins, Manage Plugins, the Updates tab is always empty. I've manually checked, and there are multiple plugins that have new versions avail

Re: ${CHANGES,showDependencies="true"} not working?

2017-06-28 Thread John Lussmyer
On Wednesday, June 28, 2017 at 1:22:26 PM UTC-7, slide wrote: > > BUILD_NUMBER is an environment variable, CHANGES is a token macro. Does > the text-file-operations plugin use the token macro plugin to replace > things? > Can't tell from the description if it uses the Token Macro Plugin or not.

${CHANGES,showDependencies="true"} not working?

2017-06-28 Thread John Lussmyer
Im trying to use the text-file-operations plugin to create a file that has the changes for the current build. I've added the build step (Create/Update Text file) and set the content of the file to be: Build: ${BUILD_NUMBER} ${CHANGES,showDependencies="true"} - The file gets created, the ${BUILD

Re: Why doesn't Jenkins Update Center show certain plugins?

2017-06-28 Thread John Lussmyer
Jenkins 1.616, and no, the plugin was not already installed. I finally figured out which link on the page could be used to download the plugin, and used the Advanced tab to manually install the plugin. -- You received this message because you are subscribed to the Google Groups "Jenkins Users"

Why doesn't Jenkins Update Center show certain plugins?

2017-06-28 Thread John Lussmyer
I've found a plugin I'd like to use via Google Search. The "Text File Operations" plugin. When I go to the Jenkins Update Center page, and click on the "Available" tab, that plugin isn't listed. So, how do I add it? -- You received this message because you are subscribed to the Google Groups

RE: Gerrit trigger doesn't detect changes in Gerrit and run automatically CI

2017-06-27 Thread John Mellor
Hi Daniel, The Gerrit plugin a really nice piece of work that is pathetically documented and poorly integrated with the co-requisite git plugin. It works, but the working config settings are very non-obvious and the integration seems incomplete. In the sourcecode management section under git,

RE: vSphere Cloud Plugin - does it work ?

2017-06-27 Thread John Mellor
P asked: Ø So how do you guys use jenkins slaves on VMware ? Do you use existing VMs ? I use vsphere slaves extensively, but only as existing VMs. I never managed to get a dynamically-constructed slaves to actually work, but perhaps there is some magic combination of undocumented incantations

How to fire a remote job trigger

2017-06-05 Thread John Mellor
Sorry, forgot the subject text. Resent.;^P I’m about ready to throw in the towel regarding remote job triggers. It is definitely a *LOT* too hard. I’m trying to start an Ansible construction job on a Jenkins-2 cluster from a Jenkins-1 cluster, as a workaround for a massive number of items

[no subject]

2017-06-05 Thread John Mellor
I’m about ready to throw in the towel regarding remote job triggers. It is definitely a *LOT* too hard. I’m trying to start an Ansible construction job on a Jenkins-2 cluster from a Jenkins-1 cluster, as a workaround for a massive number of items not working in Jenkins-1. My prototyping appea

Plugins published without a Changelog Entry

2017-06-05 Thread John Mellor
This morning I am looking at 2 more plugins that have somehow been published without a changelog entry. Aside from this being very unprofessional, we do not install plugin updates without changelog entries that describe what the change is. These are almost as bad as the stupid no-user-visible-

Re: Pipeline node scheduling options

2017-05-30 Thread John Calsbeek
ferent working space to avoid conflicts. > > If I compare nodes() with freestyle jobs then they should basically work > the same way. I can not believe this is not the case. > > > On Saturday, October 29, 2016 at 5:06:15 AM UTC+2, John Calsbeek wrote: >> >> We have a pr

Gerrit differentiate between a verification build and a merge build

2017-05-23 Thread John Mellor
I am using a single Jenkins job for each project in git, with a Gerrit server. Some of the build steps in these builds push Docker images to the registry. I am trying to prevent Gerrit verification builds from pushing these images, while allowing merge and push-button builds to do so. In the

Re: Iteration over list or map in Pipeline script

2017-03-27 Thread John Mellor
I just did it this morning, doesn't work. You have to instead do: for(int i = 0; i < list.size(); i++) { def elem = list[i]; ... } On Monday, 13 March 2017 10:26:44 UTC-4, Martin Schmude wrote: > > Hello, > > I have a freestyle job with one step of the kind "Execute Groovy Script". > I

Mystery Serialization Error

2017-03-16 Thread John Mellor
I have a very simple pipeline that malfunctions unexpectedly. Adding @NonCPS decorators also does not workaround the job failure problem, so I'm mystified as to how to write this correctly. I'm not sure if there is a coding error in the pipeline libs, a coding error in our local lib, or a simp

RE: Updated Hotlist please share your daily requirements..

2017-02-21 Thread John Mellor
Can someone please cancel the posting credentials for this user that allows them to post this inappropriate garbage? From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of mahi v Sent: February-21-17 17:06 Subject: Updated Hotlist please share your daily r

Can't output clear text from secret text

2017-02-16 Thread John Marks
I just wanted to test secret text, but the job always outputs "" when I try to echo the bound variable from a shell script job. Shell script: set +x echo "My

Re: sh pipeline step started to fail after update to 2.42

2017-02-11 Thread John Mellor
After downgrading the durable tasks pluginto fix this problem, a manual reboot is required to actually get pipelines functional again. Thanks, Daniel ! On Friday, 10 February 2017 17:08:25 UTC-5, Daniel Beck wrote: > > > > On 10.02.2017, at 21:40, John Mellor > > wrote:

Re: sh pipeline step started to fail after update to 2.42

2017-02-10 Thread John Mellor
Looking at your pipeline plugin version numbers, I assume that you are on Jenkins2. I'm on Jenkins 1.656 and have been unable to move up to the exact pipeline plugin version numbers that you used. However, I have the same problem, and unfortunately reverting to the previous version has not fixed

Re: What is the proper name for "ghost" jobs and how are they controlled?

2017-02-01 Thread John Bobinyec
The apparent interference might have been due to other things. But does no one else have ghosts? jb On Thursday, January 26, 2017 at 3:27:12 PM UTC-5, John Bobinyec wrote: > > > We have a pool of slaves. When a job is dispatched to one of them it is > assigned to an executor on

docker plugins

2017-02-01 Thread john
I have been using the docker-build-step plugin for creating an image and running various docker commands in a build. Unfortunately since docker has moved on, it has stopped working and is not being updated. Is there a preferred docker plugin? Or am I better off using shell commands? Regards --

What is the proper name for "ghost" jobs and how are they controlled?

2017-01-26 Thread John Bobinyec
We have a pool of slaves. When a job is dispatched to one of them it is assigned to an executor on that machine. Oftentimes there is a very similar job running on another machine but it's not assigned to an executor. I call these ghosts. What do they do? How are they dispatched? It seems

Configure EC2 Plugin with Groovy

2017-01-20 Thread John Mickey
I am trying to configure the EC2 Plugin via a Groovy script. So far, it's been a complete failure. Here is what I have so far: I am trying to configure the Jenkins EC2-Plugin via Groovy. Plugin code: https://github.com/jenkinsci/ec2-plugin I'm trying to setup the cloud with a name to get star

env.CHANGE_ID null when building GitHub Pull Request?

2017-01-19 Thread John Hovell
Hello, I am successfully triggering pull request builds using the instructions for setting up a Github service webhook here: https://gist.github.com/misterbrownlee/3708738 PRs trigger builds automatically, and build results show up in Github. However, none of the env.CHANGE* environment varia

docker build step plugin

2017-01-08 Thread john
lution to the above error was obvious but a few simple changes suggested it is not. So should I be using this plugin or is there a more appropriate plugin to use? Regards, John -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To uns

  1   2   3   4   5   >