Navigation

    Inedo Community Forums

    Forums

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. markrobertjohnson
    3. Topics
    M
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Topics created by markrobertjohnson

    • M

      Raft variables are not working
      Support • otter variables • • markrobertjohnson  

      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
      Support • otter • • markrobertjohnson  

      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
      Support • otter • • markrobertjohnson  

      3
      0
      Votes
      3
      Posts
      11
      Views

      ?

      Thanks Steve! That solved the issue.
    • 1 / 1