Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login
    1. Home
    2. jstarbird_7831
    3. Posts

    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!

    J Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 71
    • Posts 132
    • Groups 0

    Posts

    Recent Best Controversial
    • Question re Ensure App

      Not sure if this is actually supposed to be live yet as I could not find any documentation on it but I was trying to use Ensure Application and while it did work there doesn't seem to be a way to tie it to a specific App Pool.
      Just wanted to check if there was some way of doing so or not.

      Product: BuildMaster
      Version: 5.6.11

      posted in Support buildmaster
      J
      jstarbird_7831
    • Question regarding Imported Deployables

      Before I go and script this out using the API I wanted to check if there was a way to already do this.
      I need to use deployables from two different applications so I have imported them into this new app.
      What I am wondering about is that one of the imported ones has Config files that need to be deployed as well, can I just call Deploy Config from this new app and get that deployables configs or do I need to script that out using the API?

      Product: BuildMaster
      Version: 5.6.11

      posted in Support buildmaster
      J
      jstarbird_7831
    • How do I a Package Variable value via API

      I was looking to get the value of a Package Variable with the API but I can't seem to find how to do it.
      I've tried using the GetVariableValues passing variations of some/all of the following: Environment_id, Application_Id, Release_Number, Build_Number, and Execution_Id but I always just get no values back.

      I can use the GetPackageVariables but that does not give me their values only their names, at least it doesn't appear to. There are fields in the response that say Variable Value but it is not what the real value is and is instead a string of characters that do not make any sense. The fields are not set as sensitive either.

      The response to GetPackageVariables looks like this:

       [{"Build_Id":723,
       "Variable_Name":"buildVersion","ValueType_Code":"S","Variable_Value":"MTQuMS4wLjI1", "Sensitive_Indicator":false,"EvaluateVariables_Indicator":false},
       {"Build_Id":723,"Variable_Name":"JenkinsBuildNumber","ValueType_Code":"S","Variable_Value":"ODQ3","Sensitive_Indicator":false, "EvaluateVariables_Indicator":false}]
      

      Thanks.

      Product: BuildMaster
      Version: 5.6.11

      posted in Support buildmaster
      J
      jstarbird_7831
    • Question on Importing Deployables

      We want to add the ability to allow our QA dept to deploy to automation servers on demand. This will not be a stage of an app as our automated testing for several apps take to long to complete and so they are usually a build or two behind.
      So I was planning on creating a Fake app and Importing the needed Deployables.
      However, it's the approach from there I'm not sure about.

      How would I allow them to select a version of a that associated app to use without having to go look for it manually in BuildMaster?

      Is this the best approach to cover this?

      Thanks.

      Product: BuildMaster
      Version: 5.6.11

      posted in Support buildmaster
      J
      jstarbird_7831
    • DeployableName variable not being set

      I have an app I am working with right now and the DeployableName is no longer being set unless I specify in the top of plan. I was told before that I did not need to set a plan to a specific deployable.
      Is that the case? Is this a bug?

      This app only has 1 Deployable set and it is set to the release.
      The Release Template also has it set to this deployable as the default.

      Product: BuildMaster
      Version: 5.6.11

      posted in Support buildmaster
      J
      jstarbird_7831
    • Any word on adding Proget Promotion functionality to BuildMaster

      I am unable to use Proget promotion from HTTP post, see other posting from me on that
      http://inedo.com/support/questions/5569 , and I would really like to automate promoting a package.
      I was told back in November that this was a coming feature in the Proget extension but have yet to see it added.
      Will this be coming anytime soon? This would be very valuable considering it doesn't want to work via HTTP posts from BuildMaster.

      Product: BuildMaster
      Version: 5.6.11

      posted in Support buildmaster
      J
      jstarbird_7831
    • RE: Returning a list from a PSEval execution

      Still not working for me. Still getting the Cannot assign a scalar value to a map variable.
      This is on 5.6.9 and with the latest update to the Windows extension.

      Here is what I have done.

      I have a test Powershell script saved into Script Assests:

      $var1 = 'serviceName'
      $var2 = 'type'
      $hashlist = @{}
      for ($i=1;$i -le 5; $i++) {
          $hashlist.Add($var1+$i,$var2+$i)
      }
      

      and then in the Plan I'm calling it like this:

      PSCall TestApp::TestToWriteOutMappedValues
      (
      items => %hashlist
      );

      # Loop
      foreach $key in @MapKeys(%items)
      {
          set $value = $MapItem(%items,$key);
      
          Log-Information Begin $key    ----    $value;
      }
      
      posted in Support
      J
      jstarbird_7831
    • RE: Returning a list from a PSEval execution

      When will this fix be pushed out? I've upgraded to 5.6.9 and all the extensions are showing they are up-to-date. I'm following the example given above but I still get the cannot assign a Scalar value to a Map Variable.

      posted in Support
      J
      jstarbird_7831
    • When can we expect next BuildMaster update

      There are a few fixes I'm expecting in the next update so I was wondering if there is an ETA on that being released?

      Thanks.

      Product: BuildMaster
      Version: 5.6.8

      posted in Support buildmaster
      J
      jstarbird_7831
    • Question re Pipeline Servers or Roles setting

      Is it possible from within a plan to use the Role or Server set in the Servers or Roles setting on a Stage in the Pipeline?
      I tried using ServersInRole without giving it a role but it doesn't seem to use the setting from the Pipeline.

      Product: BuildMaster
      Version: 5.6.8

      posted in Support buildmaster
      J
      jstarbird_7831
    • Returning a list from a PSEval execution

      I'd like to return a list of values back from a short Powershell script. I can get the PSEval to work but once the value is back in BM I can't get it to let loop through it.

      I can only get the PSEval to run if I do this:
      set $var = @PSEval($PsScript);
      I cannot tell if it's actually returning the values yet though. If I output it to the log it just says System.Collections.Hashtable.

      If I tried to do set @var it would fail saying I could not assign a scalar to a vector.

      But when I try to use the $var it is seen as a scalar so I cannot use it in a loop. Is there someway I could convert it?

      What I'm trying to accomplish is I'll be looking up some things in a database to use during deployments so I need to be able to do that and feed those values into the deployment where they will be looped thru and applied. Ideally this would be in the form of a list of mapped values.

      Here is the short Otterscript I have to test this:

      set $PsScript = >>
      `$var1 = 'serviceName'
      `$var2 = 'type'
      `$serviceList = @{}
      for (`$i=1;`$i -le 5; `$i++) {
          `$serviceList.Add(`$var1+`$i,`$var2+`$i)
      }
      return `$serviceList
      >>;
          
      set $testmap = @PSEval($PsScript);
      

      Product: BuildMaster
      Version: 5.6.8

      posted in Support powershell buildmaster
      J
      jstarbird_7831
    • Proper script to create Map variable

      First off, can I create a map variable in the pipeline variables?

      If so what would be the format to create one that has a content something like the Deployment Variables, multiple sets of values.

      I've tried searching online but I couldn't find any examples like this.

      Product: BuildMaster
      Version: 5.6.8

      posted in Support buildmaster
      J
      jstarbird_7831
    • RE: Access to log during plan execution

      For some reason this isn't working for me when it is executed from BuildMaster.
      I can manually put the URL into a browser and it works fine but within BuildMaster it fails with a 400 request. It says the Execution Id is bad but the URL shown in the log has the correct one and I can even use that same URL, copy and paste, in a browser and it works.

      I also tried using PowerShell and with that I keep getting a access denied. The user BuildMaster runs as is full admin on the server and I'm having it run on the BuildMaster server.
      I also tried adding credentials via PowerShell but I'm not sure what type BuildMaster would be expecting.

      Any ideas?

      posted in Support
      J
      jstarbird_7831
    • Access to log during plan execution

      Is there a way from within the a execution to get the info logged so far?
      What I am trying to do is loop thru installing multiple instances(customers) of a service and I want to email out a failure email should one fail while continuing to do the rest of them.
      In that email I'd like be able to include the log up to that point or even have Powershell script that parses out the chunk for that failed customers instance.

      I guess another way, is there a way to redirect the output to a variable as well as to the screen and log. Then I could just access the variable at the point I need to.

      I know the API can get the log after the fact but I'm needing to do this while the overall plan is still executing.

      Product: BuildMaster
      Version: 5.6.8

      posted in Support buildmaster
      J
      jstarbird_7831
    • RE: Using Powershell documentation header

      thanks, yes I saw that and that is what I am using. I guess the expectation I had was to see the description or synopsis in the dialog when I am adding it a plan.
      Once it's in the plan is useful, the way it displays now, but it's when it's being added that the person adding it needs the info.

      I'll just submit a feature request, it's not a major thing just be nice for people who use them later and may not know exactly what they do without opening the full script itself or reading some other doc outside BM

      posted in Support
      J
      jstarbird_7831
    • Using Powershell documentation header

      I have been putting in the document header info into some scripts but in the UI nothing of it is shown. Is there only certain parts that are shown? If so which parts?
      I'm using the standard format and have tried several different parts but none of the info shows up in the UI.

      Not critical for myself but would be nice to be able to have this for when others begin using BuildMaster.

      Product: BuildMaster
      Version: 5.6.8

      posted in Support buildmaster
      J
      jstarbird_7831
    • Question about Deploy Artifact operation

      For Deploy Artifact it has the option of the Package to deploy and I was wondering if you have your pipeline set to run stages in order then do you even need to set the value here and can instead just utilize the default value, current package($PackageNumber)?
      Just wondering if it really matters to set it to latest or furthest in that kind of setup.

      Product: BuildMaster
      Version: 5.6.8

      posted in Support buildmaster
      J
      jstarbird_7831
    • RE: Variables questions

      I looked at the Configuration Variables area but it doesn't mention Pipeline variables and Release templates are not listed directly.
      So in the situation of a Pipeline stage having a variable with a value and then a release template variable set for the same stage with the same name and I'm running it manually so I get the prompt for the release template variables, fill it in and then shouldn't that value override the pipeline stage variable?
      If not then what is the suggested method of allowing a manual run and an automated run with the same plan/pipeline and wanting to be able to supply different values if it is run manually?

      posted in Support
      J
      jstarbird_7831
    • RE: Variables questions

      Thanks. Are those Declarations documented anywhere?
      I had looked for something like that but couldn't find anything and tried several variations but not that one.

      posted in Support
      J
      jstarbird_7831
    • Variables questions

      First question, is there a link to a overview of the Variable hierarchy?
      I have a situation where I'd like to setup variables in a pipeline for a stage but also have those same variables available for setting at run time so I put them in a release template.
      However at run time I can fill in the variable but then it is not used during execution, instead the one in the pipeline is being used.

      Second question, I am also trying to possibly handle a situation where I will be reading in some values from a database which then determines the values for a loop. However, we also want to allow for the thing to be run manually with the person entering one value.
      So I was trying to use multiple variables and create a List in script but in my testing I can't seem to create a list.

      Here is what I've tried:

      set @custId = @ListInsert(@custId, $clientId,0);

      but when run I just keep getting an error: Could not Resolve Variable @custId

      Product: BuildMaster
      Version: 5.6.7

      posted in Support variables buildmaster
      J
      jstarbird_7831
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 4 / 7