Commit Graph
107 Commits
Author SHA1 Message Date
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
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