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
Olivier Lamy
dbadd4f9b1
extract more common code
2011-08-08 22:17:34 +02:00
Olivier Lamy
3aed3df5d9
fix log message
2011-08-07 21:57:44 +02:00
Olivier Lamy
ad6ee4754f
fix adding argument -gs for maven global settings
2011-08-07 21:45:56 +02:00
Olivier Lamy
1f968f53ad
oups fix typo
2011-08-07 21:20:07 +02:00
Olivier Lamy
9787c0719a
maven native plugin is now aware of global maven settings configuration trough the config file provider plugin
2011-08-07 20:45:07 +02:00
Olivier Lamy
c9688c345f
change package import due to moove of config provider classes to a separate repo
2011-08-07 01:59:34 +02:00
Olivier Lamy
a254f202f9
reset altSettings to null as was modified and cleanup tmp files
2011-08-07 01:59:33 +02:00
Olivier Lamy
f97a65a8fb
note some FIXME
2011-08-07 01:59:33 +02:00
Olivier Lamy
9a0ef226a7
add a marker interface MavenSettingsProvider in maven-plugin.
...
We will only use config provider which implements this.
Start work to use the provided settings for maven build
2011-08-07 01:59:33 +02:00
Kohsuke Kawaguchi
a5f4bff5cb
cleaned up the MAVEN_OPTS variable expansion story.
...
Most notably, we weren't expanding environment variables. (CLOUDBEES-1403)
2011-08-05 11:32:51 -07:00
Christoph Kutzinski
9b3657c774
File#isFile already implies File#exists
2011-07-24 20:27:32 +02:00
Kohsuke Kawaguchi
039e43cf48
Merged ce27914ce9
...
Conflicts:
core/src/main/java/hudson/model/AbstractItem.java
core/src/main/java/hudson/model/AbstractProject.java
core/src/main/java/hudson/model/Descriptor.java
core/src/main/java/hudson/model/Hudson.java
core/src/main/java/hudson/tasks/BuildTrigger.java
core/src/main/resources/hudson/model/View/newJob.jelly
core/src/main/resources/hudson/model/View/sidepanel.jelly
core/src/main/resources/hudson/views/Messages_ja.properties
maven-plugin/src/main/java/hudson/maven/MavenBuild.java
maven-plugin/src/main/java/hudson/maven/reporters/MavenArtifact.java
maven-plugin/src/main/java/hudson/maven/reporters/MavenArtifactRecord.java
2011-07-05 19:42:20 -07:00
Christoph Kutzinski
65678ad31d
[JENKINS-9301] don't recalculate dependency graph in modules haven't changed
2011-07-03 13:47:06 +02:00
Kohsuke Kawaguchi
cee86fbb73
Making artifacts available for downloads.
2011-07-02 15:33:50 -07:00
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
Christoph Kutzinski
e499283310
[FIXED JENKINS-5121] for incremental builds with "Deploy artifacts" checked, all modules must be build again after an unsuccessful aggregator build
2011-06-24 21:59:10 +02:00
Olivier Lamy
e0e0489ec7
remove commented code
2011-06-21 10:54:39 +02:00
Olivier Lamy
04f22dc699
[FIXED JENKINS-9213] as we ignore the non available TokenMacro no need to log that
2011-06-21 10:54:06 +02:00
Kohsuke Kawaguchi
a3354b12cf
[FIXED JENKINS-9203] in light of 9c965617b3, I think the proper fix is to define a mechanism to abort with status.
2011-06-17 11:26:46 -07:00
Kohsuke Kawaguchi
7708e9d71b
i18n
2011-06-10 08:07:39 -07:00
Kohsuke Kawaguchi
a20ba944a6
dialing down the verbosity abit
2011-06-10 08:07:39 -07:00
Kohsuke Kawaguchi
86d4548398
if the maven home is incorrect, detect the problem more gracefully.
2011-06-10 08:07:39 -07:00
Nigel Magnay
2adef6719a
Merge remote branch 'origin/master' into momo
...
* origin/master: (91 commits)
Parsing can happen in the forked Maven process. Support remoting.
Fixed the test failures.
Strip whitespace on maven installation.
updated ja.
Use relative path to validate new view name (in order to allow ViewGroups like NestedView to override)
Added i18n.
moved to the model package to colocate with the Result class, since I don't think this class is tied by itself to the notification.
doc improvements
enum to describe a result trend - i.e. change from the previous to the current result
Recording the previous change.
Do not include trailing periods in console links.
doc improvements
Added a hook to customize the XML parser behaviour.
- Renamed from 'linked' to 'base' - Fixed the bug where multi-level base setting wasn't working properly - Improved docs
Updated style
Added convenience method for getting configuration run
Initial commit
the trunk is toward 1.416-SNAPSHOT
creating an RC branch
updated changelog as a part of the release
...
Conflicts:
core/src/main/java/hudson/slaves/NodeProvisioner.java
maven-plugin/src/main/java/hudson/maven/MavenModule.java
maven-plugin/src/main/java/hudson/maven/RedeployPublisher.java
2011-06-07 09:04:40 +01:00
Christoph Kutzinski
d5b8cf4a28
[FIXED JENKINS-9848] if POM parsing failed, do a full build next time (for incremental builds)
2011-06-02 16:28:31 +02:00
Nigel Magnay
5679d019ec
Move hudson.model.Jenkins to be jenkins.model.Jenkins - part II
...
Just import changes, from hudson.model.Jenkins -> jenkins.model.Jenkins,
and Javadoc comments.
Signed-off-by: Nigel Magnay <nigel.magnay@gmail.com >
2011-05-29 11:06:28 +01:00
Nigel Magnay
70c1065814
Stage 1 : Create hudson.model.Jenkins, make Hudson derive from Jenkins.
...
Signed-off-by: Nigel Magnay <nigel.magnay@gmail.com >
2011-05-29 11:00:58 +01:00
Christoph Kutzinski
f568a43170
[FIXED JENKINS-9300] wrong estimated build time for Maven projects before POMs are parsed
2011-04-09 14:32:48 +02:00
Christoph Kutzinski
f4233876cd
[FIXED JENKINS-5764] maven incremental builds leave modules unbuilt
...
upon failure
2011-03-25 15:50:10 +01:00
Olivier Lamy
951580fb18
fix some typo regarding token macro in MAVEN_OPTS in maven plugin
2011-03-17 22:27:13 +01:00
Olivier Lamy
c2cd2d11f2
prevent some CNFE during tests with call token macro with reflection
2011-03-17 22:00:14 +01:00
Olivier Lamy
477292ae3c
do not use TokenMacro if stringwithmacro is null
2011-03-16 00:15:31 +01:00
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