Commit Graph
78 Commits
Author SHA1 Message Date
Kohsuke Kawaguchi f53bb92f94 call sequence of this is different from that of Maven2, and this breaks MavenArtifactArchiver.
By the time MavenModuleSetBuild.notifyModuleBuild() is called, we need the processing on one module to be completed.
2011-07-02 15:33:50 -07:00
James Nord b0b06b515b [FIXED JENKINS-8092]
Set M2_Home for maven builds and add maven to the path so if the build
needs to run maven from maven (or maven from ant from maven) it can.
2011-02-20 19:06:44 +00:00
Olivier Lamy a19afb186b [FIXED JENKINS-7684] NullPointerException when an incremental build is triggered 2011-02-22 23:13:11 +01:00
Olivier Lamy be09ca67a6 [FIXED JENKINS-8525] NPE during in parsing POMs for Multi Module Build 2011-02-21 22:11:09 +01:00
Mikko Peltonen 9c965617b3 Set 'Aborted' result before invoking BuildWrapper's tearDown. Fixes JENKINS-7864 and JENKINS-8054. 2011-02-07 14:46:15 +02:00
Kohsuke Kawaguchi bfc41671fb renamed 2011-01-31 10:06:11 -08:00
Kohsuke Kawaguchi 3a1447ea9a Updating the URL. 2011-01-30 23:44:52 -08:00
Olivier Lamy 32902b2c07 [HUDSON-8484] nonRecursive option is not honored anymore when parsing pom 2011-01-12 22:22:59 +01:00
Olivier Lamy c17d9821b7 remove unused import 2011-01-12 21:32:42 +01:00
Olivier Lamy 1a9f3c6778 [HUDSON-8452] really ensure we use the scm checkout path 2011-01-10 23:40:00 +01:00
Olivier Lamy 8d44980b10 [HUDSON-8452] Bad Path for submodules 2011-01-10 23:21:04 +01:00
Olivier Lamy 677f96118c Merge branch 'master' of github.com:hudson/hudson 2011-01-10 21:22:14 +01:00
Olivier Lamy 89d0d84a2e [HUDSON-8418] ensure MavenReporter are executed in the same node as the build has been done 2011-01-10 21:21:14 +01:00
Olivier Lamy be7b3adb4a [HUDSON-8406] Add more options to configure maven project building 2011-01-10 18:30:22 +01:00
Olivier Lamy b02f9cc603 [HUDSON-8406] Add more options to configure maven project building
processPlugins and resolveDependencies are now configurable
2011-01-10 17:32:11 +01:00
Olivier Lamy b97ad46213 really fix use of env var in pols tru ${env.xxxx} 2011-01-08 22:25:08 +01:00
Olivier Lamy d55a859deb [HUDSON-8452] Bad path for submodules 2011-01-08 16:51:23 +01:00
Olivier Lamy f2191d6162 [HUDSON-8445] Parsing poms fails if a module is a path to a pom (and not to a directory) 2011-01-07 21:57:38 +01:00
Olivier Lamy b84efb908f [HUDSON-8390] POMs parsing fails in m2 projects which has a wrong inheritence (m3 constraint)
add a workaround ONLY for maven2 builds
2011-01-05 16:53:38 +01:00
Olivier Lamy ccf006adb5 remove unused code 2011-01-03 17:56:45 +01:00
Olivier Lamy 0049d2408b update changelog for HUDSON-8395 and fix junit 2011-01-03 17:40:09 +01:00
Olivier Lamy 312f24305a [HUDSON-8395] M2 POMs aren't parsed if there is a M3 control error like an invalid scope in a plugin dep.
use different validation level depending on maven version used.
2011-01-03 16:21:16 +01:00
Arnaud Héritier 555a44f17c HUDSON-8391 : Modules have to be indexed by POM path and not by basedir to be compatible with Maven 2011-01-03 01:57:28 +01:00
Olivier Lamy 47006074aa fix possible NPE 2011-01-03 01:16:18 +01:00
Olivier Lamy c59edc45e5 fix classLoader for pom parsing
add hudson labs snapshot repo for embedder
2011-01-02 22:59:58 +01:00
Olivier Lamy bbb8790391 MavenEmbedderRequest must be able to pass a ClassLoader for building embedder 2011-01-02 22:33:17 +01:00
Olivier Lamy cdaaa96944 remove unused variable 2011-01-01 14:42:04 +01:00
Kohsuke Kawaguchi 4742d022a7 Moved the maven version information to MavenModuleSetBuild. 2010-12-31 21:00:28 -08:00
Olivier Lamy 9e2adce734 various MavenReporter will know maven version used during the build. 2010-12-29 22:35:48 +01:00
Seiji Sogabe df9db0af0e Removed unused import. 2010-12-29 21:33:59 +09:00
Seiji Sogabe c85e60f14e Sorry my mistake. 2010-12-24 22:19:10 +09:00
Jesse Farinacci 494ac3021d fix location of mailing lists reported when stack traces are shown in job log 2010-11-25 06:55:44 -05:00
abayer 87741425bc [HUDSON-7684] Attempting to fix - I think this works, but it needs more testing in other environments
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@36799 71c3de6d-444a-0410-be80-ed276b4c234a
2010-11-09 20:37:57 +00:00
wolfs 1d6ef2063e HUDSON-6274: Maven build and Matrix build should trigger dependencies via DependencyGraph
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@36669 71c3de6d-444a-0410-be80-ed276b4c234a
2010-11-05 09:22:23 +00:00
kutzi 41e511e187 fixed PMD and some Checkstyle warnings
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@36168 71c3de6d-444a-0410-be80-ed276b4c234a
2010-10-23 16:35:29 +00:00
kutzi b9b433b1f2 [FIXED HUDSON-6544] calculate estimated remaining time for incremental Maven builds based on the modules which are actually being build
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@36164 71c3de6d-444a-0410-be80-ed276b4c234a
2010-10-23 14:47:22 +00:00
abayer c8e932f2d8 [FIXED HUDSON-7611] Make sure the changelog paths we're comparing against are using Unix slashes, same as the module paths
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35382 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-29 21:25:32 +00:00
abayer 119d8aa286 [FIXED HUDSON-5357] Properly handle relative paths in modules when determining changesets in Maven projects
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34983 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-18 22:10:36 +00:00
abayer 9f53cf3dbe [FIXED HUDSON-6033] BuildWrapper teardowns couldn't get result of Maven2 project builds
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34980 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-18 20:47:20 +00:00
abayer 15f6a6f901 [HUDSON-4693] Systematized Maven alternate settings logic - consistent in both POM parsing and actual Maven command line.
Current behavior as of this change:
- If project.getAlternateSettings() is absolute, just use the absolute path - this may not actually work through the configuration UI, but I put it in to be safe.
- else, if project.getAlternateSettings() exists in getWorkspace(), use that
- else, if project.getAlternateSettings() exists in getModuleRoot(), use that
- else null - don't use an alternate settings location



git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34950 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-17 15:37:07 +00:00
kohsuke e019884f45 this handling adds no value compared to Run.run(Runner)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34824 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-15 17:55:35 +00:00
abayer c2314a9087 [HUDSON-5925] Moved nulling out of buildEnvironments to cleanUp, so that node variables are available to Publishers.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34814 71c3de6d-444a-0410-be80-ed276b4c234a
2010-09-15 16:14:18 +00:00
kutzi 0e004fa054 need to call start() on MavenBuildProxy2 before end() - otherwise build duration is set to 40 years!
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34055 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-23 20:44:39 +00:00
km b228c24db5 [FIXED-HUDSON-7162]
Hudson ignores Maven pom.xml path when it is specified as absolute path.
Provided utility methods for checking whether a path is absolute and
absolutizing a given path (w.r.t. a base).
Provided a unit test case for this scenario (@Bug 7261).



git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34004 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-21 02:13:15 +00:00
kutzi f63c8801e2 not build modules in incremental Maven builds are now recognized early
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@33985 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-19 20:38:05 +00:00
mindless 09ffe933d1 [FIXED HUDSON-6779] When a MavenModuleSetBuild is deleted, delete its contained
module builds too.. this avoids orphaned module builds that then get looked at
in determining the overall result for the prior ModuleSetBuild.. possibly
mysteriously changing the displayed result for that prior build, with no visual
indication as to why (this part just fixed in r32410.. build page will now list
all module builds, so you can see/delete the orphaned module build).


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@32411 71c3de6d-444a-0410-be80-ed276b4c234a
2010-07-01 02:05:00 +00:00
kohsuke 7e183a983b [FIXED HUDSON-6311] reverted the problematic change and instead introduced the ideal signature in a new name.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30287 71c3de6d-444a-0410-be80-ed276b4c234a
2010-04-21 05:29:10 +00:00
kohsuke 7573c9bed4 return value from Recorder.perform shouldn't be ignored. See http://n4.nabble.com/how-can-a-Recorder-mark-build-as-failure-tp1746654p1746654.html
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@29836 71c3de6d-444a-0410-be80-ed276b4c234a
2010-04-06 23:55:17 +00:00
vlatombe 67cc6af159 [FIXED HUDSON-5428] In Maven2 jobs, parsing POM is done *before* calling pre-build steps (using M2-extra-steps-plugin)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@29609 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-30 19:20:14 +00:00
abayer f43ecdd93e [HUDSON-6080] Reconciled inconsistency between module root vs workspace usage for base in resolving alternate settings path in POM parsing vs actual Maven run
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@29304 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-26 18:49:18 +00:00