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!

Build Environment issue after upgrade



  • Buildmaster version 4.9.7.5 has been successfully upgraded to 5.6.11.2
    However during the upgrade Build Environment was not created, so I had to create it manually and it is now the last Environment in Environments list. I ran some test builds after the upgrade, and they went through fine. The problem is that Build Environment is now showing up as final environment for all apps when clicking Applications, even though it's not the case for any of them, and legacy plans and pipelines seem to be working correctly.

    Any ideas how to fix this?
    Thanks

    Product: BuildMaster
    Version: 5.6.11


  • inedo-engineer

    Hello,

    You can use Environments_ResequenceEnvironment in the native API to reposition your Build environment in the list.

    Assuming the ID displayed when you hover over the Build environment is 4 and you have an API key abc123 with the native API enabled, accessing this page in your browser will move the Build environment to the first position:

    /api/json/Environments_ResequenceEnvironment?Environment_Id=4&New_Environment_Sequence=1&API_Key=abc123



  • Thanks for response.

    I created a new API Key. My environment IDs are as follows:
    Development = 1,
    Testing = 2,
    Production = 3,
    Build = 5

    If I run the API call you provided above for Build environment, doesn't it mean I will need to resequence the rest of the environments too?



Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation