Re: migration of complete server instance to new host.

2015-09-22 Thread Victor Martinez
What about using the SCM Sync plugin instead? - https://wiki.jenkins-ci.org/display/JENKINS/SCM+Sync+configuration+plugin Cheers On Tuesday, 22 September 2015 18:55:46 UTC+2, Justin wrote: > > My orgranization is moving to a new datacenter. I know that jobs can be > migrated between servers by

Unable to setup a slave using SSH

2015-09-22 Thread Eric Wood
I'm trying to set up a slave using SSH from a windows 7 server to a linux server.  I get the following error:  ERROR: Unexpected error in launching a slave. This is probably a bug in Jenkins. java.lang.IllegalStateException: Connection is not established! at

Publish Over SSH - Multiple Servers

2015-09-22 Thread Vince Guaglione
I have a promotion process that uses the publish over SSH plugin to transfer files to two servers following a build. I'm wondering if I can optionally turn off the transfer to one of the two servers via the build job or within the promotion process? Is this doable? To further clarify, we

Jenkins no longer detects changes when job is setup to build multiple branches

2015-09-22 Thread Matt Evans
Recently we changed our way of building branches. We use GIT and have scm polling to build branches. First, we used to poll a specific branch name (release/1.0). Now we use a regex (release/*). For example, instead of having: jenkinsJob1 that builds branch release/1.0 jenkinsJob2 that

Re: Jenkins no longer detects changes when job is setup to build multiple branches

2015-09-22 Thread Mark Waite
The git plugin has a legacy of treating the left hand side of a single slash in a branch spec a little too simply. We try to retain that legacy because we don't want to break existing users. You might consider trying one of the alternate forms of specifying the branch. Refer to the "?" icon on

Re: migration of complete server instance to new host.

2015-09-22 Thread Slide
Copying JENKINS_HOME was how I moved from one server to another. It worked great for me. Just want to make sure you initially install the same version of Jenkins on the destination server during migration to avoid any weird issues. Then update the Jenkins URL in the global config and you should be

Re: migration of complete server instance to new host.

2015-09-22 Thread Baptiste Mathus
One small quick tip about migrating big instances: we needed to move a Jenkins master (~1000 jobs) to a new machine minimizing the downtime. * leave the running server as is * provision the new machine and sync as often as you want the .jenkins directory from the running machine to that new one

Re: Publish Over SSH - Multiple Servers

2015-09-22 Thread Baptiste Mathus
One possibility would be using a conditional build step and some condition to enable the push. See https://wiki.jenkins-ci.org/display/JENKINS/Conditional+BuildStep+Plugin Cheers Le 22 sept. 2015 6:00 PM, "Vince Guaglione" a écrit : > I have a promotion process that

Re: Run Ansible in jenkins

2015-09-22 Thread Vani Paridhyani
Hi! There is this https://wiki.jenkins-ci.org/display/JENKINS/Ansible+Plugin you can use. On Friday, January 9, 2015 at 8:58:11 PM UTC+5:30, Manikandan Santhi Selvam wrote: > > > > Hi > >I am new to jenkins. i am try to run ansible in my jenkins. > There is no ansible plugin available. >

'ansible-playbook: command not found' error when running from execute shell

2015-09-22 Thread Vani Paridhyani
Hi! I want to know how to run ansible-playbook from ‘execute shell’ of jenkins. I am getting 'ansible-playbook: command not found' error. I am able to run the playbook by ssh’ng into the Jenkins box. -- You received this message because you are subscribed to the Google Groups "Jenkins Users"

Re: 'ansible-playbook: command not found' error when running from execute shell

2015-09-22 Thread Victor Martinez
Hi, Command not found message is about your shell context, likely your ansible-playbook command is not part of the path variable, have you checked your path variables in your slave? You could either set your path or use the full path. You can see those variables if you run the below command

Re: 'ansible-playbook: command not found' error when running from execute shell

2015-09-22 Thread Vani Paridhyani
Got it. Thanks Victor! On Tue, Sep 22, 2015 at 11:57 AM, Victor Martinez < victormartinezru...@gmail.com> wrote: > Hi, > > Command not found message is about your shell context, likely your > ansible-playbook command is not part of the path variable, have you checked > your path variables in

Re: GUI with jenkins not opening on the slave machine

2015-09-22 Thread Victor Martinez
Let me ask you if you are launching your slave connection via windows services (point 6) or via JNLP connections (point 5) JNLP shouldn't run in the background AFAIK. Have you tried to run those

Re: Is there a way to provide build parameters through a dialog box ?

2015-09-22 Thread Vani Paridhyani
Hi! Yes it is possible. Check 'This build is parameterized' in the job. You can choose to give 'String Parameter' in your case. On Tuesday, September 22, 2015 at 10:55:47 AM UTC+5:30, Rohan Majumdar wrote: > > I am building a project with jenkins. > I am seeking a plugin or some usage

Jenkins with TestNG and Selenium using an Executable Jar file

2015-09-22 Thread Renfield Meloy Goodman
Currently I'm using Jenkins to kick off a TestNG suite which has been exported to a runnable jar file. If i run this locally without Jenkins through command line my tests run without a problem only once. Once i build a job through Jenkins [verified the TestNG plugin is in place], the tests

migration of complete server instance to new host.

2015-09-22 Thread Justin
My orgranization is moving to a new datacenter. I know that jobs can be migrated between servers by just copying the job folder. But what about the rest of the server instance (global credentials, global security, plugin configurations, user database/settings, etc)? I've seen some older posts

Re: Initiate script/email BEFORE SCM polling

2015-09-22 Thread Jeff
At this point, I would take a trigger on ANY SCM polling outcome. -Jeff On Tuesday, September 22, 2015 at 3:53:42 PM UTC-5, slide wrote: > > You are right, I haven't added the email before/after SCM polling, its an > open issue [1] that I haven't been able to design into email-ext as well as >

Initiate script/email BEFORE SCM polling

2015-09-22 Thread Jeff
I have someone in our development group, who insists on receiving an email, no matter whether there are SCM changes initiating a build, or not (polling at scheduled times throughout the day). They want evidence that the process is running at the scheduled times, whether a build is occurring

Re: Initiate script/email BEFORE SCM polling

2015-09-22 Thread Slide
I'll see if I can put something initial together tonight. On Tue, Sep 22, 2015 at 2:17 PM Jeff wrote: > At this point, I would take a trigger on ANY SCM polling outcome. > -Jeff > > > On Tuesday, September 22, 2015 at 3:53:42 PM UTC-5, slide wrote: > >> You are right, I

Re: Initiate script/email BEFORE SCM polling

2015-09-22 Thread Slide
You are right, I haven't added the email before/after SCM polling, its an open issue [1] that I haven't been able to design into email-ext as well as I would like. I'm not sure what people want since the "triggering" isn't as varied (SCMPollListener really only has 3 outcomes). If you have ideas

Re: SDL init failure, reason is: No available video device

2015-09-22 Thread Mark Waite
Google search is a very helpful tool for those types of questions. Paste the error message into a search, and review the suggestions which result. Mark Waite On Tue, Sep 22, 2015 at 6:03 PM Kirshan Luhana wrote: > Can you please guide how can I solve this problem, > >

Re: SDL init failure, reason is: No available video device

2015-09-22 Thread Kirshan Luhana
Can you please guide how can I solve this problem, *libGL error: failed to load driver: swrast * *libGL error: failed to load driver: swrast getGLES1ExtensionString: Could not find GLES 1.x config! Failed to obtain GLES 1.x extensions string!* I using linux mint 17.2, latest Jenkins and andoid

Re: SDL init failure, reason is: No available video device

2015-09-22 Thread Kirshan Kumar
Thanks, from many days trying to gogle bus could not find good solution :( On 23-Sep-2015 2:07 am, "Mark Waite" wrote: > Google search is a very helpful tool for those types of questions. Paste > the error message into a search, and review the suggestions which

losing post build steps(Jenkins 1.623 and above)

2015-09-22 Thread yoram
Upon reboot of jenkins and my machine, the post build steps disappear on all my job configs. When I look at the config.xml for the job, the steps are there and also when I try to reload from disk - they are not refreshed in the UI. I tried the cli reload-job and the only way I can fix this is

Re: wrong embedded profile is used for widget and watchkit-extension

2015-09-22 Thread Lukas Mollidor
Hi Roman. Here's a couple of ideas that have helped us in the past. 1) Try to limit the options Xcode can choose from The fewer options Xcode has, the better. Delete all outdated provisioning profiles and only import the ones you really need (see 3). Try creating different Jenkins slaves that

Re: GUI with jenkins not opening on the slave machine

2015-09-22 Thread Victor Martinez
That's actually the expected behaviour since Windows services uses Display 0 - https://msdn.microsoft.com/en-us/library/windows/desktop/ms683502(v=vs.85).aspx Just seen there was already some answers about this feature in the stackoverflow -

Re: Jenkins and GitHub Enterprise "Forking"

2015-09-22 Thread Nigel Magnay
> > > Don't use forks, use branches. > > Forks are good to allow people to contribute w/o being members of a > projects (i.o.w. w/o granting them push permission). This is not the case > for GH Enterprise, where all your devs are members of your project, aren't > they? > > Access control to the

Re: Editing Build parameters or Build priority for Builds in queue

2015-09-22 Thread pshee
Thanks Khai Do-2 for the reply. I'm looking for something without stopping the build in the queue.This is mainly for re-prioritising builds. -- View this message in context:

Re: Jenkins configuration and selenium Grid

2015-09-22 Thread steliosP
Hello RIchard, What you describe is totally understandable. Let me explain you my problem a bit. I want to use Jenkins not only as a selenium grid host, but also as a CI server. Let's say that from gird point of view, we are ok, since the slaves can be viewed in the selenium grid configuration

Re: Is there a way to provide build parameters through a dialog box ?

2015-09-22 Thread Rohan Majumdar
Thnx Vani On Tuesday, September 22, 2015 at 11:41:50 AM UTC+5:30, Vani Paridhyani wrote: > > Hi! > > Yes it is possible. Check 'This build is parameterized' in the job. You > can choose to give 'String Parameter' in your case. > > On Tuesday, September 22, 2015 at 10:55:47 AM UTC+5:30, Rohan

Troubles with publishing artifacts

2015-09-22 Thread alexeyshirjaew
Hello! Help me, please, i have some troubles with publishing artifacts. My jenkins server located on the subdomain jenkins.mysubdomain.com and after build it generates links such as http://jenkins.subdomain.com/job/branch/build_id/artifact/bin/Artifacts/branch-build_id-bin.7z for download

Re: GUI with jenkins not opening on the slave machine

2015-09-22 Thread Rohan Majumdar
I have observed something weird, that the automation is visible when the agent is not running as a windows service. The automation visibility worked that way. Discovered this by accident. On Tuesday, September 22, 2015 at 11:55:05 AM UTC+5:30, Victor Martinez wrote: > > Let me ask you if you

Re: GUI with jenkins not opening on the slave machine

2015-09-22 Thread Rohan Majumdar
Okay what I observed was rather weird, when the agent is not running as a service the automation is visible, I discovered this by accident. On Tue, Sep 22, 2015 at 11:55 AM, Victor Martinez < victormartinezru...@gmail.com> wrote: > Let me ask you if you are launching your slave connection via

UnsatisfiedLinkError on slaves after restart of master

2015-09-22 Thread Stefan Drissen
Jenkins: 1.627 TFS plug-in: 4.0.0 Java: jre1.8.0_60 Intermittently multiple slaves are failing to build with: Started by user Stefan Drissen [EnvInject] - Loading node environment variables. Building remotely on in workspace c:\exact\jenkins\workspace\7.20\build work FATAL:

Re: Approve workflow script from Job DSL plugin

2015-09-22 Thread Kanstantsin Shautsou
When i'm adding script manually in job it approved, when converting to dsl - it requires approval. This is not very convenient. On Sunday, August 16, 2015 at 11:29:46 AM UTC+3, David Resnick wrote: > > I've set the script to be sandboxed in the Job DSL script, though it looks > link only a

Re: Digest for jenkinsci-users@googlegroups.com - 25 updates in 14 topics

2015-09-22 Thread Anna Hridin
When jenkins is run as service on windows machines it runs in different background session and it is not possible to run UI test there are many posts about it on the net. To overcome the issue you can set task and load jenkins by jar On Sep 22, 2015 3:07 PM,