CIFS plugin debug messages

327 views
Skip to first unread message

Pritesh Saharey

unread,
Dec 30, 2015, 9:51:52 AM12/30/15
to jenkins...@googlegroups.com
Hi All,
I am using “Publish over CIFS Plugin” 0.3v, I configured it as per documentation https://wiki.jenkins-ci.org/display/JENKINS/Publish+Over+CIFS+Plugin even Test Configuration gives me success messages , I am suing it under Post build step in job as “Send build artifact to a Windows share” copying is never successful logs just shows:
 
CIFS: Connecting from host [vl-pun-rie-bl47]
CIFS: Connecting with configuration [WinRLM-17] ...
CIFS: Disconnecting configuration [WinRLM-17] ...
CIFS: Transferred 0 file(s)
 
That’s all no debug or error message, this plugin is not even generating proper logs to show what’s going wrong with my inputs. Attaching screen shot of my job configuration page can anyone let me know if there anyway I can debug where things are going wrong, for convenience my entries are like this:
 
 Source Files: ${WORKSPACE}/lib/** [Contains all required jar files]
Remove prefix: ${WORKSPACE}
Remote directory: lib [Subfolder under shared folder]
 
I even tried with absolute source path of my artifacts, I am ready to send my job config.xml file of this project which only contains CIFS entry
 
 
Thanks,
Jhoom
CIFS_ISSUE.JPG

Victor Martinez

unread,
Dec 30, 2015, 10:16:47 AM12/30/15
to Jenkins Users, jhooms...@netscape.net
Hi,

You can try to use the below logger setup in order to grab further details:



So you can add the below loggers in your logging setup:

jenkins.plugins.publish_over.*

You can see whether those classes have got any logger setup:


I hope it helps

Cheers

Pritesh Saharey

unread,
Dec 30, 2015, 12:25:33 PM12/30/15
to victormar...@gmail.com, jenkins...@googlegroups.com
Hi
looks like I am doing something wrong here, I created new Log Recorder and configured as mentioned here https://wiki.jenkins-ci.org/display/JENKINS/Logging, but new log recorder is empty, this is what I configured:
 
Name: Investigating CISF copy issue
Loggers: jenkins.plugins.publish_over.*
Log Level: All
 
do I need to do something more?
 
Thanks for your help
Jhoom

Victor Martinez

unread,
Dec 30, 2015, 12:32:35 PM12/30/15
to Pritesh Saharey, jenkins...@googlegroups.com

I'm not sure now if the wildcards is supported, can you set the class instead?

I believe if you type jenkins.plugins.publish_over.  It should show the list of available classes.

Cheer

Pritesh Saharey

unread,
Dec 31, 2015, 4:05:49 AM12/31/15
to jenkins...@googlegroups.com
I am able to resolve the issue, we should not give absolute path but should use relative path so after making changes in Source File path
Source Files: lib/**
it started working,
Thanks for all your help related to logger
 
-- Jhoom 
 
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CANRA0vdiswcuhTJTh4R3v9vLyuDyLdRwTfmenE%3DKt0dyA9_c%2BA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages