• Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • Windows Server 2012R2
      Jenkins v2.103
      Publish Over CIFS v0.6

      Since the latest Jenkins updates -

      1. Build get stuck when it starts a "Publish over CIFS" build step (I need to kill the Jenkins service to make it stop) - EDIT 2018-02-15 - This is fixed in v0.9 (JENKINS-49010)
      2. If I try to modify a job with a "Publish over CIFS" build step, the "CIFS Share" drop down list is empty even though the configuration looks fine under "Manage Jenkins" and I can successfully test those server entries -
        EDIT 2018-02-15 - This is still occurring in v0.9. 
        EDIT 2018-06-14 - This is fixed in LTS 2.107.3**

      I checked the error logs, but can't see any errors.

          [JENKINS-49211] Build gets stuck on Publish Over CIFS

          Matt Phillips created issue -

          framal added a comment - - edited

          Same behaviour after upgrading Plugin from 0.3 to 0.5 and 0.6
          Already existing CIFS shares do not appear in dropdown box.
          After downgrading to 0.3 again it works

          (LTS 2.89.2 && LTS 2.89.3)

          framal added a comment - - edited Same behaviour after upgrading Plugin from 0.3 to 0.5 and 0.6 Already existing CIFS shares do not appear in dropdown box. After downgrading to 0.3 again it works (LTS 2.89.2 && LTS 2.89.3)

          Ken Rachynski added a comment -

          I am also on LTS 2.89.3 and did an upgrade on January 26 from 0.5 to 0.6. Noticing the same behaviour.

          I am copying four files from my job to the network share. The first one gets it's name written in the share but no data. Not sure what else to include.

          Ken Rachynski added a comment - I am also on LTS 2.89.3 and did an upgrade on January 26 from 0.5 to 0.6. Noticing the same behaviour. I am copying four files from my job to the network share. The first one gets it's name written in the share but no data. Not sure what else to include.

          We've observed the same as described by krachynski.
          No errors/warnings in the logs.

          In case it is relevant or helps to reproduce the issue we are copying the following directory structure:

          • topdir
            • dir1
              • file1
              • file2
              • file3
              • ...
            • dir2
              • file1
              • file2
              • file3
              • ...

          Topdir and dir1 get created. file1 also but with zero size and the job hangs at this point until it's stopped.

          Downgrade to 0.5 solved the issue.

          Bernhard Miklautz added a comment - We've observed the same as described by krachynski . No errors/warnings in the logs. In case it is relevant or helps to reproduce the issue we are copying the following directory structure: topdir dir1 file1 file2 file3 ... dir2 file1 file2 file3 ... Topdir and dir1 get created. file1 also but with zero size and the job hangs at this point until it's stopped. Downgrade to 0.5 solved the issue.

          Ken Rachynski added a comment -

          I did have a chance to speak with one of the updaters on IRC and he acknowledged this issue but is currently working on security tasks. The workaround for now is to downgrade.

          Ken Rachynski added a comment - I did have a chance to speak with one of the updaters on IRC and he acknowledged this issue but is currently working on security tasks. The workaround for now is to downgrade.

          Matt Phillips added a comment -

          v0.9 was just released, so I've updated and re-tested

          1. #1 in my original description is now fixed (in JENKINS-49010)
          2. #2 is still a problem - If I try to modify a job with a "Publish over CIFS" build step, the "CIFS Share" drop down list is empty even though the configuration looks fine under "Manage Jenkins" and I can successfully test those server entries

          Matt Phillips added a comment - v0.9 was just released, so I've updated and re-tested #1 in my original description is now fixed (in  JENKINS-49010 ) #2 is still a problem - If I try to modify a job with a "Publish over CIFS" build step, the "CIFS Share" drop down list is empty even though the configuration looks fine under "Manage Jenkins" and I can successfully test those server entries
          Matt Phillips made changes -
          Description Original: Since the latest Jenkins updates -
           # Build get stuck when it starts a "Publish over CIFS" build step (I need to kill the Jenkins service to make it stop)
           # If I try to modify a job with a "Publish over CIFS" build step, the "CIFS Share" drop down list is empty even though the configuration looks fine under "Manage Jenkins" and I can successfully test those server entries

          I checked the error logs, but can't see any errors.
          New: Since the latest Jenkins updates -
           # -Build get stuck when it starts a "Publish over CIFS" build step (I need to kill the Jenkins service to make it stop)- *- EDIT 2018-02-15 - This is fixed in v0.9 (JENKINS-49010)*
           # If I try to modify a job with a "Publish over CIFS" build step, the "CIFS Share" drop down list is empty even though the configuration looks fine under "Manage Jenkins" and I can successfully test those server entries *- EDIT 2018-02-15 - This is still occurring in v0.9*

          I checked the error logs, but can't see any errors.

           

          Hi, I confirm that v0.9 does not work, as indicated by mattphi.

          The down list is empty.

          It's only work in the post build task.

          Giancarlo Valeri added a comment -   Hi, I confirm that v0.9 does not work, as indicated by mattphi . The down list is empty. It's only work in the post build task.

          Hi, the reason for #2 is that the constructor of CifsHostConfiguration has an additional argument bufferSize which is of primitive type int.

          Tobias Getrost added a comment - Hi, the reason for #2 is that the constructor of CifsHostConfiguration has an additional argument bufferSize which is of primitive type int .

          same problem #2 under v0.9 here

          Eric Lemanissier added a comment - same problem #2 under v0.9 here

            slide_o_mix Alex Earl
            mattphi Matt Phillips
            Votes:
            4 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated:
              Resolved: