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

Cannot publish over CIFS from artifact directory using pipeline

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      When trying to generate a pipeline script for the publish over CIFS plugin, there are two identical options, both called "Send build artifacts to a windows share".

        

      However, the options for the two are not identical. The first one has an option to "use workspace", and the help says "By default this plugin uses the artifacts directory (where archived artifacts are stored)."

      The second one has no options to choose where the files are taken from, and from the help it is clear that the workspace is always used. When I generate a pipeline script with this one, everything works as expected, but I cannot copy from the artifacts directory.

      So, I would like to try the other one, which allows me to copy from the artifacts directory. However, when I try to generate the pipeline script, the output from  the snippet generator is always just "step <object of type jenkins.plugins.publish_over_cifs.CifsPromotionPublisherPlugin>". 

      So how can I publish over CIFS from the artifacts directory?

       

      Options if I choose the first "send artifacts to a windows share":

       

      And output:

       

      Options if I choose the second one:

      And output:

        Attachments

          Activity

          godskalk Øyvind R created issue -
          godskalk Øyvind R made changes -
          Field Original Value New Value
          Description When trying to generate a pipeline script for the publish over CIFS plugin, there are two identical options, both called "Send build artifacts to a windows share".  !image-2018-12-05-15-42-53-249.png!

          However, the options for the two are not identical. The first one has an option to "use workspace", and the help says "By default this plugin uses the artifacts directory (where archived artifacts are stored)."

          The second one has no options to choose where the files are taken from, and from the help it is clear that the workspace is always used. When I generate a pipeline script with this one, everything works as expected, but I cannot copy from the artifacts directory.

          So, I would like to try the other one, which allows me to copy from the artifacts directory. However, when I try to generate the pipeline script, the output from  the snippet generator is always just "step <object of type jenkins.plugins.publish_over_cifs.CifsPromotionPublisherPlugin>". 

          So how can I publish over CIFS from the artifacts directory?

           

          Options if I choose the first "send artifacts to a windows share":

          !image-2018-12-05-15-50-07-224.png!

           

          And output:

          !image-2018-12-05-15-51-40-305.png!

           

          Options if I choose the second one:

          !image-2018-12-05-15-52-34-603.png!

          And output:

          !image-2018-12-05-15-53-04-196.png!
          When trying to generate a pipeline script for the publish over CIFS plugin, there are two identical options, both called "Send build artifacts to a windows share".

             !image-2018-12-05-15-42-53-249.png!

          However, the options for the two are not identical. The first one has an option to "use workspace", and the help says "By default this plugin uses the artifacts directory (where archived artifacts are stored)."

          The second one has no options to choose where the files are taken from, and from the help it is clear that the workspace is always used. When I generate a pipeline script with this one, everything works as expected, but I cannot copy from the artifacts directory.

          So, I would like to try the other one, which allows me to copy from the artifacts directory. However, when I try to generate the pipeline script, the output from  the snippet generator is always just "step <object of type jenkins.plugins.publish_over_cifs.CifsPromotionPublisherPlugin>". 

          So how can I publish over CIFS from the artifacts directory?

           

          Options if I choose the first "send artifacts to a windows share":

          !image-2018-12-05-15-50-07-224.png!

           

          And output:

          !image-2018-12-05-15-51-40-305.png!

           

          Options if I choose the second one:

          !image-2018-12-05-15-52-34-603.png!

          And output:

          !image-2018-12-05-15-53-04-196.png!
          slide_o_mix Alex Earl made changes -
          Assignee Alex Earl [ slide_o_mix ]

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            godskalk Øyvind R
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: