Re: How to protect jenkins?

2015-06-03 Thread Andrew Marentis
Personally I wouldn't run Jenkins inside the cloud. I would only deploy to the cloud. But You could start by reading https://wiki.jenkins-ci.org/display/JENKINS/Securing+Jenkins Implement firewall rules in aws and ip tables locally. Run snort, And strip the OS down to only be essentials of

Custom parameters from Rundeck

2015-06-03 Thread Pramod Setlur
I am aware of the Rundeck plugin which accepts parameters sent from Rundeck webhooks. But these parameters aren't of much use to me. I want to know if there is a plugin that can accept any custom parameters sent as a request (using webhooks or just a plain POST) from Rundeck. Here is more info:

How to protect jenkins?

2015-06-03 Thread Belandria Gaspar
I am using a EC2 instance in AWS with Window Server 2008 AMI, I am building an CSharp project. I am wondering, what is best way to set a authentication? because now my jenkins url is acceded in a public dns, like as: ec2-xx-xx-xx-xx.compute-1.amazonaws.com:8080 I would like looking for another

Script-SCM - example scripts?

2015-06-03 Thread Thomas Goeppel
Hi, it would be very nice if anybody could share an example Groovy script with matching Ant configuration for the Script-SCM plugin. Thanks! -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving

Re: Parameters map in Workflow job

2015-06-03 Thread Pablo Ramirez
Hi!, I have 16 checkboxes which parametrizes the job, and I want to execute things only for checked parameters so the code now is like: if ('true' == PARAM1) { things() } if ('true' == PARAM2) { things() } and so on... It could be very handly iterate over parameters searching for true val

Re: Sort order

2015-06-03 Thread Daniel Beck
Known issue: https://issues.jenkins-ci.org/browse/JENKINS-28601 On 03.06.2015, at 20:07, Suckow, Thomas J wrote: > Is it just me or in 1.615 is the default sort order backwards? The other day > I noticed that on every screen with a table (Such as the list of jobs), they > are all sorted Z->A b

Re: pathignore plugin help

2015-06-03 Thread Nick Lee
In case it helps, here's the console output too: Including paths matching patterns: ["d:\my_project_root\**"] No paths passed filter, skipping build. Changed paths: [] Skipped archiving because build is not successful No emails were triggered. Finished: NOT_BUILT It seems fishy to me that "Chan

Sort order

2015-06-03 Thread Suckow, Thomas J
Is it just me or in 1.615 is the default sort order backwards? The other day I noticed that on every screen with a table (Such as the list of jobs), they are all sorted Z->A by default. Did I accidentally change some setting? - Thomas -- You received this message because you are subscribed to

pathignore plugin help

2015-06-03 Thread Nick Lee
I'm trying to set up a job that only triggers when files in certain directories have changed. I'm using Perforce SCM and have that set up properly to sync files. I've downloaded and installed the pathignore plugin. In the project configuration, I've enabled the "Do not build if only specified p

Re: How to test a machine that gets rebuilt as part of the test?

2015-06-03 Thread Eric Pyle
You can look at the Jenkins CLI - http://yourjenkins:port/cli. There are commands create-node and delete-node, as well as offline-node and online-node. It's possible you could reconnect to the re-created node without deleting and re-creating - I've never tried it. For an example of a script to

Re: How to test a machine that gets rebuilt as part of the test?

2015-06-03 Thread Steve K
Thanks Eric. No, the ISO image would not include Jenkins slave installation. Where could I look for pointers on scripting the removal/addition of a slave? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and st

Re: How to test a machine that gets rebuilt as part of the test?

2015-06-03 Thread Eric Pyle
I assume that the new ISO image includes Jenkins slave installation, or can it be made to do so? If not, you would need to script the Jenkins master creating a new slave (presumably after deleting the old one). This is assuming a slave setup you can configure solely from the master, such as sta

How to test a machine that gets rebuilt as part of the test?

2015-06-03 Thread Steve K
Hello, In my case, the machines that are being tested are Windows. A rough skeleton of the test process is: *) Tell the slave machine that it is time to start the test. *) Tell the slave machine the location of the .ISO file(s) it will use to re-install its OS. *) Slave machine installs a br

Re: Can I Migrate a Windows Jenkins Master to a Linux Jenkins Master?

2015-06-03 Thread Steve K
I successfully went the other way (Linux --> Windows), so I see no reason why you can't go from Windows to Linux (you're going the right way IMHO :-). You may want to have a look at my thread, '"Move" a job from a Linux master to a Windows master', -- You received this message because you are s

Re: Script Approval - repeatedly

2015-06-03 Thread Maureen Barger
Hi, we are still encountering this. Any ideas? On Fri, May 15, 2015 at 12:37 PM, Maureen Barger wrote: > Hi - we are running Jenkins ver. 1.580.3 with 20 > slaves. Occasionally we will be prompted to approve the same groovy path > for scripts that has already been appro

Re: Building Projects with older JDK - Unsupported major.minor version 51.0

2015-06-03 Thread Constantin J
Yes it was a Maven job. I've changed it to a freestyle job, looks promising. Thanks :) Am Mittwoch, 3. Juni 2015 13:01:46 UTC+2 schrieb Daniel Beck: > > What kind of job is this? If this is a Maven job, it will not work with > JDK 6 due to the integration with Jenkins. Use a freestyle job instea

Re: Building Projects with older JDK - Unsupported major.minor version 51.0

2015-06-03 Thread Daniel Beck
What kind of job is this? If this is a Maven job, it will not work with JDK 6 due to the integration with Jenkins. Use a freestyle job instead. On 03.06.2015, at 12:42, Constantin J wrote: > Hi, I'm trying to build a Project with an older version of the JDK. > > I have configured Jenkins to ru

Building Projects with older JDK - Unsupported major.minor version 51.0

2015-06-03 Thread Constantin J
Hi, I'm trying to build a Project with an older version of the JDK. I have configured Jenkins to run with Java 1.7 (SE) and to build with JDK 1.6 and Maven 2.2.1. The build however fails with the exception "javax/servlet/ServletException : Unsupported major.minor version 51.0" The Servlet API 3