Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-9108

Make maven 3 --fail-never flag not fail the job

XMLWordPrintable

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      I have maven 3 task 'clean' configured that is first in the build Stage

      The Maven 3 goal is set like this:
      --fail-never clean

      I expect the clean to fail because of the project refactoring of other reasons. This should not fail the build execution.

      But in fact the build is still failing:
      This is the fragment from the log:

      23-Jun-2011 14:41:39 [ERROR] After correcting the problems, you can resume the build with the command
      23-Jun-2011 14:41:39 [ERROR] mvn <goals> -rf :pyx-entity-gae
      23-Jun-2011 14:41:39 [INFO] Build failures were ignored.
      23-Jun-2011 14:41:39 Failing task since text 'BUILD SUCCESS' was not found in last 250 log entries
      23-Jun-2011 14:41:39 Finished task 'clean'

              Unassigned Unassigned
              289d6a7bef6f skarzhevskyy
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: