Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login
    1. Home
    2. markrobertjohnson
    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!

    M Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 7
    • Groups 0

    Topics

    • M

      Raft variables are not working

      Watching Ignoring Scheduled Pinned Locked Moved Support variables otter
      2
      0 Votes
      2 Posts
      12 Views
      M
      After some digging I determined that Mpa (%) types are not currently supported. I was able to get past this by embedding JSON in a scalar string, and then use %FromJson() to convert to a Map type in OtterScript.
    • M

      Best practices for dealing with executions that to not stop

      Watching Ignoring Scheduled Pinned Locked Moved Support otter
      9
      0 Votes
      9 Posts
      42 Views
      ?
      If restarting fixed it, then the "hanging" was in the service, likely the agent never reported back that the "job" (a very small unit of work, not an Otter job) was complete. Once we add cancellation to the UI, you could confirm that to be the case... Note that, as soon as the Otter service stops, the job will stop running, so the service won't be able to start itself back up. So you will need to have an external process running that will handle the restart, like this: $script = " sleep 10 `$svc = (Get-Service -ComputerName 'inedoappsv1' -Name 'INEDOBMSVC') Try { `$svc.Stop() } Catch { } `$svc.WaitForStatus([System.ServiceProcess.ServiceControllerStatus]::Stopped) `$svc.Start() " Start-Process -FilePath 'powershell.exe' -WorkingDirectory 'C:\Projects\BuildMaster' -ArgumentList @('-NoProfile', '-ExecutionPolicy', 'unrestricted', '-Command', $script) Write-Output 'BuildMaster will be deployed in 10 seconds' It is the relevant parts of a PS script we use to have BuildMaster deploy to itself; it seems to work pretty well.
    • M

      Otter is displaying a credential password in the execution log

      Watching Ignoring Scheduled Pinned Locked Moved Support otter
      3
      0 Votes
      3 Posts
      11 Views
      ?
      Thanks Steve! That solved the issue.
    • 1 / 1