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!

    Deploy Package - only to the environment in context

    Scheduled Pinned Locked Moved Support
    deploymentsbuildmasterpackages
    3 Posts 2 Posters 8 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.
    • C Offline
      clint.jenkinson_0617
      last edited by

      Hi All,

      I am trying to create a release that coordinates the deployment of packages from multiple applications. I have created a global pipeline with a global plan. I plan to use the deploy-package function. When I select the ${EnvironmentName} as the from and to stages in the pipeline filter (to target a particular environment), the deployment does not ever recognise the environment as the furthest stage, even if it is. If i dont specify the to and from values, the plan wants to promote and deploy all un-deployed environments instead of the one i want.

      I would like to use the $EnvironmentName variable as i want to be able to use the same plan for all environments to ensure consistency.

      Is this achievable?

      Thanks,

      Clint

      Product: BuildMaster
      Version: 5.7.1

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

        The EnvironmentName variable function returns the name of the environment in context, so as long as pipeline target is targeting an environment, then it should resolve to that environment...

        note that the environment name and stage name can be different, although they are often the same.

        Can you share both the Plan JSON and OtterScript of the plan you're using? This will help to diagnose further. You may want to submit a ticket with this, since it might be asier to track back-and-forth.

        1 Reply Last reply Reply Quote 0
        • C Offline
          clint.jenkinson_0617
          last edited by

          Thanks Alana,

          [EDO-2856] has been raised.

          Thanks,

          Clint

          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