jenkinscifs

Publish over CIFS Plugin


I am using “Publish over CIFS Plugin”. Test Configuration gives me success messages , I am using it under Post build step in job as “Send build artifact to a Windows share”. Logs just shows:

CIFS: Connecting from host [--------]
CIFS: Connecting with configuration [WebSites] ...
CIFS: Disconnecting configuration [WebSites] ...
CIFS: Transferred 0 file(s)
Finished: SUCCESS

My job configuration is like this:

Source Files: publish
Remove prefix: publish
Remote directory: CCDEVWEB0/FIRECOM/DEVELOPMENT

Configuration system:

Publish over CIFS -> CIFS Share: 
name: Websites,
Hostname:srvdes3,
username:-----,
password: ----,
Share: WebStites.

(The test configuration is successful)

It always transfer 0 files.

Can anyone help me? Thanks

I have publish in my workspace. (workspace/publish)

And development is in my server (CCDEVWEB0/FIRECOM/DEVELOPMENT)

SOLVED: In this case the problem was my job configuration. It should be like this:

Source Files: publish/*.*
Remove prefix: publish/
Remote directory: CCDEVWEB0/FIRECOM/DEVELOPMENT

(I had problems sending all files together so I had to send them folder by folder)


Solution

  • SOLVED:

    In this case the problem was my job configuration. It should be like this:

    Source Files: publish/*.*
    Remove prefix: publish/
    Remote directory: CCDEVWEB0/FIRECOM/DEVELOPMENT
    

    (I had problems sending all files together so I had to send them folder by folder)