Re: Security for team-specific nodes

2020-03-25 Thread Jason Swager
If you use CloudBees Jenkins and their Folder Plus plugin, there is a feature on Folders that allows exactly this. There is a Controlled Slave/Folder feature where you can set a mapping between one or more folders to a slave. Such that only jobs in the mapped folder can execute on the mapped

vSphere Cloud Plugin up for adoption

2017-06-19 Thread Jason Swager
Hello, I am putting the vSphere Cloud Plugin up for adoption - would any one like ownership of it? If so please contact me directly via email. Wiki page: https://wiki.jenkins-ci.org/display/JENKINS/vSphere+Cloud+Plugin Source: https://github.com/jenkinsci/vsphere-cloud-plugin Jason Swager

Re: Pipeline help please!

2016-09-30 Thread Jason Swager
This should help: https://github.com/jenkinsci/pipeline-examples/blob/master/docs/BEST_PRACTICES.md#groovy-gotchas On Friday, September 30, 2016 at 10:26:40 PM UTC-7, Sam K wrote: > > Anyone? > > On Friday, September 30, 2016 at 11:54:32 AM UTC-7, Sam K wrote: >> >> I have 4 sets of IP

Make Pipeline build (or stage) NOT be durable?

2016-09-16 Thread Jason Swager
Pipelines are very nice for their durable steps; when you've got persistent slaves, it's rather nice to have a build pickup after an unexpected Jenkins shutdown. But if you're using temporary slaves - like from the Docker plugin - those slaves often won't exist after the Jenkins restart. Is

Re: Plugin to support Docker swarm as cloud provider?

2016-03-19 Thread Jason Swager
We use the Docker Plugin (https://wiki.jenkins-ci.org/display/JENKINS/Docker+Plugin) with Docker Swarm. Since a Swarm Master presents itself just like a normal Docker host, Jenkins doesn't see the difference and and uses it exactly the same. On Wednesday, March 16, 2016 at 12:07:16 PM UTC-7,

Re: Run job on ALL cloud (i.e. Docker) slaves including a given label

2016-01-19 Thread Jason Swager
Take a look at the NodeLabel Parameter plugin (https://wiki.jenkins-ci.org/display/JENKINS/NodeLabel+Parameter+Plugin). This offers a way to start a job with a parameter that is a label and the job can run on all matching slaves. On Tuesday, January 19, 2016 at 8:13:43 AM UTC-8, Julianus

hudson.model.DirectoryBrowserSupport.CSP inaccesible; cannot render userContent HTML

2015-12-23 Thread Jason Swager
I'm using Jenkins v1.642, running on Windows 2012 Server as a service (not behind a web server). There are HTML and CSS files in the userContent that provided a custom dashboard. That dashboard no longer renders properly. A check of the browser console showed "Blocked script execution in

Re: hudson.model.DirectoryBrowserSupport.CSP inaccesible; cannot render userContent HTML

2015-12-23 Thread Jason Swager
My apologies. After re-reading through the doc, I saw my mistake. Thank you! On Wednesday, December 23, 2015 at 7:07:30 AM UTC-8, Daniel Beck wrote: > > > > On 23.12.2015, at 15:40, Jason Swager <jsw...@alohaoi.com > > wrote: > > > > tried th

Re: Problem reverting to snapshot in job

2015-11-23 Thread Jason Swager
(sort of like rebooting your slave mid-build), the build will fail. To work around this, split the job across two jobs. First job reverts the targeted slave VM, second job runs on the targeted slave VM. Jason Swager On Monday, November 23, 2015 at 7:09:29 AM UTC-8, Andreas Tscharner wrote

Re: Regarding docker : JENKINS-30113

2015-11-01 Thread Jason Swager
If you're using the Docker plugin (https://wiki.jenkins-ci.org/display/JENKINS/Docker+Plugin), I found the env vars worked fine when they were setup to be available to incoming .ssh connections. That sometimes meant using a different config file within the container to prep the variables. A

Re: Regarding docker : JENKINS-30113

2015-10-28 Thread Jason Swager
Have you considered using the Docker plugin (https://wiki.jenkins-ci.org/display/JENKINS/Docker+Plugin)? That plugin seems to be a closer fit for what you might want. The entire slave is in a container and consequently, all the PreBuild plugins and Publisher plugins work like they would on a

Re: vSphere plugin on ESXi5

2015-10-27 Thread Jason Swager
It most likely means that you are using a version of esxi that doesn't have all the feature enabled, such as the free version of the esxi or possibly a time limited or trial version. The plugin is designed to work with vSphere - talking to a vCenter. ESXi standalone exposes the same API, but

Re: Build Promotions don't work with more than 1 downstream project

2015-08-19 Thread Jason Swager
Do you have a common file with the same fingerprint between jobs A, B, and C? I have used this type of promotion before. One thing you may want to check; do the fingerprints on job A show that the fingerprint originated in job A? And are Job B and Job C listed with the same fingerprint? On

Re: Build Promotions don't work with more than 1 downstream project

2015-08-19 Thread Jason Swager
, Jason Swager wrote: Do you have a common file with the same fingerprint between jobs A, B, and C? I have used this type of promotion before. One thing you may want to check; do the fingerprints on job A show that the fingerprint originated in job A? And are Job B and Job C listed

Workflow and publishers

2015-01-28 Thread Jason Swager
The workflow plugin(s) have been very nice. They have made it far easier to handle the build and test parts of our pipelines. But where the workflow has not done as well is the publishers - only a couple seem supported at this time. In particular, we use CheckStyle, FindBugs, compiler

Re: Issue while installing jenkins war

2014-09-13 Thread Jason Swager
I'm having the same problem. I'm trying to install Jenkins 1.579 into Tomcat 7 which is running on a Synology NAS server. The only thing I can find is the exception that's listed above. Anyone know how to solve this problem? Jason On Saturday, July 5, 2014 11:50:25 AM UTC-7, Swarup Rakshit

Re: Issue while installing jenkins war

2014-09-13 Thread Jason Swager
, at 23:42, Jason Swager jsw...@alohaoi.com javascript: wrote: I'm having the same problem. I'm trying to install Jenkins 1.579 into Tomcat 7 which is running on a Synology NAS server. The only thing I can find is the exception that's listed above. Anyone know how to solve this problem

Re: Vsphere cloud plugin - Error when testing connection in Vsphere cloud settings

2014-01-30 Thread Jason Swager
I don't believe that this is specifically a problem with the vSphere Cloud plugin. I believe that this is a problem with your installed Java attempting to contact the vSphere server using SSL. Recent versions of Java have been deprecating and disabling (be default) certain low-security

Re: Jenkins global env vars stuck for some slave jobs

2014-01-17 Thread Jason Swager
Try restarting your slaves. There was an issue with EnvInject where global variable changes wouldn't propagate to the slave unless the slave was fully disconnected and reconnected. On Friday, January 17, 2014 8:19:34 AM UTC-8, Allen Cronce wrote: Hi all, We've been trying to use Jenkins

Re: Jenkins global env vars stuck for some slave jobs

2014-01-17 Thread Jason Swager
. I guess that we can reboot as a work around. We don't change back and forth between the trunk and branches that often. But is there a more permanent solution? Maybe the problem you mentioned has been fixed in an update? On Friday, January 17, 2014 9:47:52 AM UTC-8, Jason Swager wrote

Re: Sharing files between master and slave (dropbox like)

2014-01-09 Thread Jason Swager
Have you considered using the Custom Tool plugin ( https://wiki.jenkins-ci.org/display/JENKINS/Custom+Tools+Plugin)? We also used to use the approach of copying files from /userContent to the slaves on a per-build basis. But Custom Tools made it rather easier. First, the tool would only be

Re: Parameterized builds question

2013-11-19 Thread Jason Swager
See the Rebuild pluginhttps://wiki.jenkins-ci.org/display/JENKINS/Rebuild+Plugin. That plugin should do exactly what you want. On Tuesday, November 19, 2013 11:39:00 AM UTC-8, Vishal wrote: Hi All - I am using Paramerterized build plugin. I have almost 10-12 parameters that i need to

Re: jobs that use more than one slave at a time

2013-06-11 Thread Jason Swager
I've been looking for something like this for a while. I have tests that require two (or more) slaves to be executed properly. But there doesn't seem to be any plugin that currently does something like that. We have a workaround, but it's not very robust at all. We have one job that starts

Re: Using a job to decide when to run another job

2013-05-28 Thread Jason Swager
Jenkins installation and it works better than relying on the other trigger types. We can control the logic very tightly and with all the quirks that we want, but still use Jenkins to drive the overall process. Jason Swager On Tuesday, May 28, 2013 12:03:25 PM UTC-7, Jim Zajkowski wrote: Hi all

Re: Installing operating systems on slaves via Jenkins

2013-01-30 Thread Jason Swager
If your slaves are VMs in a VMware vSphere/vCenter installation, you can use the vSphere Cloud Plugin to revert the VM to a snapshot before starting it up. Other virtualization cloud plugins will do a complete deploy of a new VM. Jason Swager On Tuesday, January 29, 2013 11:06:18 PM UTC-8

Re: copy artifacts question

2013-01-25 Thread Jason Swager
Yes. Using the Promotions plugin, setup a promotion that automatically triggers when all the downstream jobs have passed. The Promotions plugin will expose that build as a permalink. Use the Copy Artifacts plugin to pull artifacts from the permalink associated with the promotion. Jason

Re: Run junkins jobs as different user

2013-01-04 Thread Jason Swager
at the particular slave that was running as a particular user. I don't know of any way to run as multiple users on the Jenkins master itself - but that was fine for us. Jason Swager On Friday, January 4, 2013 1:14:29 PM UTC-8, Adam Tong wrote: Hi, If it is complicated to make it personalized (each

Re: Double slave for job

2012-12-18 Thread Jason Swager
I've been looking for a component - or a technique - in which two slaves can be used for the same job. Since having one job run on two slaves isn't feasible, it would probably be two (or more) jobs that each start on a different slave at the same time. Having those jobs start at the same time

Re: Can Jenkins host tar/zip files for the automatic installer?

2012-12-15 Thread Jason Swager
You can place arbitrary files in Jenkins userContent subdirectory, which exposes them as retrievable via URL, via wget or curl. Or you can use the Copy to Slave plugin and pull the files directly from Jenkins to a workspace at the start the job. A bit more odd, but you can have a job that

Re: using build artifacts from a way upstream job

2012-11-27 Thread Jason Swager
We do something similar with our build/test jobs. We do it by passing the build number of build-project (and possibly the job name if multiple builds feed to the same test jobs) to test-project. In turn, test-project would pass that same build number to valgrind-project. That way,

Re: Query about running different job steps on different slaves

2012-11-27 Thread Jason Swager
publishing this component like other Jenkins components. It would be a great component to have if it works like it seems to work. On Sunday, November 25, 2012 2:08:21 PM UTC-8, Ivan Kalinin wrote: Sure, here it is: http://db.tt/reV8CziX On Sunday, November 25, 2012 8:07:15 PM UTC+4, Jason

Re: Query about running different job steps on different slaves

2012-11-25 Thread Jason Swager
Having troubles getting a build environment built up. Could you publish the jpi so that it could be loaded directly into Jenkins? On Sunday, November 25, 2012 6:19:09 AM UTC-8, Ivan Kalinin wrote: Hi there! So have u tried that thing? If its broken or something is missing I can try 2 fix

Re: really preventing 2 jobs from running at the same time when they're both triggered at the same time

2012-11-25 Thread Jason Swager
Throttle plugin with a category. On Sunday, November 25, 2012 7:46:04 PM UTC-8, cliffano wrote: Hi all, I'm wondering what do you use nowadays to prevent multiple jobs from building at the same time. - lock and latches plugin Its lock mechanism does not work when multiple jobs sharing

Re: Query about running different job steps on different slaves

2012-11-22 Thread Jason Swager
I would LOVE to see a plugin like this. If you could send me github information after you make it available, I would be very grateful! Thanks, Jason On Wednesday, November 21, 2012 10:40:36 PM UTC-8, Ivan Kalinin wrote: Hi! Actually, I've managed to develop a plugin for my own needs that

Re: Query about running different job steps on different slaves

2012-11-21 Thread Jason Swager
As far as I know, there is no plugin that lets you run individual build steps on a different slave than the one that job originally started on. But there ways to mimic this behavior. We do something like this in our own tests. One job starts up; it has a parameter that indicates another

Re: Same build, different parameters queueing for same Slave

2012-11-20 Thread Jason Swager
This is what Slave Labels and the job option Restrict where this project can be run are meant for. Set a specific label(s) to the slaves meant to run the job, then restrict the job to just that label(s). Jenkins will handle the rest. Our own Jenkins strategy relies heavily on this feature;

Re: Error while using conditional build step plugin

2012-11-20 Thread Jason Swager
I agree that if you had a job with a conditional build step that had no steps within it, then you could sort of expect to see this error. Easy enough to workaround. But the problem I'm seeing is happening when Jenkins starts up. We see the typical starting up page, then we get this error.

Re: FW: Error while using conditional build step plugin

2012-11-19 Thread Jason Swager
Likewise. Is there a JIRA issue opened for this that we can upvote? On Monday, November 19, 2012 5:32:43 AM UTC-8, alok kumar wrote: Hi, I am facing the following problem while trying to use conditional build step plugin. As a result of this, Jenkins fails to start. If I

Re: Headless GUI testing on Windows

2012-10-31 Thread Jason Swager
See http://stackoverflow.com/questions/10177708/jenkins-on-windows-and-gui-tests-without-rdc On Wednesday, October 31, 2012 3:26:35 AM UTC-7, Jeff MAURY wrote: I'm using Jenkins to build an Eclipse based product and I have SWTBot based tests that performs validation of the UI layer. As

How to change the concurrent build path separator?

2012-10-31 Thread Jason Swager
When marking a job as able to run concurrently on the same node, Jenkins will append a @X (where X is the number of the concurrent build) to the normal workspace directory to get a new, unique workspace directory. Normally, this is all fine and good, but we've encountered a couple tools that

Re: MsDev Automation

2012-10-19 Thread Jason Swager
As part of that batch command, add a SET to show you all the environment variables. Then compare to a SET from the command prompt. I suspect that you'll see several differences which account for msdev not working as you would expect. Jason On Friday, October 19, 2012 2:29:47 PM UTC-7, Engler

Re: Tests which require an initial reboot? (driver testing)

2012-09-28 Thread Jason Swager
On possibility that we've used for similar situations: - Create a lock (Lock and Latches or Throttle plugins) for each slave that you're going to test on. - Set the slave up to accept only targeted jobs - that way other jobs won't wander onto your slave. Also, the slave must be

Re: 'Even Load Strategy' Plugin

2012-09-25 Thread Jason Swager
The wiki page has the following text: If you evaluate our value-add plugins in this manner and decide not to purchase a license, you need to remove all the value-add plugins to keep using it as a stock Jenkins installation. This seems to imply that an evaluation license is only to evaluate,

Re: 'Even Load Strategy' Plugin

2012-09-25 Thread Jason Swager
of executors. HTH -Stephen [/CloudBees hat] On 25 September 2012 19:26, Jason Swager j.a.s...@gmail.com javascript: wrote: The wiki page has the following text: If you evaluate our value-add plugins in this manner and decide not to purchase a license, you need to remove all the value-add

Re: setting up an array of vmware machines as part of a jenkins job

2012-09-13 Thread Jason Swager
We do something similar to this with the vSphere Cloud Plugin But instead of cloning a new VM (which the plugin does not do), we revert a VM to a previously clean state. The clean state already has the Jenkins slave agent setup and automatically connecting when the VM starts. So when

Re: vSphere plugin does not starts slave

2012-09-07 Thread Jason Swager
235 9621 Sent from my T-Mobile G2 Ezt a levelet telefonról adták fel, ékezethibákat tartalmazhat. 2012.09.05. 15:53, Jason Swager j.a.s...@gmail.com javascript: ezt írta: Just to confirm, we are talking about the vSphere Cloud plugin? https://wiki.jenkins-ci.org/display

Re: JNLP Slave Behavior upon Server Bounce

2012-09-07 Thread Jason Swager
The jobs do die when the server goes down. On Thursday, September 6, 2012 5:59:40 AM UTC-7, Mandeville, Rob wrote: Just to be sure: they don’t abort their jobs in this case? --Rob *From:* jenkins...@googlegroups.com javascript: [mailto: jenkins...@googlegroups.com javascript:]

Re: vSphere plugin does not starts slave

2012-09-07 Thread Jason Swager
? And, this is not really a vSphere cloud but a single ESXi server... Garami Gábor E-mail: gabor@hron.me javascript: Tel: +36 20 235 9621 MSN: hr...@vipmail.hu javascript: Skype: hron84 On Fri, Sep 7, 2012 at 3:31 PM, Jason Swager j.a.s...@gmail.comjavascript: wrote: Your configurations

Re: vSphere plugin does not starts slave

2012-09-05 Thread Jason Swager
9621 MSN: hr...@vipmail.hu javascript: Skype: hron84 On Wed, Sep 5, 2012 at 4:32 AM, Jason Swager j.a.s...@gmail.comjavascript: wrote: How is the slave agent being started? Does the VM connect via Java Web Start? Is Jenkins supposed to start the slave agent via SSH? If via

Re: Restrict where this project can be run not saving...

2012-06-23 Thread Jason Swager
https://issues.jenkins-ci.org/browse/JENKINS-14197 submitted

Restrict where this project can be run not saving...

2012-06-22 Thread Jason Swager
We've been running Jenkins 1.471 for a few days, and just updated a couple plugins (XTrigger ones). After the restart, we found that for no job can set the Restrict where this project can be run. Regardless of what value that is enter and Saved, the field is blank when reloaded. Has anyone

Re: Concurrent executions and workspace names

2012-06-11 Thread Jason Swager
Take a look at https://wiki.jenkins-ci.org/display/JENKINS/Throttle+Concurrent+Builds+Plugin The Throttle Concurrent Builds plugin has a feature to specifically control how many concurrent builds can run on one slave at a time. It should resolve your problem if you only allow one current

Re: How to offline a slave via jenkins API?

2012-05-22 Thread Jason Swager
I know that you can use the Jenkins CLI to offline a slave with the disconnect-node command.