-
Bug
-
Resolution: Duplicate
-
Critical
-
None
I have a multi-module project that is built with Jenkins/Maven. When doing a release build, in the cleanup phase, only the top module results in SUCCESS, while the other modules get a SKIPPED, simply because there is nothing to do for them. This looks like this, for example:
[INFO] Reactor Summary: [INFO] [INFO] Main Module #1 .................................... SUCCESS [6:40.776s] [INFO] Module #2 ......................................... SKIPPED [INFO] Module #3 ......................................... SKIPPED [INFO] Module #4 ......................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS
It's actually not a problem. The overall result is SUCCESS. However, the Publish Over FTP plugin does not seem to look at the overall result, but seems to see only that some steps did have resulted in something different from SUCCESS, so erroneously assumes a build problem and does not upload the artifacts:
FTP: Current build result is [NOT_BUILT], not going to run. [M2Release] assigning keep build to current build. channel stopped Finished: SUCCESS.
There doesn't seem to be a way to work around this, so I hope for a fix in the Publish Over FTP plugin.
- is related to
-
JENKINS-16240 Problem with NOT_BUILT build result
- Closed