Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-52924

Durable Task 1.23 broke bash scripting on Windows agents via Cygwin

XMLWordPrintable

      To connect my Windows agent machines, I essentially followed this guide (modified to handle auto-scaling spot fleets via the ec2-fleet-plugin): https://go.cloudbees.com/docs/cloudbees-documentation/admin-cje/agents/#_configuring_windows_agents

      Until 1.22, this worked great. Since 1.23, I now get this:

      [client\go] Running shell script
      ps: unknown option -- o
      Try `ps --help' for more information.
      + go list ./...
      + grep -v github.com/keybase/client/go/bind
      + xargs go vet
      wrapper script does not seem to be touching the log file in c:\Jenkins\workspace/client/master/6615\go/src/github.com/keybase/client\go@tmp\durable-8945eeb6
      (JENKINS-48300: if on a laggy filesystem, consider -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL=300) 

      The failing line of my Jenkinsfile is here: https://github.com/keybase/client/blob/aa1fc347042cafba8cf8f48a40bed59e8bce60dd/Jenkinsfile#L309

      I believe this has something to do with the fix to the infinite log problem in JENKINS-37575.

      In the meantime, I've reverted to 1.22, and it's working again.

            Unassigned Unassigned
            jzila John Zila
            Votes:
            4 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: