Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login
    1. Home
    2. nsitnikov_5096
    3. Topics

    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!

    N Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 8
    • Posts 10
    • Groups 0

    Topics

    • N

      Promote Build Using API

      Watching Ignoring Scheduled Pinned Locked Moved Support buildmaster api promotions builds
      2
      0 Votes
      2 Posts
      19 Views
      jraschJ
      Here is a working PowerShell example (v6.1+): Invoke-RestMethod -Method POST -Uri "http://{bmserver:port}/api/releases/builds/deploy?applicationName=ApiTest&releaseNumber=1.2.3&buildNumber=1&key=<api-key>" For pre-v6.1 versions, the equivalent is: Invoke-RestMethod -Method POST -Uri "http://{bmserver:port}/api/releases/packages/deploy?applicationName=ApiTest&releaseNumber=1.2.3&packageNumber=1&key=<api-key>" I have also put in a doc change request to clarify the endpoint names. Additional note: -UseDefaultCredentials would be required if Integrated Authentication were enabled.
    • N

      Check if variable exists

      Watching Ignoring Scheduled Pinned Locked Moved Support variables buildmaster
      2
      0 Votes
      2 Posts
      16 Views
      ?
      There are 2 ways to handle this: set a higher-scoped variable to the default value, e.g. set $BuildTestsFlag to false at the application group or system level; this removes the need to check at all, or: use if !$IsVariableDefined(BuildTestsFlag) function to determine if it doesn't exist
    • N

      TF14064: Could not find label

      Watching Ignoring Scheduled Pinned Locked Moved Support buildmaster tfs
      2
      0 Votes
      2 Posts
      33 Views
      atrippA
      TFS labels can be a bit complicated, and the way that Visual Studio (GUI) vs tools (tf.exe, BuildMaster, etc) interact with them are different. What may be happening in the GUI is that multiple labels are being created with the same name, and the the GUI is "searching" for files by label name (as opposed to "getting" those files). If you were to do a tf.exe get (https://docs.microsoft.com/en-us/vsts/tfvc/get-command?view=vsts), for example, you should see the same behavior. Instead, makes sure to first create a label at the $/ root level (e.g. tf label myLabel $/ ), and then you can sub-label items.
    • N

      Events logging and logs import/export

      Watching Ignoring Scheduled Pinned Locked Moved Support buildmaster
      2
      0 Votes
      2 Posts
      15 Views
      ?
      We definitely plan to improve the event handling & logging, across the board for our products. I don't have a date on it, but it's in the specification process; we always welcome feedback at this stage, so if you are interested in reviewing once it's ready, we would definitely appreciate it. We don't have an import/export feature for these events. However, they are stored in the database (across a couple tables - EventOccurences and EventOccurenceDetails), so you could extract using this.
    • N

      Missing dll when trying to apply label in TFS

      Watching Ignoring Scheduled Pinned Locked Moved Support tfs error buildmaster
      2
      0 Votes
      2 Posts
      7 Views
      ?
      This error appears to be related an extension missing. I would stop/start the agent, which should cause the extension to reload
    • N

      Build Environment issue after upgrade

      Watching Ignoring Scheduled Pinned Locked Moved Support buildmaster environments
      3
      0 Votes
      3 Posts
      13 Views
      N
      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?
    • N

      Issues with getting debug symbols

      Watching Ignoring Scheduled Pinned Locked Moved Support symbols feeds proget
      5
      0 Votes
      5 Posts
      17 Views
      N
      Here is an example path to a .pdb file, the same folder contains .dll: C:\Users\nsitnikov.dnx\packages\JA.AppCentral.Logging\0.1.7-Build1\lib\dnx451\JA.AppCentral.Logging.pdb Package folder also contains the source in C:\Users\nsitnikov.dnx\packages\JA.AppCentral.Logging\0.1.7-Build1\src folder
    • N

      Usage of Server and Environment variables

      Watching Ignoring Scheduled Pinned Locked Moved Support buildmaster variables script-repository
      2
      0 Votes
      2 Posts
      15 Views
      ?
      Hello, I was not able to reproduce this. Here is what I did. Create a new PowerShell Asset... Name: Test Script Parameters: none One ambient variable: MyEnvVar ==> $EnvVar Contents : Write-Host My var is $MyEnvVar; Create a variable on MYSERVER: $EnvVar = my server var Create a new application with a deployment plan that has a single action (targeting MYSERVER) that calls Test Script Output is My var is my server var, as expected I also deleted $EnvVar from the server, and then created it on an environment the server is associated with, and it works as expected. When I deleted $EnvVar from the environments, it produced the literal output (My var is $MyEnvVar) upon running. So, my guess is there's a typo somewhere... best, Alana
    • 1 / 1