Uploaded image for project: 'Continuum'
  1. Continuum
  2. CONTINUUM-2436

Scheduled Build occurs even when Always Build = false and no changes have occurred

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.3.4 (Beta)
    • Fix Version/s: 1.4.1
    • Component/s: None
    • Labels:
      None
    • Environment:
      Version: 1.3.4-SNAPSHOT
      Build Number: 790494

      Description

      http://vmbuild.apache.org/continuum/buildResult.action?projectId=562&projectName=&buildId=268947&projectGroupId=0

      shows a scheduled build, Always Build = false, No SCM change, No dependency change.

      There is another project in the project group, but the most recent build for that was also run unnecessarily.

        Issue Links

          Activity

          Hide
          brettporter Brett Porter added a comment -

          This is very important if it's the case in the current version.

          Show
          brettporter Brett Porter added a comment - This is very important if it's the case in the current version.
          Hide
          ctan Maria Catherine Tan added a comment -

          Build Fresh = true which is why it build. Build fresh will always build the project.

          Show
          ctan Maria Catherine Tan added a comment - Build Fresh = true which is why it build. Build fresh will always build the project.
          Hide
          sebb@apache.org Sebb added a comment -

          The documentation [1] says:

          Check Build Fresh to do a fresh checkout from SCM before the build process.
          Check Always Build if you want to execute the goal every time you build the project.

          The way I read that, they seem to be independent options.

          If Build Fresh really implies Always Build then the documentation needs to make this clear.

          Seems to me it would be more useful if Build Fresh did not force a build.
          Instead, it should force a fresh checkout if the build was scheduled for some other reason, such as Always Build or a dependency change.

          [1] http://continuum.apache.org/docs/1.3.6/user_guides/managing_builddef/builddefProject.html

          Show
          sebb@apache.org Sebb added a comment - The documentation [1] says: Check Build Fresh to do a fresh checkout from SCM before the build process. Check Always Build if you want to execute the goal every time you build the project. The way I read that, they seem to be independent options. If Build Fresh really implies Always Build then the documentation needs to make this clear. Seems to me it would be more useful if Build Fresh did not force a build. Instead, it should force a fresh checkout if the build was scheduled for some other reason, such as Always Build or a dependency change. [1] http://continuum.apache.org/docs/1.3.6/user_guides/managing_builddef/builddefProject.html
          Hide
          nielsbischof nielsbischof added a comment -

          The problem still exists in Version 1.3.7 (Build Number: 1068386). It's now more than a year since the issue has been created.
          Do you need help addressing this issue?

          You can assign it to me if you like.

          Show
          nielsbischof nielsbischof added a comment - The problem still exists in Version 1.3.7 (Build Number: 1068386). It's now more than a year since the issue has been created. Do you need help addressing this issue? You can assign it to me if you like.
          Hide
          brettporter Brett Porter added a comment -

          if you'd like to submit a patch here, we'd be happy to apply it!

          Show
          brettporter Brett Porter added a comment - if you'd like to submit a patch here, we'd be happy to apply it!
          Hide
          ctan Maria Catherine Tan added a comment -

          Fixed in r1333330

          • Build Fresh will not automatically set Always Build to true anymore
          Show
          ctan Maria Catherine Tan added a comment - Fixed in r1333330 Build Fresh will not automatically set Always Build to true anymore

            People

            • Assignee:
              ctan Maria Catherine Tan
              Reporter:
              sebb@apache.org Sebb
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development