2
votes

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)

1
Please add the configuration in Jenkins. - StephenKing
Publish over CIFS -> CIFS Share: name: Websites, Hostname:srvdes3, username:-----, password: ----, Share: WebStites. The test configuration is successful - ABT
Thx. Please edit your question. Where's the publish and development coming from? - StephenKing
Thank you Stephen. My problem here is fixed - ABT
Please post your solution as an answer so that this question can be marked as solved. Glad that I could help. - StephenKing

1 Answers

3
votes

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)