Pipeline Parallel Visualization

2024-01-23 Thread 'Benjamin, Joshua' via Jenkins Users
The issue occurs in both BlueOcean as well as the Pipeline Graph View. It is replicable with both scripted and declarative pipelines, so I must be missing something really obvious. In short, the issue is that a parallel stage's status does get updated (in the UI) until all the parallel stages

Blue Ocean Rest Impl. Caching Performance

2023-11-02 Thread 'Benjamin, Joshua' via Jenkins Users
We have been seeing very long (10+ sec) initial load times for both the activity and branches tabs within BlueOcean. After the activity or branches tab has been loaded once for a particular multibranch pipeline, subsequent loads are near-instant. The classic view and BlueOcean pipeline view (s

Re: UI IllegalArgumentException regarding credentialsId parameter

2020-06-23 Thread Benjamin Paz
code solution will resolve this issue. Please provide some feedback on the UI issue, even if it is just to say that the experience is the same. On Friday, June 19, 2020 at 6:33:37 PM UTC-4, Benjamin Paz wrote: > > Hello, > > I have an easily repeatable issue that i have found in th

UI IllegalArgumentException regarding credentialsId parameter

2020-06-19 Thread Benjamin Paz
Hello, I have an easily repeatable issue that i have found in the Jenkins UI. I am using Jenkins Jenkins ver. 2.222.1 credentials-binding plugin 1.23 aws-lambda plugin 0.5.10 Start with a freestyle job, add a secret file into global store, named Jenkins. The job buttons to "save" or "apply" c

Re: Pipeline-Maven-Plugin when current build status is UNSTABLE

2019-04-18 Thread Benjamin Tocquec
Done: https://issues.jenkins-ci.org/browse/JENKINS-57108 Le mercredi 17 avril 2019 11:20:55 UTC+2, Cyrille Le Clerc a écrit : > > @Benjamin can you please create a jira issue, it's easier for us to follow > up. > > On Monday, March 25, 2019 at 9:40:57 AM UTC+1, Benjamin Tocq

Re: Pipeline-Maven-Plugin when current build status is UNSTABLE

2019-03-25 Thread Benjamin Tocquec
ne help me please? Le jeudi 21 mars 2019 20:37:33 UTC+1, Benjamin Tocquec a écrit : > > Finally found the mistake/solution: my Sonar Stage was in a separated > node. Groupingg every stages in same node solved my issue. > > Thanks > > Le jeudi 21 mars 2019 18:59:38 UTC+1, Benj

Re: Pipeline-Maven-Plugin when current build status is UNSTABLE

2019-03-21 Thread Benjamin Tocquec
Finally found the mistake/solution: my Sonar Stage was in a separated node. Groupingg every stages in same node solved my issue. Thanks Le jeudi 21 mars 2019 18:59:38 UTC+1, Benjamin Tocquec a écrit : > > Hi, > > Here is my context. > I have a pipeline with main steps: > >

Pipeline-Maven-Plugin when current build status is UNSTABLE

2019-03-21 Thread Benjamin Tocquec
Hi, Here is my context. I have a pipeline with main steps: - mvn clean deploy - mvn test - sonar quality gate I choose to set currentBuild.result = 'UNSTABLE' if last step (quality gate from Sonar) is not OK. I want my dependencies to build automatically downstream projects when SNAPS

RE: Using a Variable in Execute Shell that has a . in it

2019-02-15 Thread Benjamin Primrose
Periods aren’t valid characters for a shell variable name, I can’t set one to test this. Try using “${deploy.dir}” (as in “ls ${deploy.dir}”). If that doesn’t work extracting it from your environment with env | grep | cut is going to be the best you’ve got assuming you can’t give it a valid na

RE: Users unable to build projects they're authorized for via role-strategy-plugin

2019-01-22 Thread Benjamin Primrose
en logging in (e.g. all lower case). If there's an alternative option that can be chosen would love to hear about it though. Richard. On Sat, 19 Jan 2019, 5:38 AM Benjamin Primrose, mailto:bprimr...@wcu.com>> wrote: I’m not sure if this is FYI or a plea for help☺ TL:DR, role-s

Users unable to build projects they're authorized for via role-strategy-plugin

2019-01-18 Thread Benjamin Primrose
ame in mixed case. Does anyone have a fix or workaround for this? Benjamin Primrose Principal Developer • Fitchburg, MA 01420 Ph:978-353-8054 • bprimr...@wcu.com<mailto:bprimr...@wcu.com> [https://www.wcu.com/wp-content/uploads/2018/10/WorkersLogo_4cp.png] Confidentiality

RE: Unable to Launch an Agent, getting "received junk text is as follows: stdin: is not a tty"

2019-01-02 Thread Benjamin Primrose
When you find the interactive statements, you can wrap them in an ‘if [ ! –z “${PS1}” ]’ so they’re only executed when you log in interactively. Don’t copy/paste that if statement, I’m on microslop so those are wonky quotes. From: jenkinsci-users@googlegroups.com On Behalf Of Mark Waite Sent:

RE: Jenkins is not triggering a job after click on build now link in Jenkins menu

2018-12-26 Thread Benjamin Primrose
Have you checked your log to see what errors are logged? From: jenkinsci-users@googlegroups.com On Behalf Of Poovaraj Thangamariappan Sent: Wednesday, December 26, 2018 8:35 AM To: Jenkins User Group Subject: Jenkins is not triggering a job after click on build now link in Jenkins menu Hi, J

RE: How to add a secret file?

2018-12-20 Thread Benjamin Primrose
alf Of Mark Waite Sent: Thursday, December 20, 2018 10:45 AM To: Jenkins Users Subject: Re: How to add a secret file? I think you want the "plain credentials<https://plugins.jenkins.io/plain-credentials>" plugin. On Thu, Dec 20, 2018 at 8:27 AM Benjamin Primrose mailto:bprimr...@

How to add a secret file?

2018-12-20 Thread Benjamin Primrose
Searching turns up a few hundred “it’s easy to use a secret file” articles, but all assume the option for a file is in the drop-down. Can someone point me to the relevant documentation? Benjamin Primrose Principal Developer • Fitchburg, MA 01420 Ph:978-353-8054 • bprimr...@wcu.com<mailto:bprim

Re: Update all plugins automatically

2018-10-18 Thread Benjamin Brummer
You could setup a job which runs periodically on jenkins master. Solution 1 ssh # prepare info file INFO_FILE=plugins.update.info # CleanUp rm -f * touch $INFO_FILE # get current version of cli JAR wget http://127.0.0.1:8080/jnlpJars/jenkins-cli.jar # update plugins java -jar jenkins-cli.jar -ssh

Re: ConfigFiles 3.0 appears to be mangling config.xml

2018-09-04 Thread Benjamin Brummer
I also had to reconfigure one jenkins job, after this update. Configuration was gone almost completely. All provided maven settings.xml files where gone and but i could set them up again with identical id's. Am Montag, 3. September 2018 20:14:28 UTC+2 schrieb Michael Weigle: > > Upgraded from 2.

New Node Setup - Trigger Job afterwards

2018-08-24 Thread Benjamin Brummer
Hi, is there a way to trigger a job after a new node was setup. We have a job who writes agent secrets to a nfs share. When the new node boots up it will get its secret from this share and connects to the master. Currently we trigger this job manually, but i would like to get this done automati

Re: Windows agent can't delete workspace

2018-03-17 Thread Benjamin Lau
We've used scripting around the sysinternals handle tool[1] to make sure that everything which is touching files in the workspace is actually terminated before trying to delete the workspace. We were having more issues with this when trying to delete workspaces at the ends of jobs so in many cases

Re: Linting Jenkinsfile

2018-01-16 Thread Benjamin Lau
Hey Mayur, Check in the Manage Jenkins menu. If you search for sshd you should find it pretty quick. :-) /configure Ben P.S. How's it hanging former co-worker? On Tue, Jan 16, 2018 at 1:23 AM, Mayur Nagekar wrote: > Hi Richard, > > How do I configure the sshd port for jenkins ? Can you guide

Re: Invoke Windows Installer in Interactive mode Through Jenkins

2017-04-06 Thread Benjamin Lau
Bangar, I'd suspect the problem is similar to the one described in this thread about 10 days ago: https://groups.google.com/forum/#!topic/jenkinsci-users/zzECJya_vDY Is your jenkins slave running the agent as a service? Try running the agent as a non-service as slide suggested and see if that wor

Maven Release Plugin Configuration issue?

2017-01-13 Thread Yaron Benjamin
Hello All, I am having an issue trying to get my Jenkins job to use the Maven Release Plugin Plugin (M2 Release Plugin). When I run the job I get the following: [INFO] [INFO] BUILD FAILURE [INFO] ---

Re: Build Duration Information

2015-09-30 Thread Benjamin Lau
This formula isn't perfect but it'll convert a jenkins duration into a human readable time[1]. =IF(INT(1/8640*A3)=0, "",INT(1/8640*A3) &" day, ") & IF(INT(MOD(A3,8640)/360)=0,"", INT(MOD(A3,8640)/360) & " hr, ") & IF(INT(MOD(A3,360)/6)=0,"", INT(MOD(A3,360)/6

Re: SSH keypair not working for Jenkins CLI

2015-09-18 Thread Benjamin Lau
notice how the directory separator characters are being switched from / to \. My guess is that if you used C:\\cygwin\\home\\efetzer\\.ssh\\id_rsa it might work the way you expect. The java binary you're using isn't aware of what cygwin is doing with paths and such so my guess is that it's behaving

Re: wget post-data purpose

2015-06-15 Thread Benjamin Todd
That works. Thanks for the suggestion. Ben On Monday, June 8, 2015 at 11:25:26 AM UTC-7, Daniel Beck wrote: > > Try uploading a file with the svnlook output first, and use that as > --post-file. > > On 08.06.2015, at 20:13, Benjamin Todd > wrote: > > > I'm

Re: wget post-data purpose

2015-06-08 Thread Benjamin Todd
ter. Do you check in files that > have newlines as part of the filename, and they get broken into multiple > lines? > > On 05.06.2015, at 20:24, Benjamin Todd > wrote: > > > When I run `svnlook changed --revision ${REV} ${REPO}`, it returns > something similar to th

Re: wget post-data purpose

2015-06-05 Thread Benjamin Todd
the subversion path of "path/to/new/file". Is that functionality using a new line as a delimiter or can Jenkins use a different delimiter? Thanks, Ben On Friday, June 5, 2015 at 1:36:36 AM UTC-7, Daniel Beck wrote: > > On 05.06.2015, at 01:14, Benjamin Todd > wrote: &g

wget post-data purpose

2015-06-04 Thread Benjamin Todd
Hi all, I'm trying to get a post commit working correctly and I'd like to understand more about the purpose of the --post-data option in the post-commit example as showin below: REPOS="$1" REV="$2" UUID=`svnlook uuid $REPOS` /usr/bin/wget \ --header "Content-Type:text/plain;charset=UTF-8" \

Why is a release candidate plugin update available from the stable update site?

2015-04-30 Thread Benjamin
ded behavior? If not, how could I help to get this issue? How is the update-center.json content generated/curated? Best regards Benjamin -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receivin

Re: Disable Jenkins Job via HTTP GET or HTTP POST

2015-04-26 Thread Benjamin Lau
Very very simple. http POST https://jenkins.example.com/jenkins//job/example/disable http POST https://jenkins.example.com/jenkins//job/example/enable You'll need to authenticate obviously. Here's a more complete example: curl -X POST https://jenkins.example.com/jenkins//job/example/disable \

Changing the columns displayed inside a folder

2015-03-25 Thread Benjamin Kemper
it to change from the default order. Any way of re-arranging and adding/removing columns from a folder? Thanks, Benjamin. -- 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

Re: How can i get Jenkins to use rvm ruby version ?

2015-03-09 Thread Benjamin Lau
I use an execute shell step with this at the top to force jenkins to do what I want: #!/bin/bash -x source "/usr/local/rvm/scripts/rvm" rvm use 1.8.7 On Mon, Mar 9, 2015 at 6:33 AM, seun are wrote: > Hi, > > Can anyone help me? everytime i am running my job on Jenkins its picking up > the ruby.fr

Re: How to install xcode 6.x command line tools into jenkins user of cloud server using ssh

2015-02-14 Thread Benjamin Lau
Jacob, Well the main problem here is that I don't think that's ever going to work. You said your Jenkins server is Ubuntu running in AWS and XCode is only available for OS X. If you need to do mac builds you're going to need to either run your jenkins instance on a co-located Mac host[1] or set u

Re: [workflow-plugin] Technical limitations for a workflow Groovy script

2015-02-07 Thread Benjamin Muschko
" Git repository inside Jenkins. Every workflow script in your Jenkins see these shared library scripts in their classpath." but where do I configure that? > > HTH > > 2015-02-06 21:01 GMT+01:00 Benjamin Muschko >: > >> Hi, >> >> I was wonderi

[workflow-plugin] Technical limitations for a workflow Groovy script

2015-02-06 Thread Benjamin Muschko
Hi, I was wondering what the technical limitations are for a workflow Groovy script, more specifically: 1) Is is possible to use classes like StringBuilder? Example: stage 'tryout' node { useStringBuilder() } def useStringBuilder() { echo "Before usage" StringBuilder test = new S

Moving slaves from old master to new master

2014-12-11 Thread Benjamin Kemper
this manually... Thanks in advance, Benjamin. -- 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...@googlegroups.com. To view

Re: Filed to build ipa

2014-12-05 Thread Benjamin Lau
This doesn't appear to be a jenkins problem but with the latest version of XCode. Warning: usage of --preserve-metadata with option "resource-rules" (deprecated in Mac OS X >= 10.10)! Warning: --resource-rules has been deprecated in Mac OS X >= 10.10! I'd guess that your project file is still set

Copy Artifact Plugin Problems with Maven Job

2014-10-02 Thread Benjamin
Hello, I'm running into a problem with the Copy Artifact Plugin in conjunction with a Maven job. I can add a pre and post build "Copy artifacts from another project" step to the Maven job, but in both cases the Project name is not preserved after saving the job. Looking at the jobs config.xml,

Re: Jenkins with stash

2014-09-11 Thread Benjamin Lau
Just like any other git repository. If you're in the stash web ui click on clone and get the appropriate URL. If you're using things with ssh you'll need to generate an ssh key pair for your jenkins server to use to access the repositories. I'm not sure how configuration works for https since I've

Re: Issue with using REST API to schedule multiple jobs

2014-06-27 Thread Benjamin Lau
Try adding an extra parameter that's always different. Some people use a time counter. I've used a hash of the time, user, and other parameters. That should guarantee that each job has a unique parameter set and overcome the problem. I think you can also use the Random String Parameter Plugin[1] bu

Re: Parameterized Build - Multiple "instances" of a single parametrized job (a template) AKA fixed parametrized build

2014-06-14 Thread Benjamin Lau
I've done templated builds using the technique described in this article and it worked quite well: http://www.blackpepper.co.uk/generating-new-jenkins-jobs-from-templates-and-parameterised-builds/ For the matrix builds... take a look at the combination filter. This plug-in might also be useful tho

Re: URGENT: I am new for Jenkins and how to integrate soapui into jenkins.

2014-05-13 Thread Benjamin Lau
Isn't 5 * * * * build on the fifth minute of every hour? Try */5 * * * * Ben On Tue, May 13, 2014 at 10:45 PM, vidhya radha wrote: > If build triggers it will not show in build history. > > > On Wednesday, May 14, 2014 11:07:30 AM UTC+5:30, vidhya radha wrote: >> >> K. I will do >> >> On Wedne

Re: IOS app Build using git and test flight in jenkins

2014-04-29 Thread Benjamin Lau
Actually it didn't find ts.sh... I'm assuming that's something that should be in your git repo's root directory. Ben On Tue, Apr 29, 2014 at 4:39 AM, Mark Waite wrote: > Usually that would mean that your computer does not have a program named > "sh" in the PATH which Jenkins is using when it tri

Re: Run build only when requirements/development.txt or similar files have changed

2014-03-31 Thread Benjamin Lau
Hash (shasum) a copy of the file. Store it as a build artifact in the project. When building grab the artifact from the last build compare it to the new value. If the same skip the step otherwise rebuild. Ben On Mon, Mar 31, 2014 at 11:19 AM, Mauricio de Abreu Antunes wrote: > Anyone? Still tryi

Re: Increase jobs in build queue of a project

2014-03-03 Thread Benjamin Lau
tps://wiki.jenkins-ci.org/display/JENKINS/Random+String+Parameter+Plugin > > > On Mon, Mar 3, 2014 at 10:18 AM, Benjamin Lau > wrote: >> >> I'm assuming all of these have the same parameters or are not >> parameterized at all. Due to this the queue will be culled by

Re: Increase jobs in build queue of a project

2014-03-03 Thread Benjamin Lau
I'm assuming all of these have the same parameters or are not parameterized at all. Due to this the queue will be culled by Jenkins such that only each unique job will appear in the queue. Marc MacIntyre (in the thread about for loops the other day) suggested the following to compensate for this:

Re: jenkins best practice for automated testing

2014-02-23 Thread Benjamin Lau
The way I've done this in past and current positions has evolved over time. Generally speaking I break all of by build systems up into a couple of parts depending on what capabilities I need these generally break down into the following 5 categories: increment - deals with code checkout (are there

Re: best approach to automate/manage jenkins jobs?

2014-02-21 Thread Benjamin Lau
This sounds similar to the technique described in this post: http://www.blackpepper.co.uk/generating-new-jenkins-jobs-from-templates-and-parameterised-builds/ I've used this technique where I need to have lots of different build which are mostly similar and need to be able to run in parallel. Ben

Re: jenkins+ant+if_then

2014-02-06 Thread Benjamin Lau
You need to pass the parameterized value into ant like this: -DDBName=${DBName} Or handle it like an environment variable by adding this inside the project tag: And then use ${env.DBName} wherever you need to access it. Cheers, Ben On Thu, Feb 6, 2014 at 12:05 AM, vinil narayan wrote: > hi a

Re: Semaphore system for matrix jobs

2014-01-20 Thread Benjamin Lau
I've always managed this by limiting the executors on the host where I run the tests... but I'm suspecting you have a set up where each of the VMs has its own computer/node entry in Jenkins so you have one executor for each. You might be able to work around this by setting up one of your systems a

Jenkins Matrix Project: Ignore non existing configurations

2013-08-13 Thread Benjamin Kemper
We use 3-4 axis's in our matrix projects (OS, ISA, Compiler and more) and are really annoyed by the fact that we have to manually write very complex combination filters only because some configurations don't exist. Is there a way to tell Jenkins to simply ignore non existing configurations in

Re: Readonly job parameters

2013-07-29 Thread Benjamin Hofmann
My personal usecase would be to differ between an auto triggered build and a manual build. But I believe the envinject can fulfill that need quite well. On Monday, July 22, 2013 11:42:20 AM UTC+2, Daniel Beck wrote: > > An actual use case for this might be helpful. Right now, this looks a lot >

Re: java.io.IOException: Remote call failed

2013-07-08 Thread Benjamin Lau
I'm also seeing a similar error but with an ssh slave. Ben On Wed, Jul 3, 2013 at 6:55 AM, Bharathi Ramalingam wrote: > I often get the following error when I try to launch a Job. Even though the > slave is up and connected to the master. Following error is thrown. > Restarting the slave and re-

Re: Build Flow Question

2013-07-03 Thread Benjamin Lau
Use guard/rescue. guard { parallel ( { build("jobA", ...) }, { build("jobB", ...) }, ... ) } rescue { build("jobC", ...) } That's how I've dealt with it. See "Guard / Rescue" on the Build Flow Plugin page in the Jenkins wiki: https://wiki.jenkins-ci.org/display/JENKINS/Bu

Re: Re: How to use the same BUILD_NUM in two different jobs?

2013-06-26 Thread Benjamin Lau
ams > > Dell | PG Release Engineering > > > > > > From: jenkinsci-users@googlegroups.com > [mailto:jenkinsci-users@googlegroups.com] On Behalf Of djx339 > > Sent: Wednesday, June 26, 2013 12:18 PM > > To: jenkinsci-users > > Subject: Re: Re: How to use t

Re: Re: How to use the same BUILD_NUM in two different jobs?

2013-06-26 Thread Benjamin Lau
Next Build Number https://wiki.jenkins-ci.org/display/JENKINS/Next+Build+Number+Plugin On Jun 26, 2013 1:06 PM, "djx339" wrote: > ** > can you tell me the plugin name? thanks > > > *From:* Benjamin Lau > *Date:* 2013-06-27 01:02 > *To:* jenkinsci-users >

Re: How to use the same BUILD_NUM in two different jobs?

2013-06-26 Thread Benjamin Lau
You don't want to do this. It's an extremely good practice to make sure that all build numbers are unique. But if you want to do this anyway... I think there's a plugin which let's you explicitly set the build number. I use it to jump the build number up when I make major backward incompatible ch

Re: Page with test error/fail count, sorted by test class/package

2013-05-23 Thread Benjamin Peter
one who is working on it? Regards Benjamin. -- 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...@googlegroups.com

Re: Is Jenkins the right tool for hundreds of repositories

2013-05-10 Thread Benjamin Lau
of our urls to trigger a build with parameters: http://buildserver:8080/job/buildServer/buildWithParameters?delay=0sec&server_git_branch=featureBranch Ben On May 10, 2013 2:10 PM, "Jon Drukman" wrote: > On Fri, May 10, 2013 at 10:44 AM, Benjamin Lau > wrote: > >> I also

Re: Is Jenkins the right tool for hundreds of repositories

2013-05-10 Thread Benjamin Lau
I also use git commands directly. If you make it so your build is identical for all of your repositories you could have a single parameterized job which has parameters for the repo and branch (unless everything is always in master). To make this easier to work with I also wrote some shell scripts

Re: Parallel builds

2013-05-03 Thread Benjamin Lau
If you're using ant... are you making use of ? For my own use case I needed to run multiple builds of the same code that's managed using maven. I ended up using schroot to create separate environments for each variant to run so I could run them in parallel. Before this we were having weird build c

Re: Looking for good Linux bash script examples

2013-03-28 Thread Benjamin Lau
I like to use the approach of storing my bash based build scripts in the scm... having the Jenkins job check them out and then use the shell task to execute them. generally speaking the shell task will then look something like: pushd bash

distribute build with Jenkins

2013-03-13 Thread Benjamin Wang
Hi all, I have known some acknowledge about the distribute build. One common application of this practice is to run OS-specific functional tests. But I have a job, which is to test a great many files in the same environment, such as OS(Linux) and other environments. Every file test will cost

Re: How to publish results of automated tests

2013-03-11 Thread Benjamin Lau
I'd second this option. It's been a good approach to getting test results out of all sorts of tools. I've written scripts that generated this format from shell scripts and other sources depending on what I was doing and they work great and appear just like any other test results in Jenkins. Ben O

Re: Converting paths with spaces

2013-01-22 Thread Benjamin Lau
command.com changed to cmd.exe at some point in the last decade or two... maybe that's an NT and later thing... Ben On Tue, Jan 22, 2013 at 1:02 PM, Scott Evans wrote: > Slide, > > Yes, that would do pretty much what I needed, if I weren't needing to run > this on a Win-7 x64 box which doesn't h

Re: Warning - the XCode plugin does not work with static libraries

2012-12-07 Thread Benjamin Lau
I think I might be glad that I chose to roll my own using Ant and xcodebuild... Ben On Fri, Dec 7, 2012 at 3:20 PM, Martin wrote: > If you have a workspace containing a library, and a project that includes > the library, then if you make a change to the library then that change is > never, I rep

Re: unit testing from shell scripts?

2012-12-07 Thread Benjamin Lau
I've also used the technique of generating xUnit formatted reports from the shell script and having Jenkins pick those up. Required the xUnit plug-in if I recall. Ben On Dec 7, 2012 8:56 AM, "Matt Benson" wrote: > Bill: You might also consider Antunit [1] for a simple means of > generating JUni

Re: Open visual studio command line for build

2012-11-29 Thread Benjamin Lau
I think you need to do something like what is mentioned in this stackoverflow post; http://stackoverflow.com/questions/762539/how-do-i-write-a-build-batch-script-that-runs-vcvars32-bat-and-then-continues-w You need to execute the vcvars32.bat script (and it's entirely possible that the name has ch

Re: how to include Jenkins Build Number in Ant script - quick question

2012-11-29 Thread Benjamin Lau
Take a look at XmlTask for Ant. You can then update your xml file using xpath. Ben [1] http://www.oopsconsultancy.com/software/xmltask/ On Thu, Nov 29, 2012 at 7:20 PM, Z W wrote: > Hi > > We like to sync up Jenkins build number with our version.xml file. > Is there a way to include Jenkins bui

Re: Making sure jobs run in sequence

2012-11-12 Thread Benjamin Lau
Thanks for all the replies! cjo's technique worked the best of the bunch so I went with that. Will have to play around with throttle-concurrency more though... that might be useful for another project I'm working on. Ben On Sun, Nov 11, 2012 at 10:59 AM, AdvanTiSS wrote: > You can use paramete

Making sure jobs run in sequence

2012-11-09 Thread Benjamin Lau
So I've got 2 jobs build test What I want to be able to do is make sure that they always run in this order and that text blocks build from running and build blocks test from running. I was able to accomplish that using the Locks and Latches plugin. The problem I'm running into is this... If I sta

Re: How to conditionally build down-stream projects?

2012-10-31 Thread Benjamin Lau
You can get a conditional behavior with the Parameterized Trigger plug-in actually. I have mine set to use a properties file and if the properties file doesn't exist... the triggered build will not run. I manage the creation of the properties file using a shell build step with the following hunk

Re: Switching a matrix job between two matrix sets with a parameter?

2012-09-07 Thread Benjamin Lau
eds. > e.g. selecting one of three subsets could be done as > (${SUBSET}=="Set1" && ) || (${SUBSET}=="Set2" && > ) || (${SUBSET}=="Set3" && ) > > Chris > > On Friday, August 31, 2012 4:36:16 PM UTC+1, benjamin.a.lau wro

Re: Switching a matrix job between two matrix sets with a parameter?

2012-08-31 Thread Benjamin Lau
31, 2012 at 7:11 AM, Benjamin Lau wrote: > Haha... I'm currently running 2.13... so close. ;-) > > I'll update tonight since the day's builds are just starting. Jenkins > was in need of a maintenance cycle anyway. > > Thanks! > > Ben > > On Fri, Au

Re: Switching a matrix job between two matrix sets with a parameter?

2012-08-31 Thread Benjamin Lau
Haha... I'm currently running 2.13... so close. ;-) I'll update tonight since the day's builds are just starting. Jenkins was in need of a maintenance cycle anyway. Thanks! Ben On Fri, Aug 31, 2012 at 4:42 AM, cjo wrote: > Use the parameterized trigger plugin, as that has a parameter to pass i

Re: How to build a project for multiple mobile devices in a single job

2012-08-30 Thread Benjamin Lau
This is how I manage building a pile of different client variations for iOS and Android. (They each have their own matrix job set.) Ben On Thu, Aug 30, 2012 at 9:31 AM, bearrito wrote: > I don't think you even need separate polling per job. > > 1. Have single root job that is hooked to SCM > 2.

Switching a matrix job between two matrix sets with a parameter?

2012-08-30 Thread Benjamin Lau
Hello, Say I've got a matrix job with 2x2x15 jobs. For some builds I would like to have this run as a 2x1x1 matrix instead. Is there an easy way to change the job's combination filter via a parameter or something like that? I tried passing in the combination filter as a build parameter, but I don'

Re: Is it any good to use Jenkins as a web based UI for running operational scripts?

2012-08-28 Thread Benjamin Lau
I do. While I use Jenkins for build and release type tasks I also have quite a few "maintenance" scripts that I manage inside it as well. I find this is a better way to keep track of them than keeping them in cron jobs (or System Scheduler on Windows). You can quickly check if they are running and

Re: Putting condition for build of same job

2012-07-16 Thread Benjamin Lau
I've been doing something like this using the parameterized trigger plugin[1]. I actually use it in two ways. For scheduled builds I use predefined parameters. This lets me have a single build script but with different behaviors based on the parameters set by the upstream job. For some situations I

Re: very similar jobs as separate jobs

2012-07-06 Thread Benjamin Lau
I've dealt with this by having multiple upstream jobs and using the shell to figure out which job triggered the real job and using that to apply the minor tweaks. I do this for a couple of different situations but the most interesting deals with automatic merging of git branches. I needed to have d