RE: restart broken build when certain string is detected?
Use https://wiki.jenkins-ci.org/display/JENKINS/Naginator+Plugin with option Only rerun build if regular expression is found in output selected. Andy. -Original Message- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of phil swenson Sent: 06 August 2012 15:14 To: jenkinsci-users Subject: restart broken build when certain string is detected? I have a large Jenkins setup in Germany running against SVN in the US. Unfortunately, I get quite a few broken builds from SVN flaking out (network drops I assume). We've never had this problem with everything being in the same datacenter. I don't have a good solution to preventing the problem, so what I'd like to do is rerun the job when a certain text string is detected (org.tmatesoft.svn.core.SVNException: svn: E175002: REPORT /svn/sag/!svn/vcc/default failed). ideas? thanks
Re: Jenkins wiki down
It's back online ! Le mardi 7 août 2012 10:20:46 UTC+2, mpapo - Michaël Pailloncy a écrit : The wiki seems to be down : https://wiki.jenkins-ci.org/
Re: Violations Plugin and JSlint
On Tuesday, May 1, 2012 4:04:25 AM UTC+1, djcbecroft wrote: On Tue, May 1, 2012 at 12:17 PM, Daniel Becroft djcbecr...@gmail.comwrote: On Mon, Apr 30, 2012 at 5:28 PM, Ullrich Hafner ullrich.haf...@gmail.com wrote: On 04/29/2012 10:46 PM, Daniel Becroft wrote: On Wed, Mar 21, 2012 at 6:34 PM, timos timo.j.sillan...@gmail.comwrote: The same problem here. At file system level I can see a generated jshint.xml file containing the JSLint errors, a violations/ violations.xml file and violations/file/js file name and path.xml files but still each file specific link leads to a blank page. Any updates on this? Was anyone able to resolve the problem? I'm still having no luck. I'm using stylecop/fxcop instead of JSLint, but I still have the issue. A few things to note: 1) The build is performance on a slave node (not the master) 2) For FxCop, where the link is to a .cs file, I get the code snippets highlighted with the errors, but I don't get anything about the error text listed above. But if the link is to a class, I get a blank page (with just the violations icon). It's really getting annoying. Is there anywhere else we should be raising this? During the integration of the violations parsers (JSLint, FXCop, etc.) into the warnings plug-in I noticed that the parsers are not serializable. Maybe this is the reason for the behavior. Does the plug-in work on the master? In order to have a working JSLint parser on a slave (for my warnings plug-in) the parsers should be made serializable... I've just setup a sandpit with a fresh Jenkins installation, and built the same job on the MASTER node. Same issue. I've managed to get some more information (thankfully found some spare tuits). Using PROCMON.exe (from sysinternals), I can see the following: 1) Clicking on a *.cs link in the Violations screen gives the following PATH accesses (all with PATH NOT FOUND): %JENKINS_HOME%\war\job\JOB_NAME\violations\file\RELATIVE_PATH_TO_FILENAME This path obviously does not exist - why would there be a JOB_NAME folder under the 'war' directory? The file that it is trying to access appears to be: %JENKINS_HOME%\jobs\%JOB_NAME%\builds\%BUILD_NAME%\violations\file\%RELATIVE_PATH_TO_FILENAME%.xml 2) Clicking on an object name (ie Namespace.ClassName), gives alot of pathname accesses, trying to locate Namespace.ClassName with .groovy, .default.groovy and .jelly. Hopefully this helps track down the issue. Cheers, Daniel B. I'm using Python/Pylint, and also see a blank page when I look at the errors for a particular file. The page contains normal header, footer and sidebar, and displays the violations 'exclamation mark roadsign' icon on the top left, but is otherwise blank It used to work on this same jenkins installation and project, but I'm afraid I'm not sure when or why it stopped working. Possibly a jenkins or violations update, or possibly of course I changed/broke the config somewhere. Any other info is very welcome. Jonathan Hartley
Re: Jenkins doesn't work with Eclipse Mylyn
Hello, I've found that the problem is with the Winstone web server. When I deploy Jenkins to Jetty or Tomcat, everyting is fine. So the resolution is that Jenkins should have used working version of Winstone. Regards, Stepan On Mon, Aug 6, 2012 at 3:23 PM, Stepan Vavra vavra.ste...@gmail.com wrote: I have some news regarding the Jenkins Mylyn integration. I've found, the last version it worked was: 1.457. Looking at changelog there is no record saying that any API changed in 1.458. Therefore I think this is a bug. Regards, Stepan On Sun, Aug 5, 2012 at 6:13 PM, Stepan Vavra vavra.ste...@gmail.comwrote: Hello, I haven't had time to discover where exactly the problem is, but Mylyn Builds Connector (1.0.1 installed from http://download.eclipse.org/mylyn/releases/latest) doesn't work with the latest Jenkins. I don't even know if Jenkins supports the API Mylyn is using. All I know is that Mylyn is able to communicate with Jeknins 1.447 but is not able to communicate with the latest: 1.476. Is this some kind of regression that is intended? Best regards, Stepan Vavra -- Stepan Vavra -- Stepan Vavra
plugin development exceptions from hpi mojo test execution
Hi, i'm developing a jenkins plugin. i've added a new type of project, so i created a newJobDetail.jelly to match it. suddenly when i try to do anything, from install to hpi:run i get exceptions from test failures. these seem to stem from: Caused by: java.lang.IllegalArgumentException: org.sonatype.inject.Parameters is not a binding annotation. Please annotate it with @BindingAnnotation. Java.lang.NoClassDefFoundError: Could not initialize class org.sonatype.guice.bean.binders.ParameterKeys see stack trace below. for now i'm just adding -DskipTests=true am i doing something wrong or is there something wrong with the test-harness? --- Test set: InjectedTest --- Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 787.893 sec FAILURE! org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite(org.jvnet.hudson.test.junit.FailedTest) Time elapsed: 1.683 sec ERROR! java.lang.ExceptionInInitializerError at org.codehaus.plexus.DefaultPlexusContainer$ContainerModule.configure(DefaultPlexusContainer.java:801) at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:223) at com.google.inject.spi.Elements.getElements(Elements.java:101) at com.google.inject.spi.Elements.getElements(Elements.java:78) at org.sonatype.guice.bean.binders.MergedModule.configure(MergedModule.java:54) at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:223) at com.google.inject.spi.Elements.getElements(Elements.java:101) at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:127) at com.google.inject.internal.InjectorBuilder.build(InjectorBuilder.java:103) at com.google.inject.Guice.createInjector(Guice.java:93) at com.google.inject.Guice.createInjector(Guice.java:70) at com.google.inject.Guice.createInjector(Guice.java:60) at org.codehaus.plexus.DefaultPlexusContainer.addPlexusInjector(DefaultPlexusContainer.java:470) at org.codehaus.plexus.DefaultPlexusContainer.init(DefaultPlexusContainer.java:196) at org.codehaus.plexus.DefaultPlexusContainer.init(DefaultPlexusContainer.java:160) at hudson.maven.MavenEmbedderUtils.buildPlexusContainer(MavenEmbedderUtils.java:163) at hudson.maven.MavenEmbedderUtils.buildPlexusContainer(MavenEmbedderUtils.java:156) at hudson.maven.MavenEmbedder.init(MavenEmbedder.java:109) at hudson.maven.MavenEmbedder.init(MavenEmbedder.java:136) at hudson.maven.MavenUtil.createEmbedder(MavenUtil.java:211) at hudson.maven.MavenUtil.createEmbedder(MavenUtil.java:135) at hudson.maven.MavenUtil.createEmbedder(MavenUtil.java:128) at hudson.maven.MavenUtil.createEmbedder(MavenUtil.java:124) at org.jvnet.hudson.test.HudsonTestCase$6.decorateHome(HudsonTestCase.java:1432) at org.jvnet.hudson.test.HudsonTestCase.newHudson(HudsonTestCase.java:435) at org.jvnet.hudson.test.HudsonTestCase.setUp(HudsonTestCase.java:295) at org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite.setUp(JellyTestSuiteBuilder.java:133) at org.jvnet.hudson.test.junit.GroupedTest.run(GroupedTest.java:46) at junit.framework.TestSuite.runTest(TestSuite.java:243) at junit.framework.TestSuite.run(TestSuite.java:238) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:172) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:120) at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:194) at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAllProviders(AbstractSurefireMojo.java:176) at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:134) at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:97) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at
Re: HTTPS Subversion 1.7 and Jenkins - issuer not trusted
Hi Jan, Thanks for your reply I have finally solved this, unfortunately it was not as simple as I hoped (probably due to the fact our platform is on Windows Server). The point you raised below, gave me a good hint - - Run a simply svn command like list/info/whatever from a shell/command box and accept the cert if prompted so. So looking at the build output, I could tell that the 'buildnumber' Maven plugin was directly calling svn, so this was outside of Jenkins awareness really. I then realised that Jenkins was running as the 'SYSTEM' user and so that svn command was being executed by the SYSTEM user. Obviously the SYSTEM user needed to accept the server certificate and provide authentication, which it didnt had. I located where svn keeps its auth details for the SYSTEM user on Windows 2008 Server - C:\Windows\System32\config\systemprofile\AppData\Roaming\Subversion\auth and I copied in appropriate authentication files to the svn.simple and and svn.ssl.server folders from another account where I knew the build worked. It did now accept the SSL cert but refused to authenticate. So no luck doing that. I then tried a different approach. I re-installed Jenkins making sure that it would run under a custom user account called - s-subversion and configured the Windows service appropriately to use that account. When I tried to build the project I had the same issue again, but I could now open a command prompt running as the 's-jenkins' user and execute 'svn up' in the job's workspace, svn then prompted me to accept the server certificate and enter a username and password. After that running the build again in Jenkins now works perfectly. I have added the detail above to try and assist future Windows server users. Thanks
Local user when using AD integration
Hello all, I have been using Jenkins happily for a while now but I have out grown my server. I'm working on migrating to a new one with more space and some slightly better security (https via Apache front end, no Anonymous access, integrated into the rest of our Apache fronted infrastructure, etc). Since I am disallowing anonymous access, and I use JNLP for my windows slaves, I have to use the -jnlpCredentials options to get the agents to talk back to the server. That all works well for the vast majority of my slaves. However, I have about a half dozen slaves that are not controlled by me and the entire dev community has access to the console to debug issues on those machines (they run the in depth integration tests). Needless to say I do NOT want to put my normal credentials in the jenkins-slave.xml on those machines. Also getting IT to create a general account in AD just for the slaves would be... trying at best. Given that I am using the Active Directory plugin as my Security Realm, is there any way to also create a local user in Jenkins that I could use for this generic JNLP access? -Jim NOTICE: All information in and attached to this email may be proprietary, confidential, privileged and otherwise protected from improper or erroneous disclosure. If you are not the sender's intended recipient, you are not authorized to intercept, read, print, retain, copy, forward, or disseminate this message.
Jenkins batchtask plugin colors
Hello, I'm trying to make the batch task plugin output log a little bit more colorful. I'm using it to trigger Capistrano tasks, and I would like to highlight certain information, in order to spot errors and useful information. I tried to use html tags, but noticed that the output log is included inside pre tags. Also, the log is encoded. Anyone has experience on how to do this? Thanks, Matteo
Re: email notification on abort
Try the Aborted trigger, this is what it is for. slide On Tue, Aug 7, 2012 at 1:20 PM, J Arrizza cppge...@gmail.com wrote: Hi, Is there a way to get an email notification when a job aborts? I use the email-ext plugin for notifications. There are two scenarios: - a user clicks the cancel job (red x) - the Hudson Build Timeout plugin (abort the build if it's stuck) aborts the build because of time-out Thanks in advance for your help, John -- Website: http://earl-of-code.com
crash setting up ldap
I'm trying to set up LDAP against my company server. I had to add the cert to allow for what I presume is a self signed cert on the server. After that, I'm using... Server: ldaps://usmils001.palm1.palmone.com:3269 Group search base: ou=groups Manager DN: CN=zoo ldap,OU=Service Accts,OU=Palm CNS,DC=palm1,DC=palmone,DC=com Manager Password: (from zoo animals) Clicking project-based matrix authorization strategy and entering rich pixley now looks ok. I can check all boxes, but on clicking save, jenkins appears to crash with this. Anyone know how to interpret this? --rich Status Code: 500 Exception: Stacktrace: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'initialDirContextFactory': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.acegisecurity.ldap.DefaultInitialDirContextFactory]: Constructor threw exception; nested exception is java.lang.IllegalArgumentException: Root DNs must be the same when using multiple URLs at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:288) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1003) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:907) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425) at hudson.util.spring.DefaultRuntimeSpringConfiguration.getApplicationContext(DefaultRuntimeSpringConfiguration.java:94) at hudson.util.spring.BeanBuilder.createApplicationContext(BeanBuilder.java:388) at hudson.security.LDAPSecurityRealm.createSecurityComponents(LDAPSecurityRealm.java:365) at hudson.security.SecurityRealm.getSecurityComponents(SecurityRealm.java:398) at hudson.security.HudsonFilter.reset(HudsonFilter.java:134) at jenkins.model.Jenkins.setSecurityRealm(Jenkins.java:1862) at jenkins.model.Jenkins.doConfigSubmit(Jenkins.java:2431) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:282) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:149) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:88) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:104) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:477) at org.kohsuke.stapler.Stapler.service(Stapler.java:159) at javax.servlet.http.HttpServlet.service(HttpServlet.java:45) at winstone.ServletConfiguration.execute(ServletConfiguration.java:249) at winstone.RequestDispatcher.forward(RequestDispatcher.java:335) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
Re: Selenium crashes Chrome when running from Jenkins
And how did you install Jenkins? -- Sami Liron Yahdav li...@handl.it kirjoitti 6.8.2012 kello 20.31: TLDR: Running ruby scripts from Jenkins on OS X that use the selenium-webdriver gem with chromedriver causes the Aw snap page to come up in Chrome. Running those same scripts from outside of Jenkins works fine. Any ideas as to what's wrong? -- Long version: We have a CI machine that's a MacBook Pro running OS X Mountain Lion with Jenkins installed. The Jenkins server runs as a user who can login to the system. We configured Jasmine to use Chrome for the `rake jasmine:ci` command by setting ENV['JASMINE_BROWSER'] = 'chrome'. This all works fine when running `rake jasmine:ci` from the command line on that machine, but when Jenkins is configured to run the same exact command, Chrome will start up and when it tries to hit the url to run the tests, the tab crashes with the Aw Snap error page. I looked at the chromedriver.log file that's generated and there are no errors, it basically just stops all of a sudden. The Jenkins build eventually gets a Selenium timeout error. I've tried setting up the same config on a MacBook Air running OS X Lion and the same problem occurs. We also have integration tests written with RSpec and Capybara and when we configure it to use Selenium with chromedriver, the same problem occurs when running through Jenkins, though the Aw Snap page comes up a few steps into the first test. Has anyone gotten a similar setup working or have any idea what the issue could be? Thanks!
Re: email notification on abort
Seems eminently reasonable. But there is no such trigger in my installation. The plugin version is 2.7, the latest is 2.10, so I am updating it. However the release notes don't mention anything about abort trigger added in 2.8, .9, .10 so will let you know if there is still an issue. Thanks John Original Message From: Slide slide.o@gmail.com Sent: Tue, Aug 7, 2012 13:21 To: jenkinsci-users@googlegroups.com CC: Subject: Re: email notification on abort Try the Aborted trigger, this is what it is for. slide On Tue, Aug 7, 2012 at 1:20 PM, J Arrizza cppge...@gmail.com wrote: Hi, Is there a way to get an email notification when a job aborts? I use the email-ext plugin for notifications. There are two scenarios: - a user clicks the cancel job (red x) - the Hudson Build Timeout plugin (abort the build if it's stuck) aborts the build because of time-out Thanks in advance for your help, John -- Website: http://earl-of-code.com
Re: email notification on abort
The latest is 2.24.1 (https://wiki.jenkins-ci.org/display/JENKINS/Email-ext+plugin) On Tue, Aug 7, 2012 at 2:08 PM, John Arrizza cppge...@gmail.com wrote: Seems eminently reasonable. But there is no such trigger in my installation. The plugin version is 2.7, the latest is 2.10, so I am updating it. However the release notes don't mention anything about abort trigger added in 2.8, .9, .10 so will let you know if there is still an issue. Thanks John Original Message From: Slide slide.o@gmail.com Sent: Tue, Aug 7, 2012 13:21 To: jenkinsci-users@googlegroups.com CC: Subject: Re: email notification on abort Try the Aborted trigger, this is what it is for. slide On Tue, Aug 7, 2012 at 1:20 PM, J Arrizza cppge...@gmail.com wrote: Hi, Is there a way to get an email notification when a job aborts? I use the email-ext plugin for notifications. There are two scenarios: - a user clicks the cancel job (red x) - the Hudson Build Timeout plugin (abort the build if it's stuck) aborts the build because of time-out Thanks in advance for your help, John -- Website: http://earl-of-code.com -- Website: http://earl-of-code.com
Re: Android Lint and maven builds
On 07/12/2012 08:15 AM, Patrik Åkerfeldt wrote: For some reason the android-lint report is never created for my android maven builds. In the pre steps I generate the lint-results.xml file, and I have verified that it exists and contains right information. Then, the build step defines the pom and the maven target (which currently is clean cobertura:cobertura deploy but I've tried other goals like just clean compile). Then in post step I choose to publish the lint result, specifying the lint-results.xml file. The build is successful but there is no references to lint reports in the console. Yeah, you're right. I added the Maven job type to the plugin, but it won't work unless you execute some Maven goal like android-lint or check -- but since I guess these don't really exist for Android, it can't be done? I don't really know anything about Maven, so I'm going to remove this from the plugin, unless somebody can tell me which goal(s) should trigger the plugin. Regards, Chris
Re: Open github ticket on failure?
I actually wrote a python script that pings Jenkins and github. Is there a contrib directory that'd be useful for? Andrew Melo Sent from my secret fortress. On Aug 7, 2012, at 18:58, Christopher Orr ch...@orr.me.uk wrote: On 06/05/2012 05:56 PM, Andrew Melo wrote: Is there a way to have jenkins open a github ticket if a commit fails? Or would I need to have a custom post-build step for that? You'd have to write your own script to do that, but you could trigger it with the Post build task plugin: https://wiki.jenkins-ci.org/display/JENKINS/Post+build+task Regards, Chris
Re: Selenium crashes Chrome when running from Jenkins
I installed it using the Mac OS X native package link from the http://jenkins-ci.org/ homepage. On Tuesday, August 7, 2012 2:01:02 PM UTC-7, sti wrote: And how did you install Jenkins? -- Sami Liron Yahdav li...@handl.it javascript: kirjoitti 6.8.2012 kello 20.31: TLDR: Running ruby scripts from Jenkins on OS X that use the selenium-webdriver gem with chromedriver causes the Aw snap page to come up in Chrome. Running those same scripts from outside of Jenkins works fine. Any ideas as to what's wrong? -- Long version: We have a CI machine that's a MacBook Pro running OS X Mountain Lion with Jenkins installed. The Jenkins server runs as a user who can login to the system. We configured Jasmine to use Chrome for the `rake jasmine:ci` command by setting ENV['JASMINE_BROWSER'] = 'chrome'. This all works fine when running `rake jasmine:ci` from the command line on that machine, but when Jenkins is configured to run the same exact command, Chrome will start up and when it tries to hit the url to run the tests, the tab crashes with the Aw Snap error page. I looked at the chromedriver.log file that's generated and there are no errors, it basically just stops all of a sudden. The Jenkins build eventually gets a Selenium timeout error. I've tried setting up the same config on a MacBook Air running OS X Lion and the same problem occurs. We also have integration tests written with RSpec and Capybara and when we configure it to use Selenium with chromedriver, the same problem occurs when running through Jenkins, though the Aw Snap page comes up a few steps into the first test. Has anyone gotten a similar setup working or have any idea what the issue could be? Thanks!
Re: Open github ticket on failure?
There doesn't seem to be one at https://github.com/jenkinsci/jenkins -- but you could always send a pull request to add one... Chris On 08/08/2012 01:06 AM, Andrew Melo wrote: I actually wrote a python script that pings Jenkins and github. Is there a contrib directory that'd be useful for? Andrew Melo Sent from my secret fortress. On Aug 7, 2012, at 18:58, Christopher Orrch...@orr.me.uk wrote: On 06/05/2012 05:56 PM, Andrew Melo wrote: Is there a way to have jenkins open a github ticket if a commit fails? Or would I need to have a custom post-build step for that? You'd have to write your own script to do that, but you could trigger it with the Post build task plugin: https://wiki.jenkins-ci.org/display/JENKINS/Post+build+task Regards, Chris
Delete button on build steps not working
I have a new an installation of Jenkins 1.476 that started life a few days ago at 1.475. The host machine is Windows Server 2008, Jenkins is installed as a service. I am unable to delete build steps in my projects. I have tried in Chrome and IE, and from a browsers running in both the master and on another PC. Watching the Javascript console, I see no errors in the browser logs. There are no errors I can find in the Jenkins logs, but I might be looking in the wrong place(s). In Chrome, if I watch the network activity I can not see any network requests being generated by pressing the delete button. At this stage the only way I can remove a build step is to edit the projects xml file manually and then reload the jenkins config files. Any suggestions on where to go from here? Kind regards, Stuart.
Re: Delete button on build steps not working
Well spotted, I didn't notice that. No, the delete button does not have the same styling as the rest of the Jenkins UI buttons on the page. http://imageshack.us/photo/my-images/502/capturetpm.png On Wed, Aug 8, 2012 at 1:58 PM, Alex Earl slide.o@gmail.com wrote: Does the button get the normal look and feel of the Jenkins UI? Sent from my Windows Phone -- From: Stuart Whelan Sent: 8/7/2012 6:47 PM To: jenkinsci-users@googlegroups.com Subject: Delete button on build steps not working I have a new an installation of Jenkins 1.476 that started life a few days ago at 1.475. The host machine is Windows Server 2008, Jenkins is installed as a service. I am unable to delete build steps in my projects. I have tried in Chrome and IE, and from a browsers running in both the master and on another PC. Watching the Javascript console, I see no errors in the browser logs. There are no errors I can find in the Jenkins logs, but I might be looking in the wrong place(s). In Chrome, if I watch the network activity I can not see any network requests being generated by pressing the delete button. At this stage the only way I can remove a build step is to edit the projects xml file manually and then reload the jenkins config files. Any suggestions on where to go from here? Kind regards, Stuart.
RE: Delete button on build steps not working
I've seen this before, there was some error earlier in the page and the behavior was not hooked to the button correctly. I'll try and dig up what happened then and see if that helps. Sent from my Windows Phone -- From: Stuart Whelan Sent: 8/7/2012 7:08 PM To: jenkinsci-users@googlegroups.com Subject: Re: Delete button on build steps not working Well spotted, I didn't notice that. No, the delete button does not have the same styling as the rest of the Jenkins UI buttons on the page. http://imageshack.us/photo/my-images/502/capturetpm.png On Wed, Aug 8, 2012 at 1:58 PM, Alex Earl slide.o@gmail.com wrote: Does the button get the normal look and feel of the Jenkins UI? Sent from my Windows Phone -- From: Stuart Whelan Sent: 8/7/2012 6:47 PM To: jenkinsci-users@googlegroups.com Subject: Delete button on build steps not working I have a new an installation of Jenkins 1.476 that started life a few days ago at 1.475. The host machine is Windows Server 2008, Jenkins is installed as a service. I am unable to delete build steps in my projects. I have tried in Chrome and IE, and from a browsers running in both the master and on another PC. Watching the Javascript console, I see no errors in the browser logs. There are no errors I can find in the Jenkins logs, but I might be looking in the wrong place(s). In Chrome, if I watch the network activity I can not see any network requests being generated by pressing the delete button. At this stage the only way I can remove a build step is to edit the projects xml file manually and then reload the jenkins config files. Any suggestions on where to go from here? Kind regards, Stuart.
RE: Delete button on build steps not working
What happens if you try a build step that is not an msbuild build step? Try a windows batch build step, does it also have the sane issue? Can you inspect the element of the button in chrome and see if there is anything out of the ordinary? Sent from my Windows Phone -- From: Stuart Whelan Sent: 8/7/2012 7:08 PM To: jenkinsci-users@googlegroups.com Subject: Re: Delete button on build steps not working Well spotted, I didn't notice that. No, the delete button does not have the same styling as the rest of the Jenkins UI buttons on the page. http://imageshack.us/photo/my-images/502/capturetpm.png On Wed, Aug 8, 2012 at 1:58 PM, Alex Earl slide.o@gmail.com wrote: Does the button get the normal look and feel of the Jenkins UI? Sent from my Windows Phone -- From: Stuart Whelan Sent: 8/7/2012 6:47 PM To: jenkinsci-users@googlegroups.com Subject: Delete button on build steps not working I have a new an installation of Jenkins 1.476 that started life a few days ago at 1.475. The host machine is Windows Server 2008, Jenkins is installed as a service. I am unable to delete build steps in my projects. I have tried in Chrome and IE, and from a browsers running in both the master and on another PC. Watching the Javascript console, I see no errors in the browser logs. There are no errors I can find in the Jenkins logs, but I might be looking in the wrong place(s). In Chrome, if I watch the network activity I can not see any network requests being generated by pressing the delete button. At this stage the only way I can remove a build step is to edit the projects xml file manually and then reload the jenkins config files. Any suggestions on where to go from here? Kind regards, Stuart.
Re: Delete button on build steps not working
It happens on all build step types. The elements for the button are: input name=stapler-class value=hudson.tasks.BatchFile type=hidden input value=Delete class=repeatable-delete type=button This is different to the other buttons I can see on the page, which have ids and indexes: button type=button tabindex=0 id=yui-gen21-buttonSave/button Thanks for your help! On Wed, Aug 8, 2012 at 3:03 PM, Alex Earl slide.o@gmail.com wrote: What happens if you try a build step that is not an msbuild build step? Try a windows batch build step, does it also have the sane issue? Can you inspect the element of the button in chrome and see if there is anything out of the ordinary? Sent from my Windows Phone From: Stuart Whelan Sent: 8/7/2012 7:08 PM To: jenkinsci-users@googlegroups.com Subject: Re: Delete button on build steps not working Well spotted, I didn't notice that. No, the delete button does not have the same styling as the rest of the Jenkins UI buttons on the page. http://imageshack.us/photo/my-images/502/capturetpm.png On Wed, Aug 8, 2012 at 1:58 PM, Alex Earl slide.o@gmail.com wrote: Does the button get the normal look and feel of the Jenkins UI? Sent from my Windows Phone From: Stuart Whelan Sent: 8/7/2012 6:47 PM To: jenkinsci-users@googlegroups.com Subject: Delete button on build steps not working I have a new an installation of Jenkins 1.476 that started life a few days ago at 1.475. The host machine is Windows Server 2008, Jenkins is installed as a service. I am unable to delete build steps in my projects. I have tried in Chrome and IE, and from a browsers running in both the master and on another PC. Watching the Javascript console, I see no errors in the browser logs. There are no errors I can find in the Jenkins logs, but I might be looking in the wrong place(s). In Chrome, if I watch the network activity I can not see any network requests being generated by pressing the delete button. At this stage the only way I can remove a build step is to edit the projects xml file manually and then reload the jenkins config files. Any suggestions on where to go from here? Kind regards, Stuart.
Re: Delete button on build steps not working
Well, sadly, I can't find the thread that I was thinking existed in the archives. I thought I ran into this issue at some point and posted to the mailing list, but I can't find that information. I'll continue digging. On Tue, Aug 7, 2012 at 8:13 PM, Stuart Whelan stu...@somepointinthefuture.co.nz wrote: It happens on all build step types. The elements for the button are: input name=stapler-class value=hudson.tasks.BatchFile type=hidden input value=Delete class=repeatable-delete type=button This is different to the other buttons I can see on the page, which have ids and indexes: button type=button tabindex=0 id=yui-gen21-buttonSave/button Thanks for your help! On Wed, Aug 8, 2012 at 3:03 PM, Alex Earl slide.o@gmail.com wrote: What happens if you try a build step that is not an msbuild build step? Try a windows batch build step, does it also have the sane issue? Can you inspect the element of the button in chrome and see if there is anything out of the ordinary? Sent from my Windows Phone From: Stuart Whelan Sent: 8/7/2012 7:08 PM To: jenkinsci-users@googlegroups.com Subject: Re: Delete button on build steps not working Well spotted, I didn't notice that. No, the delete button does not have the same styling as the rest of the Jenkins UI buttons on the page. http://imageshack.us/photo/my-images/502/capturetpm.png On Wed, Aug 8, 2012 at 1:58 PM, Alex Earl slide.o@gmail.com wrote: Does the button get the normal look and feel of the Jenkins UI? Sent from my Windows Phone From: Stuart Whelan Sent: 8/7/2012 6:47 PM To: jenkinsci-users@googlegroups.com Subject: Delete button on build steps not working I have a new an installation of Jenkins 1.476 that started life a few days ago at 1.475. The host machine is Windows Server 2008, Jenkins is installed as a service. I am unable to delete build steps in my projects. I have tried in Chrome and IE, and from a browsers running in both the master and on another PC. Watching the Javascript console, I see no errors in the browser logs. There are no errors I can find in the Jenkins logs, but I might be looking in the wrong place(s). In Chrome, if I watch the network activity I can not see any network requests being generated by pressing the delete button. At this stage the only way I can remove a build step is to edit the projects xml file manually and then reload the jenkins config files. Any suggestions on where to go from here? Kind regards, Stuart. -- Website: http://earl-of-code.com