Re: Does the laster version of docker plugin requires java 1.7 ?

2015-06-16 Thread Christopher Orr
On 16/06/15 17:06, Suckow, Thomas J wrote: Does the docker plugin requires java 1.7 ? Yes The minimum Jenkins requirement probably should have been bumped to 1.612 (the first release to require Java 7), or at least there should have been a warning in the changelog I guess. Regards, Chri

Re: Standard Jenkins shell build step for testing a Rails app?

2015-06-16 Thread Christopher Orr
On 12/06/15 20:55, Jeff wrote: Hi, I've used Jenkins as a developer but never configured it myself. I'm not setting it up for the first time and am stuck trying to get the shell script build step to work. I want it to run all the Rails tests and tell me whether they pass. This seems like a stan

Re: Master node not get listed in build executor list

2015-06-16 Thread Christopher Orr
That looks odd; what do you see if you hover over the clock icon in the build queue? I have a vague feeling that's a bug that's been mentioned (could be wrong), but it doesn't hurt to search issues.jenkins-ci.org for builds not being taken from the queue. -Chris On 10/06/15 06:04, Sasikant

Re: How to perform remote testing using jenkins and (selenium/protactor/grunt) ?

2015-06-16 Thread Erick Macedo
Any kind of help is welcome Em terça-feira, 16 de junho de 2015 15:41:15 UTC-3, Erick Macedo escreveu: > > hi, > > I have an application running on a server Windowns, is a javascript > application controlled by grunt, I need to run some test protactor and > selenium using the grunt test comm

Is there any plugin for ssh jenkins allowing pass a parameter in the connection.

2015-06-16 Thread Erick Macedo
Hi, Is there any plugin for ssh jenkins allowing pass a parameter in the connection. For example, "ssh username @ hostname Y" want to spend the Y, It seems something as simple and jenkins does not allow this ?? tks -- You received this message because you are subscribed to the Google Groups

Re: Build flow job gets indecipherable Groovy error

2015-06-16 Thread Stefan Thomasson
> 16 jun 2015 kl. 02:08 skrev CLOSE Dave : > > I wrote: > >> I have a Jenkins job using the build flow plugin. A portion of it >> looks like the code below. >> >> parallel ( >> { ignore ( FAILURE ) { build ( "job1", BRANCH: params [ "BRANCH" ] ) } }, >> { ignore ( FAILURE ) { build ( "job2

Re: [workflow-plugin] unable to create workflow job

2015-06-16 Thread Steven Holmes
Thanks for the reply! In the "Manage Plugins" section, from the "available" tab, I filtered on workflow. There was only one workflow so I added it. Unfortunately that only added some of the plugins. Without the filter, I sometimes saw multiple workflow plugins and other times did not. Need

Re: workflow plugin -- dynamically select specifc slave nodes in for loop

2015-06-16 Thread Jesse Glick
On Monday, April 27, 2015 at 11:18:09 PM UTC-4, Anshu Arya wrote: > > java.io.NotSerializableException: java.util.AbstractList$Itr > JENKINS-27421 -- You received this message because you are subscribed to the Google Groups "Jenkins Users" g

Re: [workflow-plugin] Groovy CPS DSL from SCM and Stash notification trigger

2015-06-16 Thread Jesse Glick
On Monday, April 20, 2015 at 6:47:13 AM UTC-4, Tom Deblauwe wrote: > > I get a notification from Stash with a commit id from the "project.git" > repository(as expected), but jenkins tries to checkout that commit in the > "workflows.git" repository, NOT the "project.git" repository. > I think the

Re: [workflow-plugin] Limiting a stage

2015-06-16 Thread Jesse Glick
On Tuesday, May 12, 2015 at 11:22:14 AM UTC-4, bo...@seekingalpha.com wrote: > > The workflow plugin could really clean and parallelize our pipeline, but > we have some jobs that cannot be parallelized. > JENKINS-26860 -- You received this m

Re: Call vSphere cloud plugin via Groovy DSL

2015-06-16 Thread Jesse Glick
On Monday, June 15, 2015 at 5:14:25 AM UTC-4, Quang Truong wrote: > > how we can use workflow Groovy CPS DSL script to run a build step on > vSphere plugin instead of using a job? > Currently I think you cannot. I filed JENKINS-28930 . -- You

Re: [workflow plugin] how to force stop stuck build?

2015-06-16 Thread Jesse Glick
On Wednesday, April 8, 2015 at 6:19:38 AM UTC-4, Christoph Vogtländer wrote: > > Workaround does not work for me > Right, the workaround is not available on Windows nor or NFS. You would need to shut down Jenkins, delete the build directory from a command prompt, and restart. Sorry. -- You re

Re: Scripts not permitted to use staticMethod org.codehaus.groovy.runtime.ScriptBytecodeAdapter compareLessThan java.lang.Object java.lang.Object

2015-06-16 Thread Jesse Glick
On Tuesday, May 12, 2015 at 9:59:38 PM UTC-4, Rinaldo DiGiorgio wrote: > > Scripts not permitted to use staticMethod > org.codehaus.groovy.runtime.ScriptBytecodeAdapter >>> compareLessThan java.lang.Object java.lang.Object >>> >>> The In Process Script approval plugin shows no scripts to approve.

Re: Workflow Plugin -- temporary files are created in the workspace directory

2015-06-16 Thread Jesse Glick
On Tuesday, March 31, 2015 at 3:29:24 PM UTC-4, Rinaldo DiGiorgio wrote: > > Is jenkins actually creating files in the workspace directory instead of > some tmp directory. > Pending JENKINS-27152 , yes. > I can't simply ignore all .hidden fi

Re: Workflow Plugin -- how to display a summary page

2015-06-16 Thread Jesse Glick
On Wednesday, April 1, 2015 at 7:34:49 PM UTC-4, Rinaldo DiGiorgio wrote: > > Can someone suggest how to collect the test results to show trends on a > single page so that users can go to one page and see all the results for a > job that needs to compile on n different platforms and has correspon

Re: Workflow Plugin -- workspace is deleted

2015-06-16 Thread Jesse Glick
On Wednesday, April 1, 2015 at 7:29:55 PM UTC-4, Rinaldo DiGiorgio wrote: > > trying to understand if the following is expected behavior. After all the > repos have been downloaded they are deleted when the job completes. > Should not happen. -- You received this message because you are subscri

Re: [workflow-plugin] How can I get the hostname of the parent node

2015-06-16 Thread Jesse Glick
On Monday, March 30, 2015 at 7:36:23 AM UTC-4, Clifford Sanders wrote: > > I could write the hostname to a file and archive/unarchive it to read the > hostname from there. > readFile -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubsc

Re: [workflow-plugin] execute post build step regardless of any errors that occured before

2015-06-16 Thread Jesse Glick
On Thursday, March 26, 2015 at 12:49:49 PM UTC-4, Clifford Sanders wrote: > > There are UI tests so one of the first steps is to start Xvfb before > executing the Maven command and stopping it afterwards. > BTW if you can use xvnc instead, that plugin is now compatible with Workflow 1.8+ as a bu

Re: [workflow] Git step to check out a commit instead of a branch

2015-06-16 Thread Jesse Glick
On Wednesday, March 25, 2015 at 10:26:37 AM UTC-4, Lóránt Pintér wrote: > > Is it possible to check out a particular commit hash, instead of a branch > with the git workflow step? > No, but it should be possible with some exotic options to GitSCM, run via the generic checkout step. -- You rec

Re: [workflow-plugin] Get environment variables defined in Jenkins configuration

2015-06-16 Thread Jesse Glick
On Monday, May 18, 2015 at 4:24:25 AM UTC-4, Carlos Lucas wrote: > > I tried with* System.getenv()["myVar"],* *currentBuild.getEnvironment(null), > env.myVar * and accessing like a normal variable but nothing works. Do > you know how can I do it? > env.myVar works, so long as you are inside a no

Re: workflow plugin: how to execute shell command with quoted arguments?

2015-06-16 Thread Jesse Glick
On Tuesday, May 19, 2015 at 11:40:32 AM UTC-4, Alexander Uvizhev wrote: > > To be clear what I try to do is: > sh"myexecutable 'argument'" > node { sh "echo 'works fine'" } Works for me. Without a complete, self-contained script it is hard to say where you got it wrong (or whether there is a g

How to perform remote testing using jenkins and (selenium/protactor/grunt) ?

2015-06-16 Thread Erick Macedo
hi, I have an application running on a server Windowns, is a javascript application controlled by grunt, I need to run some test protactor and selenium using the grunt test command. I tried to do this via ssh, that works, but ssh limited screen resolution and ultimately hurts the test. I wond

Re: Does anyone know how to use htmlpublisher with workflow.

2015-06-16 Thread Jesse Glick
On Wednesday, April 15, 2015 at 5:10:30 PM UTC-4, Rinaldo DiGiorgio wrote: > > It is listed here as working. > > https://github.com/jenkinsci/workflow-plugin/blob/master/COMPATIBILITY.md > No, it is listed here as needing JENKINS-26343 to be i

Re: [workflow-plugin] build wait for downstream job

2015-06-16 Thread Jesse Glick
On Sunday, April 19, 2015 at 5:05:34 PM UTC-4, Nicolas Labrot wrote: > > I have two jobs 'Job 1' and 'Job 2'. 'Job 2' is a downstream job of 'Job > 1' (Job 1 builds Job 2 as a post build action). 'Job 2' always fails. > > Even if propagate and wait are set to true, my workflow project never > wai

Re: [workflow-plugin] JAVA_HOME is not defined correctly

2015-06-16 Thread Jesse Glick
On Monday, March 16, 2015 at 9:27:37 AM UTC-4, Patrick Bateman wrote: > > env.PATH="${tool 'Maven 3.2.5'}/bin:${env.PATH}" > > Try adding env.JAVA_HOME = tool 'JDK 8' or whatever your preferred JDK installation is called in global configuration. -- You received this message because you are sub

Re: [workflow-plugin] Compatibility with hetero-list and DescribableList?

2015-06-16 Thread Jesse Glick
On Friday, March 13, 2015 at 10:41:43 AM UTC-4, Nicolas Reibel wrote: > > I am working on a quite complex post-action build, where the user can > select which info to display through a hetero-list. > First of all, this might better be sent to jenkinsci-dev. > For this purpose, I overwrote the

Re: [workflow-plugin] Exposing RunWrapper.getLog() methods for workflow build step (or alternate way to retrieve build-step logs)

2015-06-16 Thread Jesse Glick
On Wednesday, June 10, 2015 at 3:36:43 PM UTC-4, Vizionz wrote: > > I see that the RunWrapper does not expose any api to retrieve > Run.getLogFile(). > Did you try wrapper.rawBuild.log? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsub

Re: [workflow-plugin] Dir step : funny way of removing your whole master .jenkins directory

2015-06-16 Thread Jesse Glick
All I can say is that if you set up security on Jenkins, then it would be impossible for a non-administrator to run the above script, because it would have to be sandboxed and the call to the File constructor would have been rejected, perhaps prompting that person to ask for help. -- You recei

Re: [workflow-plugin] getting error: java.io.NotSerializableException: java.util.HashMap$Entry

2015-06-16 Thread Jesse Glick
A variant of https://issues.jenkins-ci.org/browse/JENKINS-27421 I think. -- 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...@googlegroup

Re: [workflow-plugin] unable to create workflow job

2015-06-16 Thread Jesse Glick
On Monday, June 15, 2015 at 8:20:17 PM UTC-4, Steven Holmes wrote: > > I wonder if there is an easier install. > You should not need to do anything beyond asking to install “Workflow: Aggregator” (it is advisable to also restart Jenkins when offered). -- You received this message because you ar

Re: Does the laster version of docker plugin requires java 1.7 ?

2015-06-16 Thread Suckow, Thomas J
> Does the docker plugin requires java 1.7 ? Yes -- 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 di

Re: As I pass the -v parameter Y using the plugin "[Publish over SSH]"

2015-06-16 Thread Erick Macedo
any idea is welcome Em segunda-feira, 15 de junho de 2015 16:10:30 UTC-3, Erick Macedo escreveu: > > hi, > > I need to connect to a machine with this command > "Ssh -v -Y root@10.10.20.57" > > As I pass the -v parameter Y using the plugin "[Publish over SSH]" > > tks > -- You received this messa

Re: How to change default permissions of created jobs in Jenkins file system

2015-06-16 Thread Samith Dassanayake
It worked!. Thanks Daniel. On Tuesday, June 16, 2015 at 2:43:31 PM UTC+5:30, Daniel Beck wrote: > > This is controlled by the umask Jenkins is running as. Check the Jenkins > configuration files (/etc/defaults/jenkins or /etc/sysconfig/jenkins > depending on distro), I think they already have o

Steps to switch/convert between Windows Service and Interactive Process and vice versa if possible.

2015-06-16 Thread David Periam
I have a windows installation of Jenkins; I now wish to run that installation as an interactive process.. What steps do I need to do in order to reuse the same files etc for my current installation but move to an interactive process? -- You received this message because you are subscribed to th

Re: How to change default permissions of created jobs in Jenkins file system

2015-06-16 Thread Daniel Beck
This is controlled by the umask Jenkins is running as. Check the Jenkins configuration files (/etc/defaults/jenkins or /etc/sysconfig/jenkins depending on distro), I think they already have options for this. On 16.06.2015, at 11:03, Samith Dassanayake wrote: > Hi all, > > When I create a job(

How to change default permissions of created jobs in Jenkins file system

2015-06-16 Thread Samith Dassanayake
Hi all, When I create a job(say *foo*), if I check the /jobs/ directory all the jobs are created with the permission 755. But for my use case, when job is created, I want it to created with the 775(or with a given permission). How can I achieve that?. Appreciate your help.. Regards, Samith

Does the laster version of docker plugin requires java 1.7 ?

2015-06-16 Thread ycollet
Hello, Today, I found my installation of jenkins hanged. This was due to the docker plugin. In the log of jenkins, I found this message: 15 juin 2015 08:32:03 jenkins.InitReactorRunner$1 onTaskFailed GRAVE: Failed Loading plugin docker-plugin java.io.IOException: Unable to load com.nirima.jenki