Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    Why does BuildMaster perform my plan 3-4-5 times?

    Scheduled Pinned Locked Moved Support
    buildmaster
    5 Posts 1 Posters 5 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ? This user is from outside of this forum
      Guest
      last edited by

      I have never seen this before.

      I create a pipeline, create plans for each stage and on execution BuildMaster executes the plan to perfection, only it does it 3 times, sometimes 4 times, sometimes 5 times.

      What's going on? :-)

      Product: BuildMaster
      Version: 5.8.1

      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        Can you share your Pipeline JSON? Perhaps we can help determine it.

        1 Reply Last reply Reply Quote 0
        • ? This user is from outside of this forum
          Guest
          last edited by

          Sure, see below:

          {
          "Name": "OrbitusAppService.Premnitz",
          "Color": null,
          "Description": "",
          "EnforceStageSequence": true,
          "Stages": [
          {
          "Name": "Integration",
          "Description": null,
          "TargetExecutionMode": "Parallel",
          "Targets": [
          {
          "PlanName": "Deploy OrbitusAppService.Premnitz to Integration",
          "EnvironmentName": "Integration",
          "BuildImporterTemplate": null,
          "ServerNames": [],
          "ServerRoleNames": [],
          "DefaultServerContext": 2
          }
          ],
          "Gate": {
          "UserApprovals": [],
          "GroupApprovals": [],
          "DeploymentWindows": [],
          "AutomaticApprovals": []
          },
          "PostDeploymentPlan": null,
          "PostDeploymentEventListeners": [],
          "AutoPromote": true,
          "Variables": {}
          },
          {
          "Name": "Development",
          "Description": null,
          "TargetExecutionMode": "Parallel",
          "Targets": [
          {
          "PlanName": "Deploy OrbitusAppService.Premnitz to Dev",
          "EnvironmentName": "Development",
          "BuildImporterTemplate": null,
          "ServerNames": [],
          "ServerRoleNames": [],
          "DefaultServerContext": 2
          }
          ],
          "Gate": {
          "UserApprovals": [],
          "GroupApprovals": [],
          "DeploymentWindows": [],
          "AutomaticApprovals": []
          },
          "PostDeploymentPlan": null,
          "PostDeploymentEventListeners": [],
          "AutoPromote": false,
          "Variables": {}
          },
          {
          "Name": "Testing",
          "Description": null,
          "TargetExecutionMode": "Parallel",
          "Targets": [
          {
          "PlanName": "Deploy OrbitusAppService.Premnitz to Test",
          "EnvironmentName": "Testing",
          "BuildImporterTemplate": null,
          "ServerNames": [],
          "ServerRoleNames": [],
          "DefaultServerContext": 2
          }
          ],
          "Gate": {
          "UserApprovals": [],
          "GroupApprovals": [],
          "DeploymentWindows": [],
          "AutomaticApprovals": []
          },
          "PostDeploymentPlan": null,
          "PostDeploymentEventListeners": [],
          "AutoPromote": false,
          "Variables": {}
          },
          {
          "Name": "Acceptance",
          "Description": null,
          "TargetExecutionMode": "Parallel",
          "Targets": [
          {
          "PlanName": "Deploy OrbitusAppService.Premnitz to Accept",
          "EnvironmentName": "Acceptance",
          "BuildImporterTemplate": null,
          "ServerNames": [],
          "ServerRoleNames": [],
          "DefaultServerContext": 2
          }
          ],
          "Gate": {
          "UserApprovals": [],
          "GroupApprovals": [],
          "DeploymentWindows": [],
          "AutomaticApprovals": []
          },
          "PostDeploymentPlan": null,
          "PostDeploymentEventListeners": [],
          "AutoPromote": false,
          "Variables": {}
          },
          {
          "Name": "Production",
          "Description": null,
          "TargetExecutionMode": "Parallel",
          "Targets": [
          {
          "PlanName": "Deploy OrbitusAppService.Premnitz to Prod",
          "EnvironmentName": "Production",
          "BuildImporterTemplate": null,
          "ServerNames": [],
          "ServerRoleNames": [],
          "DefaultServerContext": 2
          }
          ],
          "Gate": {
          "UserApprovals": [],
          "GroupApprovals": [],
          "DeploymentWindows": [],
          "AutomaticApprovals": []
          },
          "PostDeploymentPlan": null,
          "PostDeploymentEventListeners": [],
          "AutoPromote": false,
          "Variables": {}
          }
          ],
          "Variables": {},
          "PostDeploymentOptions": {
          "CreateRelease": true,
          "CancelReleases": false,
          "DeployRelease": true
          }
          }

          1 Reply Last reply Reply Quote 0
          • ? This user is from outside of this forum
            Guest
            last edited by

            Your "DefaultServerContext" is "AllInEnvironment" (2).

            In this case, you will get one execution per server in each environment. Each execution will be implicitly wrapped with "for server <<servername>> { ... }".

            If, within your plan, you're setting server context by doing something like, "for server PRODSV1 {... }", you should choose "None" (0).

            1 Reply Last reply Reply Quote 0
            • ? This user is from outside of this forum
              Guest
              last edited by

              OMG I totally overlooked that.

              Thanks!

              1 Reply Last reply Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • 1 / 1
              • First post
                Last post
              Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation