Re: multi job report

2013-09-20 Thread Curtis Kline
I haven't tried this plugin, but it might be useful for you: https://wiki.jenkins-ci.org/display/JENKINS/Simple+Parameterized+Builds+Report+plugin Curtis Kline Evernote Corp. Redwood City, CA On Fri, Sep 20, 2013 at 7:17 AM, Tânia Magalhães taniamagalh...@gmail.comwrote: Any ideas on how

Build flow + email-ext

2013-09-24 Thread Curtis Kline
I think I have a pretty simple requirement for the build flow plugin and the editable email plugin, but I could use some help getting this working. In the build flow job I am kicking off some builds: build( job1 ) build( job2 ) build( job3 ) Then I want to send some emails with links to build

Re: Build flow + email-ext

2013-09-24 Thread Curtis Kline
/job1-filename-234.apk etc... Curtis On Tue, Sep 24, 2013 at 5:03 PM, Slide slide.o@gmail.com wrote: b1 = build(job1) b2 = build(job2) b3 = build(job3) build(SendEmail, JOB1_ID : b1.id, JOB2_ID : b2.id, JOB3_ID : b3.id) On Tue, Sep 24, 2013 at 4:26 PM, Curtis Kline ckl...@evernote.com

Re: Need help with Matrix-build

2013-10-03 Thread Curtis Kline
Roland, have you looked at the Build Flow plugin? I am using that instead of the matrix builds in some circumstances. Curtis On Thu, Oct 3, 2013 at 9:11 AM, Roland Asmann roland.asm...@gmail.comwrote: Hi guys, I need some help with a matrix-build. Until now, I had the build configured to

Windows 8 slaves not starting up (as a service)

2013-10-04 Thread Curtis Kline
I used JNLP to start some Windows 8 slaves, which have been set up to run as a service. Even though the service is set to Automatic, it often doesn't start up. In fact sometimes the service stops for no apparent reason, and then doesn't restart. And, if the box is rebooted the service sometimes

Re: Windows 8 slaves not starting up (as a service)

2013-10-04 Thread Curtis Kline
I found the Mail Watcher plugin, which will monitor the status of the salve nodes. This should handle my #2 item. On Fri, Oct 4, 2013 at 8:51 AM, Curtis Kline ckl...@evernote.com wrote: I used JNLP to start some Windows 8 slaves, which have been set up to run as a service. Even though

S3 links from several jobs

2013-10-22 Thread Curtis Kline
I have a Build Flow job that orchestrates running three Jenkins projects with various parameters, so there are a total of 12 (Maven) jobs that run. After these jobs are complete, a wrap-up job is run that just emails out a list of S3 links to the artifacts that were produced in each of the 12

Re: cloud / storing build data

2013-11-11 Thread Curtis Kline
Phil, Check out the Publish Over plugin for ssh or ftp transfers of artifacts. https://wiki.jenkins-ci.org/display/JENKINS/Publish+Over Also the Amazon S3 plugin for pushing artifacts to an S3 bucket: https://wiki.jenkins-ci.org/display/JENKINS/S3+Plugin I am unaware of any working Dropbox

Gerrit trigger exclusions

2013-11-13 Thread Curtis Kline
We have just started using the Gerrit Trigger plugin, which looks like it will be a big help. We have set up the trigger on change merged on a Gerrit project, triggering on our active development branch. The only problem is that we have a lot of automated commits to that branch that are made by a

Parameterized build: pull choices from a file

2013-11-13 Thread Curtis Kline
I have a parameterized build with a choice parameter, so that the user can select from a list of possible parameters for this job. Rather than a static list of choices, I'd like to use a file in the workspace that contains a list of the currently available choices. Any suggestions on how to

Gerrit Trigger generating large queue of jobs

2013-12-16 Thread Curtis Kline
We have a repo with lots of development going on, and we want to trigger builds using the Gerrit Trigger plugin (using change merged). Unfortunately the plugin queues up builds on this repo every few minutes, since we're checking in lots of changes. The builds take 25 minutes, so right now there

Git polling - java errors

2013-12-17 Thread Curtis Kline
We're using Git plugin 1.5.0 on Jenkins 1.509.4. We have several Maven jobs, and on a new one we set up in the past few days we are seeing some strange errors in the Git polling log. Much of the time the Git polling works fine, but several times per day we get this error (see below). Afterwards,

Re: Git polling - java errors

2013-12-17 Thread Curtis Kline
polls. Any other thoughts? Curtis On Tue, Dec 17, 2013 at 1:05 PM, Daniel Beck m...@beckweb.net wrote: In the slaves' configuration, check 'Tool Locations' and define the paths to Maven on the slaves for the Maven versions you've configured in the jobs. On 17.12.2013, at 21:47, Curtis Kline

Re: how to install Jenkins Slave on Windows

2013-12-17 Thread Curtis Kline
Scott, have you tried the instructions on this page? https://wiki.jenkins-ci.org/display/JENKINS/Step+by+step+guide+to+set+up+master+and+slave+machines Curtis On Tue, Dec 17, 2013 at 4:05 PM, rocketdoctor sc...@rocketdoctor.comwrote: Im not clear on how to install the Jenkins slave on my

Re: how to install Jenkins Slave on Windows

2013-12-30 Thread Curtis Kline
As mentioned, you can set up your slave to be used for jobs that are tied to it, like this: http://note.io/JqdVvr If you do that, then you'll need to assign your Jenkins jobs to that salve, like so: http://note.io/1ajHyF2 Alternatively, you can configure the slave to be utilized as much as

Re: How to get APK from soucecode from Jenkins

2014-02-04 Thread Curtis Kline
Sagar, Jenkins is basically an automation tool. If you can't create an apk from your source code without Jenkins, you aren't too likely to be able to do that with Jenkins, either. I use Jenkins to automate builds for several native Android apps, specifically using the Maven plug-in for Jenkins.

Re: Windows git plugin / git client plugin problems

2014-02-11 Thread Curtis Kline
I ran into the same problem today for the first time. I am using Git plugin 1.5.0 (still scared to jump to 2.0) and Git Client Plugin 1.6.1. I don't use plink, but rather the ssh included with msysgit 1.8.5. My Windows slaves are connected using JNLP. I desperately need some way to control that

Re: Windows git plugin / git client plugin problems

2014-02-11 Thread Curtis Kline
Thanks Mark. I think you're right. My current problem involves projects that really can't wait for my testing of the next release of the git plugin (although I am definitely interested in doing that). Any short-term suggestions on how to get this to work with my current setup? I thought about

Git plugin 2.0 with Gerrit Trigger plugin

2014-02-11 Thread Curtis Kline
Is anyone using the 2.0 Git plugin and the Gerrit Trigger plugin together successfully? I know there was a thread back around 10/29/2013 about this, but there didn't seem to be a clear answer as to whether these two plugins would now co-exist. I tried a quick trial on my test instance and the

Re: Windows git plugin / git client plugin problems

2014-02-11 Thread Curtis Kline
to modify it to include that command line argument to set the timeOut value. Mark Waite On Tue, Feb 11, 2014 at 6:02 PM, Curtis Kline ckl...@evernote.comwrote: Thanks Mark. I think you're right. My current problem involves projects that really can't wait for my testing of the next

Downstream cleanup job

2014-03-26 Thread Curtis Kline
I have a scenario that seems like it would be pretty common, and is maybe somewhat similar to the one David Campos posted to the list recently. b1, b2, and b3 are QA testing jobs that each rely on a “clean” VM. b4 is the job that cleans the VMs. For awhile, we had b4 set up as a downstream job

Re: Master/Slave On Same Machine -- Mac/Windows

2014-04-07 Thread Curtis Kline
Hello, I do this in my test environment. I have a quad-core Mac Mini with 16GB of RAM, and it's running Jenkins as the Master. I have Vmware Fusion running on the Mac, and there are two VMs: one Windows 7 and one Linux. This is not a production setup so it doesn't get a lot of use, but I

Re: Parameterized job triggering based on git branch ?

2014-04-09 Thread Curtis Kline
Sure. The variable named GIT_BRANCH expands to the name of the branch that was built (from the Git plugin). Then you could use the Conditional Build Step pluginhttps://wiki.jenkins-ci.org/display/JENKINS/Conditional+BuildStep+Plugin to match the branch to a string and execute build steps based on

Re: How to reset the build number

2014-04-16 Thread Curtis Kline
There may be a way to set the next build number within the Jenkins core, but I use this plugin: https://wiki.jenkins-ci.org/display/JENKINS/Next+Build+Number+Plugin It provides a useful link in the left column of the job page: Set next build number Curtis On Tue, Apr 15, 2014 at 11:13 PM,

Re: Error when trying to configure Jenkins: hudson.plugins.git.GitException: Error performing command: git rev-parse --is-inside-work-tree

2014-05-09 Thread Curtis Kline
Oana, on my OS-X slaves Git is located in /usr/bin/git. /usr/bin is in the path (run 'echo $PATH' in a terminal window) so I don't have to enter a location in the slave config. But if you needed to, this is where you do that:

Plain credentials plugin disabled

2015-11-05 Thread Curtis Kline
On Jenkins 1.635 I am trying to use the Plain Credentials plugin version 1.1 to store an API token as a credential. However in the Plugin Manager the "Enabled" box for this plugin is not checked. I also cannot check the box. When I hover over it, I get a message saying that it cannot be

Re: setup jenkins job to build environment, build, compile, and run unit tests. Am I on the right track?

2015-11-18 Thread Curtis Kline
Walter, You can think of Jenkins as a GUI for cron. It does a great job scheduling commands that run on your OS of choice. Anything you have installed on the Jenkins host can be scheduled via the Jenkins UI. But of course to be able to run the commands you'll need to install the utilities (build

Re: curl upload with filename in variable

2017-08-10 Thread Curtis Kline
n at the end of the env.filename variable (note the quote is > on the next line and not next to apk like I'd expect). > > Richard. > > On Thu, 10 Aug 2017 at 09:40 Curtis Kline <curtiskl...@gmail.com> wrote: > >> The file exists in the current working directory. This

Proxy server between Jenkins and the Internet

2017-07-11 Thread Curtis Kline
Hello all, I am setting up a new Jenkins server and some build nodes to replace an old one. The cloud instances running Jenkins jobs are behind a Squid proxy and cannot access the Internet directly. The initial problem of not being able to download any plugins was easily resolved by entering

Re: How to pass parameters to Jenkins Pipeline?

2017-07-06 Thread Curtis Kline
Along these same lines, I'd like to have a "Choice" parameter where the user can select a build type. I'll then use the produced environment variable ($TYPE) in the build steps. In the Post steps, I'd like to deploy the right type of build via an API token. The API token will be different

curl upload with filename in variable

2017-08-09 Thread Curtis Kline
In my declarative pipeline Jenkinsfile, I have the following shell script line: sh """ curl -F "status=2" -F "notify=1" -F "notes=${params.ReleaseNotes}" -F "ipa=@${env.filename}" -H "X-HockeyAppToken: 1234" https://rink.hockeyapp.net/api/2/apps/upload """ This does not work, because curl is

Re: curl upload with filename in variable

2017-08-09 Thread Curtis Kline
t in what would be considered the current working > directory? Perhaps an ls before the curl to verify? > > On Wed, Aug 9, 2017 at 2:13 PM Curtis Kline <curtiskl...@gmail.com> wrote: > >> In my declarative pipeline Jenkinsfile, I have the following shell script >> line

Broken SAML

2017-08-07 Thread Curtis Kline
I updated plugins today and got locked out of Jenkins. SAML authentication is completely broken. I am on Jenkins 2.73 with all the latest plugin versions. A stack trace is below. I do not have a file called saml-idp.metadata.xml and I don't think I've ever had that file. My idp metadata is in

Re: a few Jenkins questions

2014-05-29 Thread 'Curtis Kline' via Jenkins Users
when folks talk about build numbers, they don't talk in the thousands.. A sampling of some of our more frequent current builds shows that we have few builds that are NOT in the thousands. The highest one is on build number 31751 right now. That's the only one above 10,000, though. Another thing

Gerrit trigger troubleshooting

2014-05-30 Thread 'Curtis Kline' via Jenkins Users
Does anyone have suggestions for troubleshooting the Gerrit trigger plugin? I have a Gerrit repo that simply does not trigger any jobs on Jenkins. I can change the Jenkins Gerrit trigger job config by simply entering a different Gerrit repo name and the job is triggered flawlessly. But when I

OS-X build slaves

2014-06-03 Thread 'Curtis Kline' via Jenkins Users
We have 8 Mac Mini build slaves and another four slaves on OS-X VMs running on Mac Pros. We currently configure each slave manually, which takes about 30 minutes per unit. Does anyone use Puppet/Chef/other for configuring OS-X Jenkins slaves? How about VM technology? If VMs, what

S3 plugin 0.6 fails with Jenkins 1.554.2

2014-06-13 Thread 'Curtis Kline' via Jenkins Users
We just updated Jenkins to latest LTS release, and S3 plugin to 0.6. Now all S3 uploads fail with this error: ERROR: Publisher hudson.plugins.s3.S3BucketPublisher aborted due to exception java.lang.StringIndexOutOfBoundsException: String index out of range: -25 at