Re: create custom workspace for each execution of a job

2016-02-01 Thread Ryan Campbell
Standard recommendation is to write your job so that it can correctly clean up the workspace before building, for instance with a git reset or similar. Git scm step has flags for this. If you want to analyze the workspace upon failure, perhaps use a try/catch block and put an archive step in the

Re: create custom workspace for each execution of a job

2016-02-01 Thread niristotle okram
ahh - yes the try/catch is an option that i missed. Now for the delete, i am referring to the various workspace folder that each run of the job/workflow is going to create with my current script. My current workflow script is creating directories with the name as the BUILD_NUMBER as unique

Re: How to List Plugin on Main Plugins Page

2016-02-01 Thread Steve Taylor
I updated the labels so they are now correct. How long will it take for the changes to be picked up? Thanks, Steve On Monday, February 1, 2016 at 12:47:58 PM UTC-7, Andrew Bayer wrote: > > I've added the "plugin-must-be-labeled" label to your plugin wiki page. > That should eventually get it

How to List Plugin on Main Plugins Page

2016-02-01 Thread Steve Taylor
I have this plugin: https://wiki.jenkins-ci.org/display/JENKINS/OpenMake+Release+Engineer+Plugin and I would like it listed on: https://wiki.jenkins-ci.org/display/JENKINS/Plugins How do I go about getting that page updated? Thanks, Steve -- You received this message because you are

Re: create custom workspace for each execution of a job

2016-02-01 Thread Ryan Campbell
Workspaces should already be unique to a given concurrent build of Jenkins. You shouldn't have to do anything special to enable this. On Mon, Feb 1, 2016, 2:38 PM niristotle okram wrote: > Okay - i figured out the point of error. i should be using the " instead > of ' .

Re: fetch the api key for the current user?

2016-02-01 Thread milki milk
On Monday, February 1, 2016 at 7:38:49 AM UTC-8, Brian J. Murrell wrote: > > On Sun, 2016-01-31 at 23:45 +0100, Daniel Beck wrote: > > On 30.01.2016, at 19:10, Brian J. Murrell > c...@public.gmane.org > wrote: > > I think any answer to this would likely be a security issue and > > should be

Re: create custom workspace for each execution of a job

2016-02-01 Thread niristotle okram
Okay - i figured out the point of error. i should be using the " instead of ' . So it should be ws("/opt/mount1/jenkins/jobs/GoogleFlow/workspace/${env.BUILD_NUMBER}") On Monday, February 1, 2016 at 2:23:10 PM UTC-6, niristotle okram wrote: > > i am trying to create unique workspace for my

Re: How to List Plugin on Main Plugins Page

2016-02-01 Thread Andrew Bayer
I've added the "plugin-must-be-labeled" label to your plugin wiki page. That should eventually get it to show up in the bottom section of the page, until you give it a more appropriate label. A. On Mon, Feb 1, 2016 at 11:15 AM, Steve Taylor < steve.tay...@openmakesoftware.com> wrote: > > I have

create custom workspace for each execution of a job

2016-02-01 Thread niristotle okram
i am trying to create unique workspace for my workflow/pipeline. The workspace will contain certain files that i don't want to mess up when the job runs concurrently. my workflow looks something like node("master") { stage name: 'sync', concurrency: 3

Re: create custom workspace for each execution of a job

2016-02-01 Thread niristotle okram
Yes, i started by thinking that the workspace will be auto unique. i noticed that when i trigger mulitple build for a job (trying to simulate the concurrency), it sometime creates workspaces like /opt/mount1/jenkins/jobs/GoogleFlow/workspace /opt/mount1/jenkins/jobs/GoogleFlow/workspace@2

Re: fetch the api key for the current user?

2016-02-01 Thread Brian J. Murrell
On Mon, 2016-02-01 at 13:24 -0800, milki milk wrote: >  > The security part comes in when you fetch an arbitrary user's key I never ever said fetch an *arbitrary* user's key.  I said a job run as user Bob would fetch the key of the user (again, Bob) who ran it, who has to be already logged into

Re: AWS ECS Plugin

2016-02-01 Thread Mulloy Morrow
Was able to get this working. Mounted the docker socket using the mount point configs in the jenkins plugin. However, I was getting a permission denied when trying to nc or curl the socket for info. I had to run the slaves as user root rather than user jenkins. Has either of you come across

Re: fetch the api key for the current user?

2016-02-01 Thread Daniel Beck
On 01.02.2016, at 22:44, Brian J. Murrell wrote: > So it's absolutely no different from you logging into Jenkins, > and going to your user/USERNAME/ page and fetching your key. Except in one case you're in the same authenticated browsing session, and in the other case,

RE: How can I POST data to a remote service in Jenkins pipeline/workflow?

2016-02-01 Thread Scott Richmond
How does one install httpbuilder a part of the Jenkins client? I’ve found very little instruction on this. Sent from Outlook Mail for Windows 10 phone *From: *Craig Rodrigues *Sent: *Monday, 1 February 2016 10:49 PM *To: *Scott Richmond *Cc:

Re: How can I POST data to a remote service in Jenkins pipeline/workflow?

2016-02-01 Thread Craig Rodrigues
Yes, you would need to install HTTPBuilder. You can decide if you want to install additional groovy libraries, or if you prefer switch to a scripting language of your choice, which you can call from inside a Jenkins job in order to access a REST service. -- Craig On Sun, Jan 31, 2016 at 2:49 PM,

Re: Build pipeline plugin 1.1(.1) release

2016-02-01 Thread Ramnath Ananth
Hi Geoff, Can I trigger a build using the build REST api in the build pipeline ? As of now I can directly trigger a job using /job/job_name/build. But this doesn't get reflected on the pipeline view. Thanks Ram On Wednesday, April 13, 2011 at 11:04:33 PM UTC-7, Geoff Bullen wrote: > > New

Re: How do I get a Jenkins server to push bash code to a different server?

2016-02-01 Thread Kiran
If the job just deploys a file to different servers (and uses no slaves) is a Freestyle project? On Monday, February 1, 2016 at 8:53:50 AM UTC-5, Mark Waite wrote: > > Yes, a project that runs a job on multiple slaves is a multi-configuration > (or "matrix") project. > > >

Re: How do I configure passwordless authentication with the jenkins user? Or is it not necessary?

2016-02-01 Thread Kiran
Part of the problem was that authorized_keys need to have its permissions set to 400. -- 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

Re: create custom workspace for each execution of a job

2016-02-01 Thread Craig Rodrigues
deleteDir() doesn't take arguments, so you would have to do: *deleteDir()* inside the directory that you want to delete. See: https://github.com/jenkinsci/workflow-plugin/blob/master/basic-steps/src/main/resources/org/jenkinsci/plugins/workflow/steps/DeleteDirStep/help.html

Quiet Period and Build Now

2016-02-01 Thread Mark Bidewell
Is there a way to assign a quiet period in Jenkins such that it only affects automatic builds and build triggers, but "Build Now" requests still happen without delay? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this

Opinions for downstream jobs: Check "This build is parameterized" or not

2016-02-01 Thread Brantone
G'day, Curious question on your own conventions when setting up a job that will be downstream (so when A triggers B). Do you still check the "This build is parameterized" and and fill in *ALL* the params it's expecting, or use the params in the job as if they were defined and expect upstream

Re: Pipeline Plugin: Adjusting the Visualization of Pipeline Steps

2016-02-01 Thread Baptiste Mathus
Thanks Brian. 2016-01-28 23:14 GMT+00:00 brian dawson : > Unfortunately I am not aware of the ETA but it is imminent > ᐧ > > On Thu, Jan 28, 2016 at 1:58 PM, Baptiste Mathus wrote: > >> BTW, stealing the thread a bit: any ETA for that plugin to be pushed

scm sync plugin error on windows

2016-02-01 Thread Kelly Goedert
Hi, I am successfully using the SCMSync plugin with git on a linux machine. Now, I would like to use it on windows. On windows, jenkins is running as a service. When trying to save any change I get this error: Initializing SCM repository for scm-sync-configuration plugin ... jan 29, 2016

Re: Logentries Forwarder - Token

2016-02-01 Thread GS_L
The secret text didn't work for me. I defined secret text in 'Manage Credentials'. In the job configuration I checked the 'Use secret text(s) or file(s)', added a variable base on the secret text I pre defined. in the 'Logentries Forwarder' - I entered the $var - it didn't work The 'Use secret

Re: How do I get a Jenkins server to push bash code to a different server?

2016-02-01 Thread Mark Waite
Yes, a project that runs a job on multiple slaves is a multi-configuration (or "matrix") project. http://stackoverflow.com/questions/7515730/jenkins-and-multi-configuration-matrix-jobs gives a good description of the differences between the two.

Re: How do I configure a Jenkins build to push a file to a specific server on the network?

2016-02-01 Thread Eric Pyle
If I understand the question, you check "Restrict where this project can be run" in the job configuration to control where to run the job, assuming that the machine where you want to run it is a Jenkins slave. Eric On 2/1/2016 7:25 AM, Kiran wrote: I have those installed. I click "New Item."

Re: REST api to trigger a job in the build pipeline

2016-02-01 Thread Ramnath Ananth
Yes , thats correct. On Jan 31, 2016 11:26 PM, "Michael Neale" wrote: > Well you certainly can call jobB, but I think you want it to show up in > the plugin visualisation. > > On Mon, Feb 1, 2016 at 5:31 PM Ramnath Ananth > wrote: > >> Yes, for

Re: How do I get a Jenkins server to push bash code to a different server?

2016-02-01 Thread Kiran
If I have a single job that I want to run on many computers, that is a multi-configuration job? -- 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

Re: How do I configure a Jenkins build to push a file to a specific server on the network?

2016-02-01 Thread Victor Martinez
Probably in your global settings http://YOUR_JENKINS_URL/configure On Monday, 1 February 2016 12:25:41 UTC, Kiran wrote: > > I have those installed. I click "New Item." I have some options. Where > in the "New Item" options do I configure the machine (e.g., DNS name)? > > On Sunday, January

Re: How do I configure a Jenkins build to push a file to a specific server on the network?

2016-02-01 Thread Kiran
I have those installed. I click "New Item." I have some options. Where in the "New Item" options do I configure the machine (e.g., DNS name)? On Sunday, January 31, 2016 at 12:16:25 PM UTC-5, Victor Martinez wrote: > > You can use the below plugins: > -

Re: [theme] New Jenkins Material Design Theme

2016-02-01 Thread Afonso F
Hi jierin, The theme still need a lot of improvements, I created with some restrictions in mind: - Do not make it heavy: Using SVG images avoid the necessity of multi-size images - Do not use external resources: All images were embeded to the css file (planning to do the same with

Re: AWS ECS Plugin

2016-02-01 Thread nicolas de loof
docker socket is only accessible to users in docker group or to root. running from a container doesn't bypass such permission check. 2016-02-01 23:55 GMT+01:00 Mulloy Morrow : > Was able to get this working. Mounted the docker socket using the mount > point configs in the

Re: AWS ECS Plugin

2016-02-01 Thread Mulloy Morrow
Has anyone successfully been able to mount the Docker UNIX socket on the slave containers? I've attempted to mount this socket using the Jenkins ECS plugin (v1.2) by configuring "container mount points". (see jenkins config screenshot below)

Re: fetch the api key for the current user?

2016-02-01 Thread Brian J. Murrell
On Sun, 2016-01-31 at 23:45 +0100, Daniel Beck wrote: > On 30.01.2016, at 19:10, Brian J. Murrell c...@public.gmane.org> wrote: > > > I am looking for a REST API handle to get the API key of the user > > that > > ran a job. > > I think any answer to this would likely be a security issue and >

QA -- healthcare|Charlotte NC

2016-02-01 Thread Neha Kumari
Hello, GREETINGS !! This is Neha from Apetan consulting, Please find the below job description and send me your update resume matching to it along with Contact details, Current location, Visa and Availability ASAP. POSITION: QA Engineer LOCATION: Charlotte NC Start :ASAP Job Overview:

How to make a full backup of a Jenkins Installation

2016-02-01 Thread _n00n_
Hi, I started to learn jenkins and my first problem: I would like to create a install script, which is also installing all plugins and all settings for this plugins. The current backup plugins are not working prober. Could make backups, but not restore them anymore Any hint for me?