Commit Graph
524 Commits
Author SHA1 Message Date
Jesse Glick 3bbb65df3a [SECURITY-63] Require POST for running Groovy scripts. 2013-04-24 18:02:49 -04:00
Jesse Glick 56c6aa3227 [FIXED JENKINS-17331] PerJobLocalRepositoryLocator should prefer the MavenModuleSetBuild.workspace for single-module builds. 2013-03-22 17:28:24 -04:00
Jesse Glick f77cd8a891 'mvn -Dtest=hudson.maven.MavenProjectTest#testDeleteSetBuildDeletesModuleBuilds test' fails on empty local repo.
~/.m2/repository/org/jvnet/hudson/main/test/multimod/moduleA/1.0-SNAPSHOT/moduleA-1.0-SNAPSHOT.jar was missing; need install goal.
Better to set a local repo so we do not pollute the real repo, and to avoid interaction between tests.
2013-03-20 08:19:25 -04:00
imod 320eea930e [FIXED JENKINS-17177] wrong build result in post build steps after failed pre build step in maven project 2013-03-16 10:53:45 +01:00
Christoph Kutzinski 088c08485f [FIXED JENKINS-16928] Don't create mojo config key if it didn't exist.
Fixes: Maven2 builds with non-standard test mojos failed.
2013-02-23 11:51:20 +01:00
Jesse Glick 09c7cf6ad7 [JENKINS-15156] Found a problem with uninitialized run maps in new Maven modules.
Not observed in actual usage, but reproducible (for me at least, though apparently not ci.jenkins-ci.org) in a test:
java.lang.AssertionError: null
    at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:628)
    at jenkins.model.lazy.AbstractLazyLoadRunMap.all(AbstractLazyLoadRunMap.java:581)
    at jenkins.model.lazy.AbstractLazyLoadRunMap.entrySet(AbstractLazyLoadRunMap.java:243)
    at java.util.AbstractMap$2$1.<init>(AbstractMap.java:378)
    at java.util.AbstractMap$2.iterator(AbstractMap.java:377)
    at hudson.util.RunList.iterator(RunList.java:103)
    at hudson.util.RunList.size(RunList.java:114)
    at hudson.maven.MavenProjectTest.testDeleteSetBuildDeletesModuleBuilds(MavenProjectTest.java:159)
2013-02-21 15:19:19 -05:00
Christoph Kutzinski cff691e05a [FIXED JENKINS-16843] Maven 3 builds ignored quiet (-q) and debug (-X) flags 2013-02-16 20:28:02 +01:00
Richard Mortimer 9813666961 [FIXED JENKINS-16776] surefire-reports not detected for android-maven-plugin 2013-02-12 15:48:00 +00:00
Christoph Kutzinski 954a368c56 SurefireArchiver didn't recognize failsafe:integration-test goal [JENKINS-16696] 2013-02-11 23:28:33 +01:00
Christoph Kutzinski 6cc360d80f Guard against possible NPEs when getting mojo configuration values 2013-01-31 21:16:07 +01:00
Christoph Kutzinski bdd8580882 Regression test and changelog for [JENKINS-16573] 2013-01-31 21:05:55 +01:00
Vladimir Kravets c846f7cf40 JENKINS-16573 Getting testing result from non default junit mojo failed build. 2013-01-31 17:58:53 +02:00
Christoph Kutzinski c6968d96f3 removed verbose debug logging in the build console 2013-01-28 19:03:24 +01:00
Christoph Kutzinski 6b1cc47024 Changelog and cleanup for [JENKINS-8334] 2013-01-19 22:39:33 +01:00
Christoph Kutzinski b68b84eaa0 Refactored detection of test mojos to simplify SurefireArchiver class [JENKINS-8334] 2013-01-06 18:27:23 +01:00
Christoph Kutzinski 749e08aa45 Use old method to find report files for a mojo. New method still needs some more testing. 2013-01-06 14:58:00 +01:00
Christoph Kutzinski b081ffdd62 Record start time of mojo execution in MojoInfo and use that information
to determine which test result files belong to the mojo execution
2013-01-05 16:15:30 +01:00
Christoph Kutzinski 2c0b577aab [FIXED JENKINS-8334] use heuristics to detect test-mojos instead of relying on hard-coded plugin names 2013-01-04 21:25:42 +01:00
Christoph Kutzinski 900341f491 Add regression test for SurefireArchiver test mojo detection [JENKINS-8334] 2013-01-04 20:53:28 +01:00
Christoph Kutzinski 227413bea8 getClassRealm was needlessly invoked twice via reflection 2013-01-03 22:32:42 +01:00
Christoph Kutzinski d43b978f92 Added comment about the mostly misleading class name 2012-12-28 10:57:43 +01:00
Christoph Kutzinski 5e37495be2 That was a strange and inefficient way to get the current time millis 2012-12-28 10:54:35 +01:00
imod 711c3b0559 add fix to changelog and add @since 2012-12-21 19:24:29 +01:00
imod 6536c0d62f use the unconditional set instead of compareAndSet 2012-12-21 19:12:23 +01:00
imod 193173f559 [FIXED JENKINS-14102] fix also for maven2 and add test cases 2012-12-21 18:49:03 +01:00
imod 5f4f68be00 [FIXED JENKINS-14102] mark maven build with test failures as unstable 2012-12-21 17:51:06 +01:00
Kohsuke Kawaguchi 92b5b38fbe follow up changes for splitting off Mailer into a separate plugin 2012-12-09 19:25:27 -08:00
Kohsuke Kawaguchi 87e21359fc adde a logging to find out why we aren't doing incremental build 2012-12-06 12:18:25 -08:00
Kohsuke Kawaguchi b89b4ddedf if there's only one installation, better to resolve to that one.
After all, that's the installation the user is most likely going to choose, and if there's only one installation.

Plus when there's only one installation, there's no drop-down to select the Maven installation in the config UI, so the user is asked to do a rather unnatural "open config page" > "just click save" workflow.
2012-12-06 09:01:47 -08:00
Vojtech Juranek eeb04b1f4e Allow gc to remove test results from memory in more proper way 2012-12-05 14:19:14 +01:00
Vojtech Juranek b0a39275cc Revert 4440e0f420
It breaks some already fixed issues like JENKINS-1557
2012-12-05 14:18:34 +01:00
Vojtech Juranek 4440e0f420 Allow gc to remove test results from memory as these can consume a lot of memory 2012-12-04 18:19:58 +01:00
Vincent Latombe c222acecaf [JENKINS-1295] Disable trigger downstream for maven jobs 2012-12-02 18:14:10 +01:00
Vincent Latombe 7fb1ad44d5 [JENKINS-15865] Jenkins build fails with fatal error for Maven 2 build
of project with maven-failsafe-plugin

Do not inject testFailureIgnore to
maven-failsafe-plugin:integration-test because it doesn't exist and
causes an NPE with Maven2.
Only insert it for maven-failsafe-plugin:verify.
2012-11-20 14:53:20 +01:00
Kohsuke Kawaguchi bdad2a3d48 another test regression fix 2012-11-13 14:03:17 -08:00
Olivier Lamy 2c469b37b5 Merge pull request #609 from alexkoon/master
[JENKINS-15367] Fix Maven downstream resolution when declared as a specific version.
2012-11-13 10:15:16 -08:00
Jesse Glick 32748591dc [JENKINS-13822] olamy’s 9a3f25a & 25b6943 claimed this fix was in 1.466; actually in 1.467. 2012-11-12 09:47:35 -05:00
Nicolas De loof 4e8dcbe6d7 Merge pull request #606 from ndeloof/maven-settings2
inverse maven-plugin -> config-file-provider dependency
2012-11-08 23:52:54 -08:00
Vincent Latombe 30927247d4 Refactor handling of test mojos
maven-failsafe-plugin deserves the same level of integration
as maven-surefire-plugin.

A failed IT should mark the build as unstable, not failed.
2012-11-06 16:34:02 +01:00
imod 51619cc80a change @since to 1.491 2012-11-05 18:38:20 +01:00
imod edd6841644 minor changes from pull feedback 2012-11-05 18:34:02 +01:00
imod 2d9d839ed9 use LOGGER 2012-11-05 18:19:43 +01:00
imod c206626f00 cleanup 2012-11-04 16:03:39 +01:00
imod 32bb46bf33 add @since 1.490 2012-11-04 14:41:44 +01:00
imod e1f5612b19 rename package 2012-11-03 10:30:31 +01:00
imod 44f0065929 ease usage of PluginUpdateMonitor 2012-11-03 10:28:11 +01:00
alexkoon 4043905580 JENKINS-15367 Fix for downstream dependencies when we have a specified version (not a version range). 2012-11-02 18:50:03 +00:00
imod 9fc2719267 use correct class loader to load class from config-file-provider plugin 2012-11-01 15:46:15 +01:00
imod 260a954d77 prevent NPE 2012-11-01 15:46:15 +01:00
imod 29f1d02e22 use new EP for MavenBuild 2012-11-01 15:46:15 +01:00