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

Drupal developer plugin doesn't work on master/slave configuration

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • Linux

      In a master/slave configuration, with the drupal developer plugin, if you configure a jenkins slave to execute a job that perform a revision on code it fails with a directory not found thought the directory exits and is writeable in the slave.

      The problem is the slave pulls the code from git repository and executes drush commands, but when writes coder-review.xml, it does in the master node workspace instead in the slave node workspace that perform the job. If you create the same directory in the master, the jobs works ok, but results aren't published to checkstyle. If you copy the coder-review.xml to the slave workspace logs directory, then you can see that results are readed from the workspace of the slave.

      Drush coder review -> writes to the master workspace
      Checkstyle results -> read from slave workspace

      As a workaround, workspace in a nfs share does the trick.

            fengtan Feng Tan
            mozodan daniel mozo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: