Re: How would you use a List to invoke a job multiple times?
Can https://wiki.jenkins-ci.org/display/JENKINS/Building+a+matrix+project be used in your case? -- oliver -- 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. For more options, visit https://groups.google.com/groups/opt_out.
Re: Publishing junit result multiple times in single job creates multiple test link
how to publish multiple times using same publisher in single job?? On Friday, May 17, 2013 1:04:19 PM UTC+5:30, arun singh wrote: Hi, I am publishing junit result multiple times using flexible publisher. It is creating multiple test report links but i want only one report link for multiple publishing. Is there any way to do this?? Thanks, Arun -- 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. For more options, visit https://groups.google.com/groups/opt_out.
RE: How would you use a List to invoke a job multiple times?
If you can do them in parallel, then you want a matrix job. Get the dynamic axis plugin. Make a single job that generates the list of values, and then calls the matrix job with that list as a parameter. In the matrix job, make that parameter the axis. --Rob Mandeville From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of lfast Sent: Wednesday, May 22, 2013 1:40 AM To: jenkinsci-users@googlegroups.com Subject: How would you use a List to invoke a job multiple times? I'm looking to take a dynamically generated list of values and run a job multiple times with each individual value. Suggestions? -- 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.commailto:jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. The information in this message is for the intended recipient(s) only and may be the proprietary and/or confidential property of Litle Co., LLC, and thus protected from disclosure. If you are not the intended recipient(s), or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any use, dissemination, distribution or copying of this communication is prohibited. If you have received this communication in error, please notify Litle Co. immediately by replying to this message and then promptly deleting it and your reply permanently from your computer. -- 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. For more options, visit https://groups.google.com/groups/opt_out.
RE: Mass Jenkins job updates
I tried someAttribute and it did not work either. The Groovy code is executed prior to the user entering the template attributes. This makes using Groovy code not very useful since it can’t be dynamic. Bob From: teilo [mailto:teilo+goo...@teilo.net] Sent: Tuesday, May 21, 2013 5:39 PM To: jenkinsci-users@googlegroups.com Cc: 'teilo'; Bob Bick Subject: Re: Mass Jenkins job updates its just someAttribute not $someAttribute (although my groovy isn't the best and $someAttribute could also be correct syntax :/ ) You need to make sure that the template creates valid XML that represents a job that is known to Jenkins. Might be best to start by loading a an existing job and then adding a single parameter and then changing the groovy transform. If not the error you get back although cryptic and in martian does give you somewhat of a clue as where to look. I wanted to open source our templates, but I have more urgent things blocked in the approval queue so I have not pursued it. Maybe someone with karma could allow read access to the Jenkins templates at https://jenkins.ci.cloudbees.com/template/ unless they contain secret info? /James On Tuesday, 21 May 2013 16:32:35 UTC+1, Bob Bick wrote: Thanks James. I am trying out the CloudBees template approach using Groovy template transformations. Overall, it seems nice; however, it is not clear how to access attributes in Groovy code. The CloudBees doc shows this trivial example of adding Groovy code: foo % for (int i=0; i100; i++) { if ((i%2)==0) { % data${i}/data % } } % /foo I’d like to use an attribute whose value is provided by the user when the job is instantiated. Here is a simplified example of what I am trying to do: foo % def x = “a” + $someAttribute % data${x}/data /foo Unfortunately, the above example does not work. Does anyone know if it is possible to access attribute values in the Groovy template code? Thanks in advance. Bob From: teilo [mailto:teilo+...@teilo.netjavascript:] Sent: Tuesday, May 21, 2013 9:11 AM To: jenkins...@googlegroups.comjavascript: Cc: 'teilo'; Bob Bick Subject: Re: Mass Jenkins job updates You can add new parameters, so long as you handle the fact that the parameter may be null in the transformer used by the template. There's a bit about this in my presentation from the Jenkins User event in London, and the online docs from cloudbees should give you more details of this. Others have pointed out there may be other ways to solve the same issue with various advantages/disadvantages. On Tuesday, 21 May 2013 14:04:55 UTC+1, Bob Bick wrote: Thanks James, that clears it up! I guess a template could not add a new parameter. Is that correct? Or, maybe there is a way to define a default value that all jobs would get? Bob From: teilo [mailto:teilo+...@teilo.net] Sent: Tuesday, May 21, 2013 8:59 AM To: jenkins...@googlegroups.commailto:jenkins...@googlegroups.com Cc: Bob Bick Subject: Re: Mass Jenkins job updates Hi Bob, Just so I understand what you are saying... If you create a job based on a template, and then you make a change to the template, all jobs are automatically updated based on the template? Yes - if your jobs are based on that template then they are all automatically updated. I have not tried this; however, I would assume that you'd need to modify the template and then re-run the transformation with the exact same parameters to re-create each job. That's not how the plugin works - when you create a job you no longer create a FreeStyle job or a Maven2 job, you create a Mytemplate job. The only thing the job will ask you for is the parameters defeined by the template, and these are stored in the job. The template then converts these parameters using the definition stored in the template. If so, that seems like a hassle because you'd need to re-run the transformation for many jobs which would be inefficient. That would be ineficient - which is why it doesn;t work like that. Basically, if your job has been created from a template then once you update the template then the job is automatically updated. However your jobs are not created from a tempalte, so you would first have to create a template and then convert (recreate?) your jobs to be based on the template. /James On Tuesday, 21 May 2013 13:52:19 UTC+1, Bob Bick wrote: Thank you for the response. Just so I understand what you are saying... If you create a job based on a template, and then you make a change to the template, all jobs are automatically updated based on the template? I have not tried this; however, I would assume that you'd need to modify the template and then re-run the transformation with the exact same parameters to re-create each job. If so, that seems like a hassle because you'd need to re-run the transformation for many jobs which would be inefficient. Do I understand that correctly? Thanks, Bob -Original Message- From:
Re:Suggestions for advanced git/jenkins build integration
You *do* want them to use the Jenkins UI, but what you could add to the mix is the Promoted Builds plugin. This allows someone (with appropriate permissions) to select an *existing* successful build and promote it into another chain of job(s), so that it won't have to be run again. Your deployment job could then be the target of the promotion operation, and extract the build artifacts from the promoted build so that it can deploy them. - Original Message - From: jenkinsci-users@googlegroups.com To: jenkinsci-users@googlegroups.com At: May 21 2013 18:15:42 My team has 30+ git repos, which all use the same post-receive hook to trigger Jenkins build jobs when people push a commit to the 'master' branch (the hook maintains a mapping of repo - Jenkins job). Work done in any other branch does not trigger a build automatically, but developers can build their branch using the Jenkins UI - 'branch' is a string parameter for all jobs. All of our build jobs also have a list parameter of deploy environment which, if selected, causes the job to build a package and push it to an environment for test. But our workflow doesn't lend itself to continuous deploy (yet), so most people commit, then go to the Jenkins UI and do another build with the deploy option set if they want a deploy. This is obviously wasteful since it performs the build steps twice, unnecessarily, and requires a change of context when someone wants their commit to go to a test env. People are asking me for an easier way to specify that a commit should be deployed. The ideal solution seems to involve mind-reading, which is not yet supported by any Jenkins plugin I've seen. I'm curious if anyone has come up with a good workflow for this. We have a couple of possible solutions, but haven't tried any yet: * Some 'magic phrase' in the commit message, which is parsed by the post-commit hook. This pattern is sometimes used by code review or bug tracking systems, but I don't love the idea of adding this type of metadata to the commit text. * Every repo has a branch named for each test environment (we have several), and if people want to deploy to that env, they merge to that branch and push. * Every repo has a git tag named for each test environment, and people update the tag with 'git tag -f' when they want to trigger a deploy. * Every repo contains a file which defines some parameters that are interpreted by the post-receive hook. Branches can then do different things. But at best this gives us branch-level resolution, and people are asking for commit-level. Also I dislike the idea of magic files in a repo driving build/deploy behavior. Seems like it's overloading things. * People just stop complaining and use the damn Jenkins UI. I would welcome any other suggestions, or thoughts about the ones we have come up with! Thanks in advance :) -- 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. For more options, visit https://groups.google.com/groups/opt_out. -- 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. For more options, visit https://groups.google.com/groups/opt_out.
Re: Mass Jenkins job updates
That somehow may depend on what you are evaluating – but it is dynamic on job save, so if you update the parameters the job is updated. e.g. my template has “checkstyle” in the template is a checkbox. --snip -- reporters hudson.plugins.checkstyle.CheckStyleReporter % if (checkstyle) { % thresholds unstableTotalAll0/unstableTotalAll /thresholds % } // end if (checkstyle) % /hudson.plugins.checkstyle.CheckStyleReporter -- snip – Or – where I have an option for maven parallel building (-Txxx) goals-e ${parallelBuilds} -Dmaven.test.failure.ignore=false test checkstyle:checkstyle pmd:pmd findbugs:findbugs/goals And as it was added at the start of the template I have a default value % /* * New parameters may be null so set a suitable default. */ if (parallelBuilds == null) { parallelBuilds = ; } % Other places – where I need it just cope with the fact the value hasn’t been set (but this is partly due to the fact that I create template jobs inside a template folder J - and then force the user update the config by disabling the jobs until they have entered the required info) mavenName${maven_version == null ? : maven_version.getName()}/mavenName I suggest you raise a support call with cloudbees or provide the template and full transform and error, this is no longer a Jenkins issue and doesn’t really belong on this list. /James On Wednesday, 22 May 2013 13:53:10 UTC+1, Bob Bick wrote: I tried someAttribute and it did not work either. The Groovy code is executed prior to the user entering the template attributes. This makes using Groovy code not very useful since it can’t be dynamic. Bob *From:* teilo [mailto:teilo+...@teilo.net javascript:] *Sent:* Tuesday, May 21, 2013 5:39 PM *To:* jenkins...@googlegroups.com javascript: *Cc:* 'teilo'; Bob Bick *Subject:* Re: Mass Jenkins job updates its just someAttribute not $someAttribute (although my groovy isn't the best and $someAttribute could also be correct syntax :/ ) You need to make sure that the template creates valid XML that represents a job that is known to Jenkins. Might be best to start by loading a an existing job and then adding a single parameter and then changing the groovy transform. If not the error you get back although cryptic and in martian does give you somewhat of a clue as where to look. I wanted to open source our templates, but I have more urgent things blocked in the approval queue so I have not pursued it. Maybe someone with karma could allow read access to the Jenkins templates at https://jenkins.ci.cloudbees.com/template/ unless they contain secret info? /James On Tuesday, 21 May 2013 16:32:35 UTC+1, Bob Bick wrote: Thanks James. I am trying out the CloudBees template approach using Groovy template transformations. Overall, it seems nice; however, it is not clear how to access attributes in Groovy code. The CloudBees doc shows this trivial example of adding Groovy code: foo % for (int i=0; i100; i++) { if ((i%2)==0) { % data${i}/data % } } % /foo I’d like to use an attribute whose value is provided by the user when the job is instantiated. Here is a simplified example of what I am trying to do: foo % def x = “a” + $someAttribute % data${x}/data /foo Unfortunately, the above example does not work. Does anyone know if it is possible to access attribute values in the Groovy template code? Thanks in advance. Bob *From:* teilo [mailto:teilo+...@teilo.net] *Sent:* Tuesday, May 21, 2013 9:11 AM *To:* jenkins...@googlegroups.com *Cc:* 'teilo'; Bob Bick *Subject:* Re: Mass Jenkins job updates You can add new parameters, so long as you handle the fact that the parameter may be null in the transformer used by the template. There's a bit about this in my presentation from the Jenkins User event in London, and the online docs from cloudbees should give you more details of this. Others have pointed out there may be other ways to solve the same issue with various advantages/disadvantages. On Tuesday, 21 May 2013 14:04:55 UTC+1, Bob Bick wrote: Thanks James, that clears it up! I guess a template could not add a new parameter. Is that correct? Or, maybe there is a way to define a default value that all jobs would get? Bob *From:* teilo [mailto:teilo+...@teilo.net] *Sent:* Tuesday, May 21, 2013 8:59 AM *To:* jenkins...@googlegroups.com *Cc:* Bob Bick *Subject:* Re: Mass Jenkins job updates Hi Bob, Just so I understand what you are saying... If you create a job based on a template, and then you make a change to the template, all jobs are automatically updated based on the template? Yes - if your jobs are
Re: How would you use a List to invoke a job multiple times?
Thanks Rob, Dynamic Axis is the bit that I was missing. Cheers, Larry Fast -- 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. For more options, visit https://groups.google.com/groups/opt_out.
Re: Jenkins is extremely slow and takes 100% cpu
Hi, I have profiled Jenkins with yourkit, it seems, that it is thishttps://issues.jenkins-ci.org/browse/JENKINS-14362 issue. I will try to disable the compression filter with the Option -Dorg.kohsuke.stapler.compression.CompressionFilter.disabled=true Greetings, Christian Am Donnerstag, 16. Mai 2013 16:56:32 UTC+2 schrieb Christian Petry: Hi, i found a hint that jenkins has a Performance Problem since 1.506, so i downgraded to 1.505. At first it looked as if the performance got better, but it seems that the load on my machine raises constantly. Christian Am Donnerstag, 16. Mai 2013 16:42:22 UTC+2 schrieb Christian Petry: Hi, i do not know how much is a lot of Jobs at the moment we have about 200 Jobs which keep the builds for 30 Days, but i think that there are not more than 50 kept builds per job. Many jobs have much less builds. Christian Am Donnerstag, 16. Mai 2013 15:45:22 UTC+2 schrieb James Nord (jnord): Your stack shows that Jenkins is trying to load all the builds looking for the last failed. By any chance do you have a lot of jobs and a lot of history in these jobs? https://issues.jenkins-ci.org/browse/JENKINS-16023 /James *From:* jenkins...@googlegroups.com [mailto:jenkins...@googlegroups.com] *On Behalf Of *Christian Petry *Sent:* 16 May 2013 11:28 *To:* jenkins...@googlegroups.com *Subject:* Jenkins is extremely slow and takes 100% cpu Hi, i run jenkins with about 200 Jobs and working with it becomes quite painful. The overview page seems to take forever to load (about 4 minutes), and when jenkins is idle, it consumes 100% cpu. I am using Jenkins 1.514 I have the following plugins installed: - Ant Plugin - Checkstyle Plugin - Credentials Plugin - Depenency Graph Plugin - External Monitor Job Type Plugin - Findbugs Plugin - Javadoc Plugin - Jenkins CVS Plugin - Jenkins jQuery Plugin - Jenkins Mailer Plugin - Jenkins Sonar Plugin - Jenkins SSH Slaves Plugin - Jenkins Subversion Plugin - Jenkins Translation Assistance Plugin - LDAP Plugin - Maven Ingtegration Plugin - pam-auth - PMD-Plugin - SSh Credentials Plugin - Static Analysis Collector Plugin - Static Analysis Utilities - View Job Filters - Warnings Plug-ins I have a TreadDump attached. Jenkins runs in a virtual box on an Ubuntu Linux 12.04. -- 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-use...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- 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. For more options, visit https://groups.google.com/groups/opt_out.
RE: Unable to start ssh slave from OSX master
Yes, the Jenkins user can ssh to the slave without a password. I have even verified that this is possible in the Jenkins Groovy console (I was able to run a shell script in that user's home directory, and that script successfully used ssh). The slave launching process seems to fail somewhere before actually running a script (in the run a script to launch configuration). -- Todd From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Chanda Unmack Sent: Tuesday, May 21, 2013 8:20 PM To: jenkinsci-users@googlegroups.com Subject: Re: Unable to start ssh slave from OSX master I came to that conclusion in our environment, for many other reasons. I inherited the setup which had a master on osx, with slaves connected via ssh (linux osx) as well as jnlp (windows) which is why I didn't feel that I could offer up any help. The only thing I wasn't clear on with your set up is whether or not the user you specify jenkins to ssh to the slave as can log into the slave without entering a password. chanda On Tue, May 21, 2013 at 5:05 PM, Todd Greer tgr...@affinegy.commailto:tgr...@affinegy.com wrote: In case anyone comes across this in web searches, I've tried many different things, and now suspect that using an OSX master with ssh slaves may simply not be a workable configuration, for unknown reasons. I've seen plenty of reports that it does work well with a Linux master, so that is my intent, and my suggestion to anyone in my situation. -- Todd From: Todd Greer Sent: Friday, May 17, 2013 2:48 PM To: 'jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com' Subject: Unable to start ssh slave from OSX master I'm trying to use the ssh slave plugin (v.21) from OSX, and have been unable to get it to initiate the ssh connection. The node is configured with the username and password, using the default port (which is correct). From a manual connection, there is an entry for the slave node in ~/.ssh/known_hosts. Other types of slave nodes are fine. When I try to start the node, or to look at the node's logs, I just get a spinner. In Jenkins's logs, I see Excess workload 1.0 detected. (planned capacity=0.0,Qlen=0.9976,idle=0.00,total=0m,=0.5). In system.log, I see Attempting to reconnect node-name. Other than that, I see no signs of activity, including in the slave node's auth log. Can anyone provide me with guidance on where to look next? Thank you, Todd -- Todd Greer Principal Scientist, Affinegy, Inc. -- 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.commailto:jenkinsci-users%2bunsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- 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.commailto:jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- 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. For more options, visit https://groups.google.com/groups/opt_out.
gitolite and jenkins
im trying to incorporate jenkins and gitolite functionality together. i've followed these instructions pretty much verbatim https://wiki.jenkins-ci.org/display/JENKINS/Gitolite yet when i add the user jenkins in gitolite it never tells me i actually add the user successfully. my-comp:gitolite-admin kb$ git commit -m please work . ; gitpush [master f4629d8] please work 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 keydir/jenkins.pub Counting objects: 10, done. Delta compression using up to 4 threads. Compressing objects: 100% (5/5), done. Writing objects: 100% (6/6), 800 bytes, done. Total 6 (delta 2), reused 0 (delta 0) To git@repo:gitolite-admin 26b3219..f4629d8 master - master this line NEVER appears: [master ba84830] Added public key for jenkins@* dot com and added jenkins to myproject (i know it would be different for my project settings) but every time i've added a user successfully i always get a message like this. the jenkins key is all one line (as it should be) and the ownership and permissions are identical to all my other working keys. i NEED to run jenkins as a launchdaemon under the jenkins user because i havent figured out any other way to keep jenkins running when my user is logged out. i dont know if this is a factor but when i initially tried to add the jenkins user i forgot to remove the extra lines of whitespace from the key after pasting it, so when i initially committed with the user it ignored the key because of the whitespace. i tried to remove the key and user, commit again and then re-add and it never worked. so i eventually reverted to the version of the repo prior to adding the jenkins user. i dont think i reverted properly because my git skills are pathetic. i did git reset --hard 26b3219d5d66a959462bdb812c133bc2cdcc6981 and then git push origin master --force i've never been good at reverting and couldnt figure out how to get it to push an old version of the repo to the master, im not sure if this is having an affect on trying to add the user again or what. PLEASE HELP!!! -- 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. For more options, visit https://groups.google.com/groups/opt_out.
Re: Does XCode plugin read environment vars?
On Wednesday, May 8, 2013 9:35:36 AM UTC+2, David Clark wrote: Yeah, just looked, it does depend on token-macro. David Sorry for the late answer, I batch my readings of this group... Keyword expansion had been implemented but not released. The plugin version that supports this feature was released on the 16th of May. If I recall this should also contain the fix for the NPE you had. https://wiki.jenkins-ci.org/display/JENKINS/Xcode+Plugin Please report any issue you encounter. I am done improving the testflight plugin for now so my development effort will come back to the xcode one. Jerome On Wednesday, 8 May 2013 16:39:58 UTC+10, Stephen Connolly wrote: If the Xcode plugin does not depend on token-macro then it is 99% certan to not support expansion... Now I am 99.5% certain that supporting expansion is a good and desirable thing for this plugin Hope that let's you find your answer On Wednesday, 8 May 2013, David Clark wrote: Hello, Should the XCode plugin be able to read environment vars for its configuration? E.g. I have set and environment with the EnvInject plugin, so I have Environment=Stage, then in the XCode Configuration item I have specified, ${Environment} - the build seems to work, choosing the correct configuration and creating the build dir, but when it comes to delete all the *.ipa files (is this before the archiving?) it fails with an error: Cannot remove *.ipa files from a non-existing directory: /Users/Shared/Jenkins/Home/jobs/HotelSearch_iPhone_stage/workspace/build/${Environment}-iphoneos Packaging IPA FATAL: null java.lang.NullPointerException at au.com.rayh.XCodeBuilder.perform(XCodeBuilder.java:421) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804) at hudson.model.Build$BuildExecution.build(Build.java:199) at hudson.model.Build$BuildExecution.doRun(Build.java:160) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:586) at hudson.model.Run.execute(Run.java:1575) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:241) Which makes it look to me like the ${Environment} has just not been expanded for this task. Thanks -- David -- 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. For more options, visit https://groups.google.com/groups/opt_out. -- Sent from my phone -- 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. For more options, visit https://groups.google.com/groups/opt_out.
Re: Xcode Plugin: Unit test output stops
Greg, would you be willing to contribute a small xcode project that contains your tests and the associated build commands ? If so, please open an issue and attach a zip with the code or point to a git repo somewhere. Thanks Jerome On Wednesday, March 20, 2013 3:54:18 PM UTC+1, Greg Cooksey wrote: Hi, I'm having a problem with the Xcode plugin, and I'm not sure whether this is the correct place to ask about plugin issues. Please let me know if there's another place that would be more useful. I'm working on getting application unit tests going in our CI environment, and I'm seeing some weird behavior in Jenkins. All of my tests run, but I only see the output from the first test in the Jenkins log. If I run xcodebuild from the command line to run my unit tests, I get output from all of the tests. Any ideas what could be going wrong, or suggestions for further troubleshooting? Thanks, -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 jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Warning - the XCode plugin does not work with static libraries
Martin * is this issue opened in jira ? * would you be willing to provide a dummy test project for me to use as integration test ? Thanks Jerome On Saturday, December 8, 2012 12:20:24 AM UTC+1, 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 repeat *never*, included in your app/.ipa. This applies to libraries only afaik. I've spent two days digging into this and have however found the steps necessary for a workaround: 1) XCode/XCodeBuild does not cope very well with static libraries in general (I've noticed lots of glitches over the past several months). If you build, then make a change to the library, then build again then XCodeBuild will not include your change into the app unless you do a clean first. So if you are using XCodeBuild in conjunction with static libraries make sure you also do something like this: xcodebuild -workspace /Users/User/Workspace.xcworkspace -scheme NameOfScheme clean 2) Note that clicking the Clean Before Build flag in the Jenkins XCode plugin will *not* achieve the same affect. Look at the console output from the above command and look at the console output from Jenkins with this flag set - it is not the same, nor is the result, therefore if you need to properly clean things add a call to XCodeBuild clean explicitly. 3) Even if you add the two lines explicitly to the Jenkins script, then changes to the library are still not included. I found the only way to get the change included in the build output was to first delete XCodes build directory for your workspace, thus you need to add this line to the Jenkins script before the build starts: rm -r /Users/User/Library/Developer/XCode/DerivedData/* (If you have more than one workspace then adapt this command accordingly to only delete folders for the particular workspace you are dealing with - directories with the name NameOfWorkspace-randomstring get generated in DerivedData folder). If you do that then finally your changes will be applied to your build. This last step is not necessary if not using Jenkins, therefore my conclusion is it is *yet another* bug with the XCode plugin. Not the first problem I've found with it - use it at your peril if your project isn't striaghtforward. -- 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. For more options, visit https://groups.google.com/groups/opt_out.
Jenkins in windows
I am a new user trying to get Jenkins working in a Windows 7 OS. There seems to be no support nor any help available for such a task. Does anyone know a) where to get answers to questions or b) a CI like Jenkins that has a API that runs in Windows? Lance -- 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. For more options, visit https://groups.google.com/groups/opt_out.
RE: Jenkins in windows
Lance, We run Jenkins on windows with no issues. Can you describe the issues you are having in more detail? Thanks, Alex Sent from my Windows Phone -- From: lance.e.mead@mail.mil Sent: 5/22/2013 9:57 To: jenkinsci-users@googlegroups.com Subject: Jenkins in windows I am a new user trying to get Jenkins working in a Windows 7 OS. There seems to be no support nor any help available for such a task. Does anyone know a) where to get answers to questions or b) a CI like Jenkins that has a API that runs in Windows? Lance -- 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. For more options, visit https://groups.google.com/groups/opt_out. -- 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. For more options, visit https://groups.google.com/groups/opt_out.
Re: Jenkins in windows
What are you having trouble with? The windows installer can be downloaded here: http://jenkins-ci.org/ Click on Windows under the natvie package section. It will run as a service. - Original Message - From: lance e mead ctr lance.e.mead@mail.mil To: jenkinsci-users@googlegroups.com Sent: Wednesday, May 22, 2013 11:57:52 AM Subject: Jenkins in windows I am a new user trying to get Jenkins working in a Windows 7 OS. There seems to be no support nor any help available for such a task. Does anyone know a) where to get answers to questions or b) a CI like Jenkins that has a API that runs in Windows? Lance -- 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. For more options, visit https://groups.google.com/groups/opt_out . -- 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. For more options, visit https://groups.google.com/groups/opt_out.
Re: Jenkins in windows
We need to run the Python API, JenkinsAPI, but I can't find anything that will install the API. The API is a .tar.gz file and after unzipping the setup file does not run with pip, a error. I posted a message about getting the API to work but there was no response. Thanks, Lance On Wednesday, May 22, 2013 10:01:32 AM UTC-7, slide wrote: Lance, We run Jenkins on windows with no issues. Can you describe the issues you are having in more detail? Thanks, Alex Sent from my Windows Phone -- From: lance.e@mail.mil javascript: Sent: 5/22/2013 9:57 To: jenkins...@googlegroups.com javascript: Subject: Jenkins in windows I am a new user trying to get Jenkins working in a Windows 7 OS. There seems to be no support nor any help available for such a task. Does anyone know a) where to get answers to questions or b) a CI like Jenkins that has a API that runs in Windows? Lance -- 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-use...@googlegroups.com javascript:. For more options, visit https://groups.google.com/groups/opt_out. -- 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. For more options, visit https://groups.google.com/groups/opt_out.
Re: Jenkins in windows
The Python API . On Wednesday, May 22, 2013 9:57:52 AM UTC-7, lance.e@mail.mil wrote: I am a new user trying to get Jenkins working in a Windows 7 OS. There seems to be no support nor any help available for such a task. Does anyone know a) where to get answers to questions or b) a CI like Jenkins that has a API that runs in Windows? Lance -- 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. For more options, visit https://groups.google.com/groups/opt_out.
recent Jenkins upgrade 1.515 from 1.511 broke CVS updates
Upgraded yesterday and now when Jenkins does CVS updates, if the project if tied to a CVS branch all new files committed to that branch are going to the attic for some reason. When Jenkins did the CVS update this was a file that was added on that branch 1.1.2.1 epace/src/webapp/pace/static/js/Attic/test.js Was working fine for a couple years priori to this upgrade. After the upgrade I did not change any config parameters. Here is my config options CVSROOT : :pserver:anonymous:@devpacecvs:/var/lib/cvs Location:Branch Branch Name: epace_26_special_2 Modules: Remote Name : epace Use update : checked Prune Empty: checked Force clean copy for locally modified files : checked. Build Triggers: Poll SCM : checked 0,15,30,45 * * * * Any help would be greatly appreciated. -- 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. For more options, visit https://groups.google.com/groups/opt_out.
Unable to install Jenkins LTS on CentOs 6.4
Here is a screenshot: kahmed@vm-jenkins-staging ~ $ sudo rpm --import http://pkg.jenkins-ci.org/redhat-stable/jenkins-ci.org.key kahmed@vm-jenkins-staging ~ $ sudo yum install jenkins Loaded plugins: fastestmirror, security Loading mirror speeds from cached hostfile * base: centos.someimage.com * extras: mirror.umd.edu * rpmforge: mirror.us.leaseweb.net * updates: mirror.symnds.com Setting up Install Process Resolving Dependencies -- Running transaction check ---Package jenkins.noarch 0:1.514-1.1 will be installed -- Finished Dependency Resolution Dependencies Resolved Package Arch Version Repository Size Installing: jenkins noarch 1.514-1.1 jenkins 49 M Transaction Summary Install 1 Package(s) Total download size: 49 M Installed size: 54 M Is this ok [y/N]: N Exiting on user Command It should be jenkins-1.509.1-1.1.noarch.rpm 2013/05/01 46.4M -- 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. For more options, visit https://groups.google.com/groups/opt_out.
Build Parameters in server host names
I have been trying to setup a single build job that will accept a parameter to build for different environments ie Dev, Prod etc. Obviously I also want these to deploy to different servers. I can see how to use GIT to check out a different branch using parameters but how then do I send these parameters in the names of servers to publish over ssh, publish over ftp, publish over cifs etc? We have server names similar to dev.mycompany.com and prod.mycompany.com and I would like to send these to $ENV.mycompany.com. The problem I have run into is that if I build a different Jenkins jobs for our Dev and Prod servers, occasionally changes to the jobs do not get replicated to every other one. -- 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. For more options, visit https://groups.google.com/groups/opt_out.
Re: Unable to install Jenkins LTS on CentOs 6.4
It appears to have installed the correct version from the repository 1.514. 1.509 is probably no longer available in the repo. On Wednesday, May 22, 2013 12:33:32 PM UTC-7, Kamal Ahmed wrote: Here is a screenshot: kahmed@vm-jenkins-staging ~ $ sudo rpm --import http://pkg.jenkins-ci.org/redhat-stable/jenkins-ci.org.key kahmed@vm-jenkins-staging ~ $ sudo yum install jenkins Loaded plugins: fastestmirror, security Loading mirror speeds from cached hostfile * base: centos.someimage.com * extras: mirror.umd.edu * rpmforge: mirror.us.leaseweb.net * updates: mirror.symnds.com Setting up Install Process Resolving Dependencies -- Running transaction check --- Package jenkins.noarch 0:1.514-1.1 will be installed -- Finished Dependency Resolution Dependencies Resolved Package Arch Version Repository Size Installing: jenkins noarch 1.514-1.1 jenkins49 M Transaction Summary Install 1 Package(s) Total download size: 49 M Installed size: 54 M Is this ok [y/N]: N Exiting on user Command It should be jenkins-1.509.1-1.1.noarch.rpmhttp://pkg.jenkins-ci.org/redhat-stable/jenkins-1.509.1-1.1.noarch.rpm 2013/05/0146.4M -- 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. For more options, visit https://groups.google.com/groups/opt_out.
Re: Build Parameters in server host names
David, But on the jenkins web site (http://jenkins-ci.org/) LTS is: Java Web Archive (.war) Older but stable (1.509.1) and the normal (NON LTS )release is: Java Web Archive (.war) Latest and greatest (1.515) From: David Brossard dbross...@gmail.com To: jenkinsci-users@googlegroups.com Sent: Wednesday, May 22, 2013 4:59 PM Subject: Build Parameters in server host names I have been trying to setup a single build job that will accept a parameter to build for different environments ie Dev, Prod etc. Obviously I also want these to deploy to different servers. I can see how to use GIT to check out a different branch using parameters but how then do I send these parameters in the names of servers to publish over ssh, publish over ftp, publish over cifs etc? We have server names similar to dev.mycompany.com and prod.mycompany.com and I would like to send these to $ENV.mycompany.com. The problem I have run into is that if I build a different Jenkins jobs for our Dev and Prod servers, occasionally changes to the jobs do not get replicated to every other one. -- 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. For more options, visit https://groups.google.com/groups/opt_out. -- 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. For more options, visit https://groups.google.com/groups/opt_out.