Re: Can I move slaves from one Jenkins to another Jenkins?

2015-04-29 Thread Vanetta Floyd
Thanks RichardWe should be good then. On Apr 29, 2015 7:59 PM, "Richard Bywater" wrote: > I wouldn't envisage any issues unless the new server was behind some kind > of firewall etc. and the new server has the right credentials to connect to > the slave. > > Richard. > > On Thu, 30 Apr 2015 a

Re: Git via SSH is not working on this new install

2015-04-29 Thread Mark Waite
The syntax which allows embedding user name and password into the URL seems to be https. I run tests of the git client plugin with this as a sample URL: https://MarkEWaite:my_password_h...@gitlab.com/MarkEWaite/git-client-plugin.git I also have a job in my test kit which uses a username / passwo

Re: Can I move slaves from one Jenkins to another Jenkins?

2015-04-29 Thread Richard Bywater
I wouldn't envisage any issues unless the new server was behind some kind of firewall etc. and the new server has the right credentials to connect to the slave. Richard. On Thu, 30 Apr 2015 at 14:43 Vanetta Floyd wrote: > How about in general (remove any mention of enterprise)? If I were > set

Re: Can I move slaves from one Jenkins to another Jenkins?

2015-04-29 Thread Vanetta Floyd
How about in general (remove any mention of enterprise)? If I were setting up a jenkins on a different server, does anyone know if there would be an issue with moving slaves from the old to the new? On Apr 29, 2015 5:21 PM, "Christopher Orr" wrote: > On 29/04/15 22:35, VFloyd wrote: > >> We are

Re: Git via SSH is not working on this new install

2015-04-29 Thread Ken Keefe
I tried embedding the username and not embedding the username. Both result in the exact same error. Is there a way to embed the password too? Ken On Wed, Apr 29, 2015 at 8:51 PM, Mark Waite wrote: > If you embed the user name and the password into the SSH url, does it > succeed from within the

Re: Git via SSH is not working on this new install

2015-04-29 Thread Mark Waite
If you embed the user name and the password into the SSH url, does it succeed from within the Jenkins job? On Wed, Apr 29, 2015 at 3:31 PM Ken Keefe wrote: > I am trying to get my first Jenkins install up and running. I have set up > a ubuntu 14.04 dumb slave. I am trying to get the slave to sim

Re: Can I move slaves from one Jenkins to another Jenkins?

2015-04-29 Thread Christopher Orr
On 29/04/15 22:35, VFloyd wrote: We are migrating our Jenkins to Enterprise Jenkins. Can I take the slave servers from our original Jenkins and hook them up to our new Enterprise Jenkins without too much trouble? There isn't an open source "enterprise" version of Jenkins, so you'd have to dir

If 2 jobs in a stream queued, allow one to build

2015-04-29 Thread Douglas Blondin
Hello -- I have 3 jobs in a stream relationship -- let's call them A, B & C. Only 1 can run at a time. So I checked the configuration "Block build when upstream project is build" and "Block build when downstream project is building". And everything worked as expected. This was on Jenkins

Git via SSH is not working on this new install

2015-04-29 Thread Ken Keefe
I am trying to get my first Jenkins install up and running. I have set up a ubuntu 14.04 dumb slave. I am trying to get the slave to simply clone a git repo from an SSH server as a starting point. Unfortunately it keeps failing. Here is a pastebin of the job's log: http://pastebin.com/2LVkaQcG

Re: Bug Publish over SSH

2015-04-29 Thread Richard Bywater
An interactive process is when you as a person connect to it rather than an system process (like Jenkins). For instance one of the .bashrc files on one of my systems has this has its first thing: # If not running interactively, don't do anything case $- in *i*) ;; *) return;; esac (There are

Can I move slaves from one Jenkins to another Jenkins?

2015-04-29 Thread VFloyd
We are migrating our Jenkins to Enterprise Jenkins. Can I take the slave servers from our original Jenkins and hook them up to our new Enterprise Jenkins without too much trouble? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscrib

Re: Getting Last promoted build number

2015-04-29 Thread corneil.duples...@gmail.com
I usually add a shell step that writes the promoted build number to a file that can be accessed via a url. The file will get lost if it remains in the workspace so it will be best to add an archive step after shell step. You should then use a url to the archived content. On 29 April 2015 at 21:21,

Re: Getting Last promoted build number

2015-04-29 Thread zippo7061
Thank you, but can you please provide an example on how you would get to that env variable from a url GET. On Wednesday, April 29, 2015 at 2:18:31 PM UTC-5, hhvong wrote: > > you can use environment variable promoted_number to get last promoted > build number > > On Wed, Apr 29, 2015 at 3:02 P

Re: Getting Last promoted build number

2015-04-29 Thread Hau Vong
you can use environment variable promoted_number to get last promoted build number On Wed, Apr 29, 2015 at 3:02 PM, Melissa Palmer wrote: > Hi Zippo, did you manage to solve this? I'm needing to get the previous > promoted build number too. Thanks Melissa > > On Tuesday, 28 April 2015 18:37:50 U

Re: Getting Last promoted build number

2015-04-29 Thread Melissa Palmer
Hi Zippo, did you manage to solve this? I'm needing to get the previous promoted build number too. Thanks Melissa On Tuesday, 28 April 2015 18:37:50 UTC+2, zippo7061 wrote: > > I was trying the get the last successful build that was promoted > (promotion plugin) into a specific environment out o

Re: Bug Publish over SSH

2015-04-29 Thread Erick Macedo
Hi Richard, What would this interactive process, could exemplify? obrigaod Em terça-feira, 28 de abril de 2015 16:25:21 UTC-3, Erick Macedo escreveu: > > Hi, > > I'm using the plugin Publish over SSH to run a remote command maven on a > linux machine with properly configured maven. > > However

Re: Help Needed: Unable to get Remote Build Trigger working

2015-04-29 Thread Matt Stave
You need to curl -X POST On Thursday, March 19, 2015 at 11:06:34 AM UTC-7, Vinoth raj wrote: > > I need to use curl to remotely trigger build for a project. > > Jenkins ver. 1.580.3 > Following setting is done: > In Configure Global Security section: > - Jenkins' own user database set is enabled

Re: Getting java exceptions while running my job from Jenkins server

2015-04-29 Thread Matt Stave
It looks like it's failing before it gets to your job steps. Are you sure the slave node user has access to all the relevant directories? On Thursday, April 23, 2015 at 3:30:53 AM UTC-7, Krishna Kumar Tiwari wrote: > > Hi > > How can i find the jenkins version ? I haev attached the jenkins serv

Re: How to dynamically set a local Maven repository per a set of Jobs

2015-04-29 Thread Matt Stave
We have multiple Jenkins jobs using maven with the same userID with /home on a file system shared between slave nodes, so the default ~/.m2/repository led to ... nice speedups, but had the downside of doing The Wrong Thing, and causing errors. So for jobs that call mvn in the middle of a bash

Re: Efficiently copying artifacts

2015-04-29 Thread Matt Stave
I found that using that standard method is quite slow compared to scp. So I use that method to copy just a few small files, and one with GUIDs for fingerprinting, and for the big ones I do something like scp -v ${WORKSPACE}/bigfile.tar.gz user@jenkins_host_name:path_to_jenkins_root/jobs/${JOB

Re: Execute two jobs in Jenkins without losing session

2015-04-29 Thread Kanstantsin Shautsou
AFAIK it's currently jenkins limitation that you can't bind sequence of jobs to one slave. I hope something will change after Cloud API improvements. All that you can do it just create a static slave in EXCLUSION mode (run only tied jobs), assign label, bind job to this label. On Tuesday, Apri

Can I use jenkins for Parallel Execution on Multiple Mobile devices

2015-04-29 Thread VahiniJyothi Kapaka
I built a Mobile Testing framework on top of seetest mobile automation tool using vb.net, where i integrated with Jenkins and i am trying to execute the script on multiple devices parallely. I used multi threading logic and in Nunit it worked file, but in jenkins test is passed and the script i

Re: 1.611 not offered for update

2015-04-29 Thread Stephen Connolly
The mirrors can take a while to sync and the release was only published today On 28 April 2015 at 15:53, wrote: > According to the Jenkins changelog http://jenkins-ci.org/changelog, > Jenkins 1.611 has been out for a few days now. > However, my Jenkins is only offering me an upgrade to 1.610 (I'

Re: Jenkins 1.607 - Environment Variables Stuck

2015-04-29 Thread Henk van Voorthuijsen
Varun, Have you tried setting the variable with SETX instead of SET ? Henk -- 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...@googleg

Re: Bug Publish over SSH

2015-04-29 Thread Erick Macedo
The plugin "SSH plugin" only allows you to run an SSH command on the server, since the "Publish over SSH" lets you send data and execute any command. Out of curiosity I auditioned with "SSH plugin" and it also returns mvn: command not found, which leads me to understand that the problem is not i

Run batch file located on another machine

2015-04-29 Thread Faizan Javed
I have a batch file which is located on another machine and I want to run it in my Jenkins job. What steps are required to do this? -- 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 i

Dashboard view plugin is showing "0 Builds" in Build Statistics after updating Jenkins server time zone

2015-04-29 Thread VillageMonkey
Hi, We were using *Asia/Kolkata* time zone for our Jenkins server since yesterday. Most of our jobs scheduled using *America/Toronto* time zone so we updated Jenkins server time zone to America/Toronto. We observed that some *builds were* *out of order *after this change, since there is 9:30 h

Configure gitlab hook plugin templates for unknown repo's

2015-04-29 Thread Gijs Van Ostaeyen
we've created a continuous integration workflow with Gitlab (v7.9.2) and Jenkins(v1.596.2). We defined a Jenkins job to build every push that is made to every repository on Gitlab with the Gitlab hook http://xx.xx.xx.xx:8080/gitlab/build_now It's bad practice to let one job build all the task

RE: Jenkins 1.607 - Environment Variables Stuck

2015-04-29 Thread Jennifer Hofmeister
Hi VJ, thanks for the update. Yesterday, I also wrote Simon that my experience is probably not the best to help you, because my system is entirely local. Thus, as I realised yesterday, I’m not actually able to make out a difference between the master host’s env and that of the slaves. Duh! My b