Contributions
Re: Path of the file uploaded in the server (for static analysis)
Hi, We used the "wget" command to fetch the files (for a particular reviewId "ccollab admin wget /data/server?versionid=<version id>"), exactly as suggested by Luis Luna, and it worked for us. It seems that we can utilize "wget" for a lot of different things (while working on command line ccollab), so it will be nice if you could improve the documentation (http://support.smartbear.com/viewarticle/25602/) for this (with more sample usage). I appreciate the help. Regards, Kaushal1.1KViews0likes0CommentsPath of the file uploaded in the server (for static analysis)
Hi, I am trying to integrate the static analysis with CodeCollaborator. In sequence of this i have written a trigger which gets executed when a review is created. This trigger will invoke PMD, with intention to do a static analysis of the file (which is uploaded for review). I would like to know if there is a mechanism to figure out the path of the file which got uploaded. While checking the internal structure i found that the files got uploaded under "CodeCollaborator Server\tomcat\collaborator-content-cache\...", but with some wage name like "2353b70deb259e6b72f04de0d0a3b476". Can you please suggest how can we achieve this, is there any API which we can use. Regards, Kaushal7.7KViews0likes2CommentsError invoking groovy script from trigger
Hi, I am trying to add a comment to the review file using groovy, but I am getting the following error java.io.IOException: ccollab --url http://localhost:8080 --user ***** --password ***** --quiet --non-interactive admin review comment create --file MyFile.java --line-number 30 1 Firstautocomment CreateProcess: error=2. Any thoughts why it could not be working. The script works fine when I execute it from command prompt or groovy ui. Can you please provide some input on this. My trigger configuration Executable:C:\Software\groovy-2.0.2\bin\groovy.exe Parameter:C:\CodecollabratorDemo\temp\ParseFB.groovy Thanks in advance Kaushal7.2KViews0likes1Comment