kaushal_1
13 years agoNew Contributor
Error 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
Kaushal
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
Kaushal