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

Slave artifact downloaded in /, not in /local

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • nomad-plugin
    • None
    • Jenkins 2.7.4
      Nomad 0.4.1
      Nomad Plugin 0.3

      I’m trying to make the nomad plugin for jenkins work but it seems like it is downloading slave.jar in /, not in /local, and because the path is hardcoded java fails to start the slave.
      This is how a failed job's fs looks like:

      $ nomad fs 9264c690 jenkins-slave | grep slave
      -rw-r--r--  503 B    09/23/16 08:56:34 UTC  jenkins-slave-executor.out
      -rw-r--r--  517 KiB  09/23/16 08:56:33 UTC  slave.jar
      $ nomad fs 9264c690 jenkins-slave/local
      Mode  Size  Modified Time  Name
      $ nomad fs 9264c690 alloc/logs/jenkins-slave.stderr.0
      Error: Unable to access jarfile /local/slave.jar
      

            iverberk Ivo Verberk
            omame Daniele Valeriani
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: