Solutions for publishing AMI's from Jenkins

2018-04-17 Thread John
Hello, I'm using Jenkins to build and deploy large variety of projects. Most are written in Python, Groovy, Java or Javascript (Node). For a long list of irrelevant reasons, I'd like to start deploying my projects as AMI's as well as docker images. Basically, if all goes well, we'd be able

RE: Solutions for publishing AMI's from Jenkins

2018-04-17 Thread Dirk Heinrichs
From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of John > Is there a standard way to go about constructing AMI's with Jenkins? No, don't think so. > I see that Packer seems fairly popular: https://www.packer.io This is what we do here, too. It's basi

RemoteInvocationHandler statistics and an exception

2018-04-17 Thread David Aldrich
Hi We have just migrated our Jenkins master from a Centos 5 m/c to a Centos 7 m/c. The console log now shows some RemoteInvocationHandler statistics and an exception. Any thoughts why these are happening please? Jenkins is fully up and running Apr 17, 2018 8:37:03 AM INFO hudson.remoting.Remot

Re: Getting Started converting Plugin to use Pipeline

2018-04-17 Thread Baptiste Mathus
Better send requests related to Jenkins core or plugins development to the developers mailing list. Cheers 2018-04-13 10:17 GMT+02:00 Joe Fair : > Hey! I have a Rancher plugin that I inherrited from a developer that > left. Now I want to use it in a pipeline, but I'm having a hard time > getti

Re: Solutions for publishing AMI's from Jenkins

2018-04-17 Thread rohit dogra
Packer is really a good open source tool to build machine images for multiple platforms. Thats one of the reason it’s being popular apart from that it’s lightweight. It uses Json as base and when it comes to building images Packer is able to use different tools to install software onto a image. The

RE: RemoteInvocationHandler statistics and an exception

2018-04-17 Thread Reinhold Füreder
Hi David, I think the exception is due to https://issues.jenkins-ci.org/browse/JENKINS-50748 and is allegedly fixed in Jenkins 2.117 (https://jenkins.io/changelog/). HTH Reinhold -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscri

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

2018-04-17 Thread Sunshine
Hi all , Is there a way via groovy scipt to check if a master gets disconnected from the JOC ? Also , To check for any offline shared slave that's connected at JOC level , I used com.cloudbees.opscenter.server.model.Sharedslaves to display offline slaves , But it doesn't seem to work. -- You

Re: Debian package repository: Connection refused

2018-04-17 Thread Olblak
Hi Dirk, Debian and some others distributions don't like https repositories by default.So you have two options: * Installing 'apt-transport-https' * Changing in your /etc/apt/sources.list from https://pkg.jenkins.io to http://pkg.jenkins.io. We already have an open ticket about it on the jenkin

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

2018-04-17 Thread Baptiste Mathus
Hello, This question is specific to CloudBees products. Please open a ticket on the usual commercial support https://support.cloudbees.com/hc/en-us/requests/new Thanks 2018-04-17 11:02 GMT+02:00 Sunshine : > Hi all , > > Is there a way via groovy scipt to check if a master gets disconnected > f

Re: Debian package repository: Connection refused

2018-04-17 Thread Dirk Heinrichs
From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Olblak > Debian and some others distributions don't like https repositories by default. > So you have two options: > * Installing 'apt-transport-https' I know, already had this installed, but that wasn'

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

2018-04-17 Thread 'Burrows, John' via Jenkins Users
Sunshine (Saranya), We use a simple Groovy (Scriptler) script setup to run as a Job on the Jenkins Master every 15 minutes, that checks to see if Jenkins Nodes/Slaves respond or it can get an environment setting from them, and if not, sends an email to us alerting that the Node/Slave is discon

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

2018-04-17 Thread Sunshine
Hi John , This definitely works for dedicated individual slaves connected on Masters. But I have shared-slaves on JOC and this doesn't seem to help :( -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop re

Re: Jenkins Pipeline to be generic

2018-04-17 Thread krish
Thanks Guys. That works On Thursday, 12 April 2018 15:06:19 UTC-4, krish wrote: > > Hi, > > how can we use the multiple credentials into jenkins pipeline, in our > environment diff applications have diff userid and password, is their a > smarter way to define this in jenkins pipeline > > thank y

Re: Jenkins Vulnerability Scan

2018-04-17 Thread Eric Fetzer
No one has any ideas about this at all? On Friday, April 13, 2018 at 12:21:36 PM UTC-6, Eric Fetzer wrote: > > We're getting gigged on a security scan that looking at Jenkins > documentation, should not be happening. The scan is turning up: > > > *Vulnerability* > > *Host* > > *IP* > > *Port*

how can I pop an input box for a specific choice?

2018-04-17 Thread red 888
In jenkins I'd like to do this: parameters { choice( name: 'blah', choices: 'one\ntwo\ncustom', description: 'if you choose custom enter a custom number' ) } So they have three options on the drop down, but it would be nice if when they select the

Configuring Agile Central Connector plugin

2018-04-17 Thread Suguna Sai
Hi All, Can anyone provide documentation on how to setup Configuring Agile Central Connector plugin in jenkins? Regards, Sai -- 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,

What's the proper REST flow for SAML auth with CSRF enabled?

2018-04-17 Thread Ivan Fernandez Calvo
Hi, If you want to make an API REST call you only need the API Token and a valid crumb, the user will be granted with the latest authorities from the last login, you have more details in the following link https://wiki.jenkins.io/display/JENKINS/Remote+access+API -- You received this message

Re: Blue Ocean and Git connectivity issue

2018-04-17 Thread Vivek Pandey
Theo, Ah, you encountered whats reported here: https://issues.jenkins-ci.org/browse/JENKINS-50833. There was an incompatible change in method signature introduced in pipeline-demos-definition:1.2.8. Its been fixed and released in 1.2.9. You can try upgrading to 1.2.9. On Tue, Apr 10, 2018 at 1:0

URL Commands

2018-04-17 Thread john.peterson
Where can I find a list of command available as part of the URL such as http://jenkins/job/jobname/build?delay=4 -- 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 t

Re: Jenkins Vulnerability Scan

2018-04-17 Thread Mark Waite
Your mail doesn't tell us what security vulnerability is believed to exist. Can you explain further what the report means and what you believe should be done? Mark Waite On Tue, Apr 17, 2018, 9:02 AM Eric Fetzer wrote: > No one has any ideas about this at all? > > > > On Friday, April 13, 2018

How can i do a reset with GitSCM?

2018-04-17 Thread red 888
I want to merge a branch into the current one but reset the current branch to the one I'm merging in: checkout([$class: 'GitSCM', branches: [[name: "${env.BRANCH_NAME}"]], doGenerateSubmoduleConfigurations: false, extensions: [ [$class: 'PreBuildMerge', options: [ fastForw

Jenkins refuses to queue and run identical consecutive build requests from curl

2018-04-17 Thread Martin d'Anjou
I try to trigger multiple builds rapidly using curl, but Jenkins silently refuses to launch the builds. It keeps returning the same queue item in the "Location": $ curl -I -X POST "http://localhost:8080/job/test-123/buildWithParameters/params?foo=i"; HTTP/1.1 201 Created Date: Wed, 18 Apr 2018

Re: Jenkins refuses to queue and run identical consecutive build requests from curl

2018-04-17 Thread R. Tyler Croy
(replies inline) On Tue, 17 Apr 2018, Martin d'Anjou wrote: > I try to trigger multiple builds rapidly using curl, but Jenkins silently > refuses to launch the builds. It keeps returning the same queue item in the > "Location": >From my understanding this will happen it the "same looking" ite

Re: How can i do a reset with GitSCM?

2018-04-17 Thread Mark Waite
There is a strategy called "OURS" and a strategy called "RECURSIVE_THEIRS". Will either of those do what you want? Mark Waite On Tue, Apr 17, 2018 at 5:51 PM red 888 wrote: > I want to merge a branch into the current one but reset the current branch > to the one I'm merging in: > > checkout([$