Commit Graph
166 Commits
Author SHA1 Message Date
Kohsuke Kawaguchi ff91381bc5 Added PlexusModuleContributor extension point.
This came up with a conversation with JFrog folks who neede to insert a
custom Plexus component to tweak the behaviour.

This scheme allows the caller to insert additional jar files into the
Maven process.
2013-06-07 10:58:11 +03:00
Jesse Glick 153c9a65ca Merge pull request #759 from redlab/JENKINS-17508
[FIXED JENKINS-17508] Artifacts not being deleted by LogRotator
2013-05-02 05:49:38 -07:00
Jesse Glick 0c4fe2ddba [FIXED JENKINS-17775] Find (model) parent POMs properly during fingerprint recording at end of build. 2013-04-30 12:07:30 -04:00
redlab d4459d9d0f As this is my first look inside Jenkins codebase I not sure it's correct
but perhaps artifacts for modulebuilds should be deleted just as logs
are deleted. see https://issues.jenkins-ci.org/browse/JENKINS-17508
I did not fully test it yet, all unit tests ran fine, but didn't succeed
to run jobs inside Jenkins, due to classloader issues while running
Jenkins in Jetty, to verify deletion
2013-04-15 20:59:06 +02: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
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
Kohsuke Kawaguchi 87e21359fc adde a logging to find out why we aren't doing incremental build 2012-12-06 12:18:25 -08:00
imod edd6841644 minor changes from pull feedback 2012-11-05 18:34:02 +01:00
imod c206626f00 cleanup 2012-11-04 16:03:39 +01:00
imod e1f5612b19 rename package 2012-11-03 10:30:31 +01:00
imod 29f1d02e22 use new EP for MavenBuild 2012-11-01 15:46:15 +01:00
imod 215d2a4187 rename method of new EP to by more precise 2012-11-01 15:46:14 +01:00
imod 5eabce8db7 use path returned by SettingsProvider 2012-11-01 15:44:12 +01:00
imod d98b2d0fe2 note about TODO for next refactoring 2012-11-01 15:37:36 +01:00
imod cdae926106 add GlobalSettingsProvider as new EP 2012-11-01 15:37:35 +01:00
imod f3463f4a75 move Maven SettingsProvider to core 2012-11-01 15:37:35 +01:00
Nicolas De Loof f85dc1e496 convert alternateSettings attribute to extension
selection, with backward compatibility
2012-11-01 15:37:34 +01:00
Kohsuke Kawaguchi 14dbcd88d3 Renamed Runner family into *Execution.
... so that we can expose them as an object that keeps track of
execution-scoped objects.
2012-05-29 10:54:58 -07:00
IanKemp 4e8775fc2c Fixes JENKINS-13822: expand variables in "Root POM" field of Maven plugin 2012-05-22 13:15:28 +02:00
Vincent Latombe 1421ca15d5 [FIXED JENKINS-8663] Flag -U is not used during the parsing step of a
Maven Job

If the -U flag is specified in the goals/options of the build step of a
Maven job, it should be used as well in the parsing step.
2012-04-14 21:40:45 +02:00
Kohsuke Kawaguchi 22e8e1f285 Added ToolInstallation.buildEnvVars()
This provides generic consumer of ToolInstallation to expose
ToolInstallation to the build.
2012-04-03 14:12:34 -07:00
imod fff55f85ea refactor interaction with config-file-provider plugin to make dependency optional 2012-03-26 08:25:35 +02:00
Kohsuke Kawaguchi 5c0b36da02 made the location of Maven local repositories pluggable 2012-01-03 20:44:16 -08:00
Christoph Kutzinski 2d958cdede reduced memory footprint of MavenModuleSetBuild 2011-12-30 19:13:52 +01:00
Christoph Kutzinski bc24201485 Removed unnecessary code duplication in the Maven builders 2011-12-22 22:05:19 +01:00
Christoph Kutzinski 41278a7a30 some minor optimization 2011-12-22 22:05:19 +01:00
Jyrki Puttonen 142a7bb9a4 [FIXED JENKINS-11825] Use workspace from AbstractBuild 2011-11-25 08:51:19 +02:00
imod 8656049fb9 fix compile problem 2011-11-23 17:16:36 +01:00
imod c167f52c9f additionaly pass reference to current build to intercepting methods 2011-11-23 16:16:53 +01:00
imod 79e7b21c85 don't call getGoalsAndOptions() twice 2011-11-23 16:16:53 +01:00
imod 025cfd311a iterate all interceptors to get the first returning valid goals 2011-11-23 16:16:53 +01:00
imod 74d2d4373c add extension to intercept maven arguments 2011-11-23 16:16:53 +01:00
Christoph Kutzinski 0943a3aafa Use utility methods for Maven version comparisons 2011-11-18 14:51:23 +01:00
Christoph Kutzinski e2d7b39921 [FIXED JENKINS-11592] NPE in subversion polling of Maven jobs 2011-11-15 10:57:15 +01:00
Christoph Kutzinski 4f900f60d4 [JENKINS-11592] trying to find out where the NPE is originated 2011-11-08 23:16:34 +01:00
imod f05f62c6cb fix issue when reference to global settings.xml gets unconfigured 2011-10-25 14:16:32 +02:00
imod b836857da3 upgrade to newer version of config-provider-model 2011-10-25 14:14:43 +02:00
Christoph Kutzinski 787123cf2d fixed compiler warnings 2011-10-08 21:59:10 +02:00
Christoph Kutzinski 2b5c3a1bf0 added serialVersionUIDs 2011-10-08 17:30:22 +02:00
Christoph Kutzinski e14914e66a - moved MavenModuleSet.Builder to new top-level class Maven2Builder
- removed duplicated FilterImpl classes
2011-10-03 21:03:25 +02:00
olivier lamy ef49c65af1 [JENKINS-10955] "Alternate settings file" build parameter is getting cleaned after job execution 2011-09-29 00:29:21 +02:00
Kohsuke Kawaguchi 1f7c75d7e5 Using String like enum isn't type safe. 2011-09-23 23:25:13 -07:00
Kohsuke Kawaguchi ac6a020055 BuildStep.prebuild is to run at the beginning of the build. 2011-09-23 23:25:12 -07:00
Kohsuke Kawaguchi 29c7b8b0ad merging 3 of them to make them more concise 2011-09-23 23:25:12 -07:00
Kohsuke Kawaguchi 65d25aafe2 BuildStep.prebuild needs to be called for post builders as well 2011-09-23 23:25:12 -07:00
Kohsuke Kawaguchi 0841fd6421 - In modern code we've been exposing DescribableList directly since it's a lot richer.
- calling prebuild after build wrappers to align the semantics with freestyle projects.
2011-09-23 23:25:12 -07:00
imod cd968ce2d8 integrate m2extra-steps into maven-plugin 2011-09-07 22:11:50 +02:00
Christoph Kutzinski b9ce1520cd make FindBugs happy 2011-08-27 21:57:37 +02:00
imod 68117973f5 fix some wrong error messages about wrong configured config files 2011-08-22 19:47:34 +02:00
Christoph Kutzinski e7f17b5db2 fixed NPE 2011-08-13 20:47:45 +02:00