Olivier Lamy
f202054c67
move maven agents and interceptors to an external repo.
...
as they don't change a lot build will be faster !
2011-03-15 22:51:21 +01:00
Olivier Lamy
18eb94865e
remove unused import
2011-03-14 19:27:27 +01:00
Olivier Lamy
382abb96a5
Merge branch 'master' of https://github.com/magnayn/jenkins
2011-03-11 11:49:46 +01:00
Olivier Lamy
cc0113dafd
[JENKINS-8436] Successful build ends with NPE
...
Submitted by Marco Rothe
2011-03-10 22:26:52 +01:00
Nigel Magnay
ef3fd82462
Allow maven builds to (opionally) make use of the token-macro-plugin.
...
It is useful to be able to pass parameters in the form of
-Doption=${THING}
to the maven builds.
The new token-macro-plugin stuff from KK is ideal for this.
To get the actual parameters through to the launch commandline requires
some adjustments to the Launcher API, because it is not aware of the
build itself, which is neccessary to do the options expansion. So instead
pass these through to the launcher itself.
If the token-macro-plugin is not installed, the behaviour remains as before.
Signed-off-by: Nigel Magnay <nigel.magnay@gmail.com >
2011-03-06 16:49:56 +00:00
Olivier Lamy
1458f93a3c
[FIXED JENKINS-8939] Fix for JENKINS-8711 breaks deployments with credentials
...
take care about using settings from the remote node
2011-03-05 22:13:07 +01:00
Kohsuke Kawaguchi
53a31c3153
[FIXED JENKINS-4220] fixed a dead lock.
...
While the original report is in https://cloudbees.zendesk.com/tickets/427 , this fix also takes care of JENKINS-4220.
2011-03-01 12:07:25 -08:00
Olivier Lamy
a5d9528c8f
[FIXED JENKINS-8865] Environment variable not available for Maven build/POM parsing.
2011-03-01 16:38:01 +01: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