Re: Tools update job on updates.jenkins.io seems to not be running (no updates since Dec 6th)

2017-12-15 Thread Greg Smith
Thank you Daniel. I will use a Infra jira issue next time. Cheers, Greg -- 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: Triggering a multibranch pipeline build from a URL Change

2017-05-26 Thread Greg Smith
, 2017 at 10:22:56 AM UTC-4, Greg Smith wrote: > > > We would like to trigger a multibranch pipeline build whenever a file at a > URL changes. We had a mechanism that worked, but a recent update broke > that mechanism. > > Here's what we had setup: > > URLTrigger used t

Triggering a multibranch pipeline build from a URL Change

2017-05-24 Thread Greg Smith
We would like to trigger a multibranch pipeline build whenever a file at a URL changes. We had a mechanism that worked, but a recent update broke that mechanism. Here's what we had setup: URLTrigger used to trigger a Freestyle build, named "Stage1" Pipeline build that runs whenever "Stage1"

Way to trigger another build on "Keep this build forever"?

2017-01-12 Thread Greg Smith
Hi, I would like to create a build that is triggered whenever a user clicks "keep this build forever" within any build. I want to run a build that backs that those artifacts up, pushes it to another file server. Is there any way I can create a build that is triggered on such an event?

Pipeline: How to trigger buld on URL change?

2016-12-14 Thread Greg Smith
Hi, Pre moving all of our builds over to Pipeline, we had a few builds that required being triggered off of a URL change. We used the URL Trigger plugin, available here: https://wiki.jenkins-ci.org/display/JENKINS/URLTrigger+Plugin We'd like to still have something like this for our current

Jenkins slaves hang on JNA load on Windows 10

2016-11-02 Thread Greg Smith
Hi, Me and my team have been struggling with a hang on our Windows 10 slaves, that is being caused by a bad interaction of loading JNA modules. It looks like the SwapSpaceMonitor tries load one module, at the same time that the Kernel32Utils.getWin32FileAttributes() call tries to load

vCenter plugin -- customize slave launch parameters?

2016-10-27 Thread Greg Smith
Does anyone know if there is a way to customize the launch parameters of the vCenter plugin slaves? We use the plugin to dynamically start up our slave vms, and we would like to add a -D parameter to the startup. But I don't see any obvious way to do this. Any help appreciated. Thanks,

GitHub webhooks created with only Pull Request and Repository Events - No Push Events?

2016-10-18 Thread Greg Smith
Hi, We are having a problem with GitHub and webhooks, and was hoping someone might have an idea of how to resolve. We want to use webhooks for obvious reasons: We're using the GitHub org plugin to scan our repos, and setup the Pipeline jobs. I used the "Re-register hooks for all jobs"

Logging github api requests - github rate limit being reached, 20% being used on static items

2016-10-12 Thread Greg Smith
Hi, We keep running into our github rate limit with Jenkins' mutlibranch plugin. I ended up contacting github directly, and they said 20% of all of our requests were actually going to resources that were basically static. >From github support, our usage over the last week: Top 10 specific

Logging github api requests - github rate limit being reached, 20% being used on static items

2016-10-12 Thread Greg Smith
Hi, We keep running into our github rate limit with Jenkins' mutlibranch plugin. I ended up contacting github directly, and they said 20% of all of our requests were actually going to resources that were basically static. >From github support, our usage over the last week: Top 10 specific

Re: What are the rules for when pipeline jobs are serialized?

2016-09-08 Thread Greg Smith
Ah -- Found the "@NonCPS" marker. Seems to have gotten me past my original problem. Cheers, Greg On Thursday, September 8, 2016 at 12:09:26 PM UTC-4, Greg Smith wrote: > > > Hi, > > I just updated my Jenkins instance to all of the latest plugins, and now >

What are the rules for when pipeline jobs are serialized?

2016-09-08 Thread Greg Smith
Hi, I just updated my Jenkins instance to all of the latest plugins, and now many of my jobs are failing. They are all failing because of serialization problems: java.io.NotSerializableException: hudson.model.FreeStyleProject at

Re: Multi-Branch Pipeline triggers interval example?

2016-08-22 Thread Greg Smith
As I hate searching groups for problems, finding exactly my problem, but not finding any answer -- I wanted to follow up on my own post. I received this example of how to setup the job to build every 15 minutes properties([pipelineTriggers([cron('H/15 * * * *')])]) When I filed a bug for the

Multi-Branch Pipeline triggers interval example?

2016-08-17 Thread Greg Smith
Hi, Would someone mind giving me an example of how to use the "properties" task to set a build trigger so that a multibranch pipeline build will run every 15 minutes? Somehow, both the snippet generator and the pipeline syntax generator are both errorring out on my server, so I can not find

Re: Pipeline: Can I use html in currentBuild.description?

2016-08-16 Thread Greg Smith
Thanks! Just what I needed On Tuesday, August 16, 2016 at 5:53:16 AM UTC-4, Jonathan Hodgson wrote: > > Use the Pegdown formatter plugin, Markdown allows for HTML tags. > > I've even got javascript working quite happily in the description, so > things update as certain artifacts are created. >

Pipeline: Can I use html in currentBuild.description?

2016-08-15 Thread Greg Smith
Hi, Is there some simple way to allow html in currentBuild.description? Seems like when I write any html tags in that string, they are all automatically escaped. I can see where it would be important to do this by default for security purposes -- but as we have control over our github

Re: Passing the artifacts of the current pipeline into a downstream job

2016-08-15 Thread Greg Smith
tyle build These together seem to have fixed the problem (though I didn't try them individually, maybe I could have gotten away with one or the other...) Greg On Monday, August 15, 2016 at 12:11:00 PM UTC-4, Greg Smith wrote: > > > Hi, > > I am trying to build a workflow where one

Passing the artifacts of the current pipeline into a downstream job

2016-08-15 Thread Greg Smith
Hi, I am trying to build a workflow where one a pipeline job passes its artifacts into another (old style) job in Jenkins that we already have defined. The freestyle job takes 2 parameters: The project name, and the build number. It then copies the artifacts from "Project" / "Build Number"

Re: Groovy code to access full path to a job, ie "Org/Project/branch" name

2016-08-11 Thread Greg Smith
Thanks! That worked for exactly what I wanted. On Thursday, August 11, 2016 at 11:52:35 AM UTC-4, Cuong Tran wrote: > > Try getFullName() -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving

Groovy code to access full path to a job, ie "Org/Project/branch" name

2016-08-10 Thread Greg Smith
Hi, I am using a groovy script to walk through all jobs, and find the multibranch jobs in a github project. I want to get the full path name to the job, and I'm having problems figuring out what property to pull, even though I can see that the object knows its full path. Here's what I mean

Anyway to define and take an action on "Keep Artifacts Forever"

2016-08-01 Thread Greg Smith
Hi, I would like to take an action (kick off a downstream job) on any artifacts that marked as "Keep Forever" I would usually use the Promotion plugin for this, but this will be a mix of Multibranch Pipeline jobs and normal jobs -- and the Promotion plugin does not yet work with Pipeline.

Re: Is `concurrency: 1` on a stage in multibranch pipeline build supposed to apply to all branches for that build?

2016-07-29 Thread Greg Smith
it'll be set up >> automatically. > > > On Tuesday, July 26, 2016 at 7:49:21 PM UTC-4, Greg Smith wrote: >> >> Hi David, >> >> Did you ever find a nice solution to this problem? I would also like to >> lock builds for projects with multiple branche

Re: Jenkins 2.x Pipeline - parametrized build, parameters are not evaluated in Git

2016-07-26 Thread Greg Smith
We are currently using the multibranch plugin to rebuild old versions of our code using Jenkins 2.X pipeline style. Our main branch just uses "checkout scm". That builds and builds. If we need to rebuild an old release, from a specific version, we create a branch from that version: git

Re: Is `concurrency: 1` on a stage in multibranch pipeline build supposed to apply to all branches for that build?

2016-07-26 Thread Greg Smith
Hi David, Did you ever find a nice solution to this problem? I would also like to lock builds for projects with multiple branches / PRs, but don't want to mess with using lockable resources (which seems to be the only solution right now that works with pipeline code, but it requires you

Permissions required to see Pipeline documentation and Snippet Generator?

2016-07-26 Thread Greg Smith
Hi, I am using github organization to manage our transition to Jenkins' new Pipeline build model. I would like for my users to be able to see the Pipeline documentation, and to use the snippet generator. The problem is, I can't seem to figure out how to do that without making users an

Re: Exact permissions required for Github Organization plugin?

2016-07-26 Thread Greg Smith
and > public_rep" > > Is that what you're seeking? > > Mark Waite > > On Mon, Jul 25, 2016 at 4:06 PM Greg Smith <smithg...@gmail.com > > wrote: > >> >> Anyone know or have a link to the list of permissions needed for the >> github organization project typ

Exact permissions required for Github Organization plugin?

2016-07-25 Thread Greg Smith
Anyone know or have a link to the list of permissions needed for the github organization project type / plugin? We are not using hooks back, so it just needs to browse our org, and update PRs / build information. Any pointers -- I swear I found this once before, but google is failing me and

Re: How to simplify creation/maintenance of builds that are comparable?

2016-07-21 Thread Greg Smith
Here is the solution that worked best for me: I have a project that builds a set of tools that I use across multiple builds. Before moving to pipeline, it includes build utilities, build scripts, stuff like that. When I moved to Pipeline, I now build that project from Git, and then in my

vCenter Plugin -- where is current launched slaves info kept?

2016-07-21 Thread Greg Smith
Hi, I am having a problem with the vCenter plugin, which I use to dynamically start up slave machines: Right now, my cap is set to 1 (for testing purposes) and I am getting this in my logs: There are 1 number of VMs in this bucket. The instance cap for the bucket is: 1 But that slave is

Re: Can I add a "publish" button to a build page

2016-07-12 Thread Greg Smith
I have exactly this same need, but with pipeline builds. The Promotion plugin works awesome for regular builds, but unfortunately does not work with pipeline builds. I created this Jira to track enhancing the plugin to support pipeline builds:

Re: Best way to set a timestamp variable in Pipeline build

2016-07-11 Thread Greg Smith
> Open the /scriptApproval screen for that purpose. > > Depending on what you're trying to do. Maybe using long start = > System.currentTimeMillis() would suit your needs and be already whitelisted > (can't check just now). > > HTH > Le 7 juil. 2016 9:51 PM, "Greg Smith

Best way to set a timestamp variable in Pipeline build

2016-07-07 Thread Greg Smith
Hi, I would like to set a timestamp at the beginning of my pipeline build, put it into the environment, and reuse it throughout my build. I found some sample code - but it no longer seems to work because of sandboxing of the groovy pipeline scripts. The code is: env.TIMESTAMP = new

URL to the permalink of "Last saved build (marked "keep forever") - is there a url?

2016-06-14 Thread Greg Smith
Hi, I use the Copy Artifacts plugin and the Promotion Plugin to mark builds that have moved to production level -- I promote them, and them they get marked "keep forever". Is there a URL I can use to access this same build? IE, I can use the url like this to access the last build

Enable Manual Promotion of multibranch pipeline builds

2016-06-02 Thread Greg Smith
Hi, I would like to enable a user to manually promote builds, that are defined by Jenkinfiles in a multibranch build configuration. I'm not quite sure how to set this up, or if its possible. Ideally it would work like this: For any "master" branch in any project in our github organization,

Re: Multibranch Pipeline / Git question -- Use same information as used to retrieve Jenkinsfile

2016-05-31 Thread Greg Smith
Thank you -- This is exactly what I was looking for. Now that I have it, and was able to search the docs for it, I don't know how I missed it Thanks, Greg On Tuesday, May 31, 2016 at 11:54:25 AM UTC-4, Antonio Muñiz wrote: > > You can use `checkout scm` which will clone the repository at

Multibranch Pipeline / Git question -- Use same information as used to retrieve Jenkinsfile

2016-05-31 Thread Greg Smith
Hello, I have a question that is probably obvious, but I couldn't seem to find it anywhere. Apologies for my newbie question: If I have a multibranch Pipeline job, does my Jenkinsfile need to do the git extract? Or should that be assumed as part of the retrieval of the Jenkinsfile? For

No link between a promoted build, and the build which was triggered by the promotion

2013-04-24 Thread greg . smith
Hi guys, I'm having a problem where it seems like I am either doing something wrong, or have things mis-configured. Here's my issue: We use the promotion plugin to trigger a parameterized build. Basically, that parameterized build just rebuilds the same SVN revision, but has an extra step