[JIRA] (JENKINS-37196) DSL for Violation Comments to GitHub Plugin

2016-08-10 Thread giriraj_...@yahoo.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Giriraj Gujar commented on  JENKINS-37196  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: DSL for Violation Comments to GitHub Plugin   
 

  
 
 
 
 

 
  Hi Tomas,  Thank you so much.  However I don't see it here: https://wiki.jenkins-ci.org/display/JENKINS/Violation+Comments+to+GitHub+Plugin  It is still showing "Latest Release" as 1.12 only?  Does it usually takes time to update on wiki?  Thanks, Giriraj  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-37196) DSL for Violation Comments to GitHub Plugin

2016-08-09 Thread giriraj_...@yahoo.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Giriraj Gujar commented on  JENKINS-37196  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: DSL for Violation Comments to GitHub Plugin   
 

  
 
 
 
 

 
  Basically, the problem I am facing, How to use Java class in a stand alone groovy script.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-37196) DSL for Violation Comments to GitHub Plugin

2016-08-08 Thread giriraj_...@yahoo.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Giriraj Gujar commented on  JENKINS-37196  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: DSL for Violation Comments to GitHub Plugin   
 

  
 
 
 
 

 
  Sure Tomas for the hint.  I will also see what I can do.  Let me know if you find out anything? will be huge favor.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-37196) DSL for Violation Comments to GitHub Plugin

2016-08-08 Thread giriraj_...@yahoo.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Giriraj Gujar commented on  JENKINS-37196  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: DSL for Violation Comments to GitHub Plugin   
 

  
 
 
 
 

 
  Hi Tomas,  Let me know if you have any suggestions.  It will be huge help.  Thanks, Giriraj  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-37196) DSL for Violation Comments to GitHub Plugin

2016-08-05 Thread giriraj_...@yahoo.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Giriraj Gujar edited a comment on  JENKINS-37196  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: DSL for Violation Comments to GitHub Plugin   
 

  
 
 
 
 

 
  Thanks Tomas for your reply once again. I tried adding at the top of my project and got following error:* ##*[mvn-dsl-giri] $ /bin/bash /tmp/hudson165362560657593151.shProcessing DSL script maven_pull_request_seed.groovyERROR: startup failed:workspace:/maven_pull_request_seed.groovy: 1: unable to resolve class org.jenkinsci.plugins.jvctg.config.ViolationConfig @ line 1, column 1.   import org.jenkinsci.plugins.jvctg.config.ViolationConfig;   ^workspace:/maven_pull_request_seed.groovy: 2: unable to resolve class se.bjurr.violations.lib.reports.Reporter @ line 2, column 1.   import se.bjurr.violations.lib.reports.Reporter;   ^2 errors* ##*So, Do I need to make this as Java programme? Like create pom etc or Is there a shorter way? How can I overcome from it? *  I am also attaching my groovy file so you can have a look. *  Please note, that's the only file I have in my DSL. Thanks, Giriraj  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-37196) DSL for Violation Comments to GitHub Plugin

2016-08-05 Thread giriraj_...@yahoo.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Giriraj Gujar edited a comment on  JENKINS-37196  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: DSL for Violation Comments to GitHub Plugin   
 

  
 
 
 
 

 
  Thanks Tomas for your reply once again. I tried adding at the top of my project and got following error:* ##*[mvn-dsl-giri] $ /bin/bash /tmp/hudson165362560657593151.shProcessing DSL script maven_pull_request_seed.groovyERROR: startup failed:workspace:/maven_pull_request_seed.groovy: 1: unable to resolve class org.jenkinsci.plugins.jvctg.config.ViolationConfig @ line 1, column 1.   import org.jenkinsci.plugins.jvctg.config.ViolationConfig;   ^workspace:/maven_pull_request_seed.groovy: 2: unable to resolve class se.bjurr.violations.lib.reports.Reporter @ line 2, column 1.   import se.bjurr.violations.lib.reports.Reporter;   ^2 errors*##*So, Do I need to make this as Java programme? Like create pom etc or Is there a shorter way? How can I overcome from it? * I am also attaching my groovy file so you can have a look. *  Please note, that's the only file I have in my DSL. Thanks, Giriraj  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-37196) DSL for Violation Comments to GitHub Plugin

2016-08-05 Thread giriraj_...@yahoo.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Giriraj Gujar edited a comment on  JENKINS-37196  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: DSL for Violation Comments to GitHub Plugin   
 

  
 
 
 
 

 
  Thanks Tomas for your reply once again. I tried adding at the top of my project and got following error:* ##*[mvn-dsl-giri] $ /bin/bash /tmp/hudson165362560657593151.shProcessing DSL script maven_pull_request_seed.groovyERROR: startup failed:workspace:/maven_pull_request_seed.groovy: 1: unable to resolve class org.jenkinsci.plugins.jvctg.config.ViolationConfig @ line 1, column 1.   import org.jenkinsci.plugins.jvctg.config.ViolationConfig;   ^workspace:/maven_pull_request_seed.groovy: 2: unable to resolve class se.bjurr.violations.lib.reports.Reporter @ line 2, column 1.   import se.bjurr.violations.lib.reports.Reporter;   ^2 errors* ##*So, Do I need to make this as Java programme? Like create pom etc or Is there a shorter way? How can I overcome from it? *  I am also attaching my groovy file so you can have a look. *  Please note, that's the only file I have in my DSL. Thanks, Giriraj  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-37196) DSL for Violation Comments to GitHub Plugin

2016-08-05 Thread giriraj_...@yahoo.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Giriraj Gujar edited a comment on  JENKINS-37196  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: DSL for Violation Comments to GitHub Plugin   
 

  
 
 
 
 

 
   Thanks Tomas for your reply once again. I tried adding at the top of my project and got following error:* ##*[mvn-dsl-giri] $ /bin/bash /tmp/hudson165362560657593151.shProcessing DSL script maven_pull_request_seed.groovyERROR: startup failed:workspace:/maven_pull_request_seed.groovy: 1: unable to resolve class org.jenkinsci.plugins.jvctg.config.ViolationConfig @ line 1, column 1.   import org.jenkinsci.plugins.jvctg.config.ViolationConfig;   ^workspace:/maven_pull_request_seed.groovy: 2: unable to resolve class se.bjurr.violations.lib.reports.Reporter @ line 2, column 1.   import se.bjurr.violations.lib.reports.Reporter;   ^2 errors* ##*So, Do I need to make this as Java programme? Like  crease  create  pom etc  or Is there a shorter way ? How can I overcome from it? I am also attaching my groovy file so you can have a look. Please note, that's the only file I have in my DSL. Thanks, Giriraj  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-37196) DSL for Violation Comments to GitHub Plugin

2016-08-05 Thread giriraj_...@yahoo.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Giriraj Gujar commented on  JENKINS-37196  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: DSL for Violation Comments to GitHub Plugin   
 

  
 
 
 
 

 
  Thanks Tomas for your reply once again.  I tried adding at the top of my project and got following error: 
 
##* 
 [mvn-dsl-giri] $ /bin/bash /tmp/hudson165362560657593151.sh Processing DSL script maven_pull_request_seed.groovy ERROR: startup failed: workspace:/maven_pull_request_seed.groovy: 1: unable to resolve class org.jenkinsci.plugins.jvctg.config.ViolationConfig @ line 1, column 1. import org.jenkinsci.plugins.jvctg.config.ViolationConfig; ^ workspace:/maven_pull_request_seed.groovy: 2: unable to resolve class se.bjurr.violations.lib.reports.Reporter @ line 2, column 1. import se.bjurr.violations.lib.reports.Reporter; ^ 2 errors 
 
##* 
 So, Do I need to make this as Java programme? Like crease pom etc?  How can I overcome from it?  I am also attaching my groovy file so you can have a look.  Please note, that's the only file I have in my DSL.  Thanks, Giriraj  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails 

[JIRA] (JENKINS-37196) DSL for Violation Comments to GitHub Plugin

2016-08-05 Thread giriraj_...@yahoo.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Giriraj Gujar updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-37196  
 
 
  DSL for Violation Comments to GitHub Plugin   
 

  
 
 
 
 

 
Change By: 
 Giriraj Gujar  
 
 
Attachment: 
 maven_pull_request_seed.groovy  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-37196) DSL for Violation Comments to GitHub Plugin

2016-08-05 Thread giriraj_...@yahoo.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Giriraj Gujar edited a comment on  JENKINS-37196  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: DSL for Violation Comments to GitHub Plugin   
 

  
 
 
 
 

 
   Hi Tomas, Thank you so much for replying. I tried what you suggested and put following configuration in my groovy file:** violationsToGitHubRecorder { useUsernamePasswordCredentials(true) usernamePasswordCredentialsId('false') useOAuth2Token(false) useUsernamePassword(false) createSingleFileComments(true) createCommentWithAllSingleFileComments(false) repositoryName(repoName) repositoryOwner('jen1') password('') username('') oAuth2Token('') pullRequestId('${ghprbPullId}') gitHubUrl('https://github.inmobi.com/api/v3') commentOnlyChangedContent(true) *  violationConfigs: [   new ViolationConfig(Reporter.FINDBUGS, ".*/target/.*findbugsXml.xml\$") ] *  }**However when I ran this configuration from the jenkins build then I got following error:**[mvn-dsl-giri] $ /bin/bash /tmp/hudson5411659904445564162.shProcessing DSL script maven_pull_request_seed.groovyERROR: startup failed:workspace:/maven_pull_request_seed.groovy: 91: unable to resolve class ViolationConfig  @ line 91, column 20. new ViolationConfig(Reporter.FINDBUGS, ".*/target/.*findbugsXml.xml\$") ^1 error**Is there a typo we are doing?*Please note, I am running jenkins version 2.16 and "Violation Comments to GitHub Plugin version as 1.12".*I've also attached the screenshot of the error for clarity. Let me know your feedback.And This is huge help.Thanks,Giriraj  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 

[JIRA] (JENKINS-37196) DSL for Violation Comments to GitHub Plugin

2016-08-05 Thread giriraj_...@yahoo.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Giriraj Gujar edited a comment on  JENKINS-37196  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: DSL for Violation Comments to GitHub Plugin   
 

  
 
 
 
 

 
   Hi Tomas, Thank you so much for replying. I tried what you suggested and put following configuration in my groovy file:** violationsToGitHubRecorder { useUsernamePasswordCredentials(true) usernamePasswordCredentialsId('false') useOAuth2Token(false) useUsernamePassword(false) createSingleFileComments(true) createCommentWithAllSingleFileComments(false) repositoryName(repoName) repositoryOwner('jen1') password('') username('') oAuth2Token('') pullRequestId('${ghprbPullId}') gitHubUrl('https://github.inmobi.com/api/v3') commentOnlyChangedContent(true)* violationConfigs: [   new ViolationConfig(Reporter.FINDBUGS, ".*/target/.*findbugsXml.xml\$") ]* }**However when I ran this configuration from the jenkins build then I got following error:**[mvn-dsl-giri] $ /bin/bash /tmp/hudson5411659904445564162.shProcessing DSL script maven_pull_request_seed.groovyERROR: startup failed:workspace:/maven_pull_request_seed.groovy: 91: unable to resolve class ViolationConfig  @ line 91, column 20. new ViolationConfig(Reporter.FINDBUGS, ".*/target/.*findbugsXml.xml\$") ^1 error**Is there a typo we are doing?*Please note, I am running jenkins version 2.16 and "Violation Comments to GitHub Plugin version as 1.12".* I've also attached the screenshot of the error for clarity. Let me know your feedback.And This is huge help.Thanks,Giriraj  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
   

[JIRA] (JENKINS-37196) DSL for Violation Comments to GitHub Plugin

2016-08-05 Thread giriraj_...@yahoo.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Giriraj Gujar updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-37196  
 
 
  DSL for Violation Comments to GitHub Plugin   
 

  
 
 
 
 

 
Change By: 
 Giriraj Gujar  
 
 
Attachment: 
 jenkins.png  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-37196) DSL for Violation Comments to GitHub Plugin

2016-08-05 Thread giriraj_...@yahoo.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Giriraj Gujar commented on  JENKINS-37196  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: DSL for Violation Comments to GitHub Plugin   
 

  
 
 
 
 

 
  Hi Tomas,  Thank you so much for replying.  I tried what you suggested and put following configuration in my groovy file:  violationsToGitHubRecorder { useUsernamePasswordCredentials(true) usernamePasswordCredentialsId('false') useOAuth2Token(false) useUsernamePassword(false) createSingleFileComments(true) createCommentWithAllSingleFileComments(false) repositoryName(repoName) repositoryOwner('jen1') password('') username('') oAuth2Token('') pullRequestId('$ {ghprbPullId} ') gitHubUrl('https://github.inmobi.com/api/v3') commentOnlyChangedContent(true) 
 
violationConfigs: [ new ViolationConfig(Reporter.FINDBUGS, ".*/target/.*findbugsXml.xml\$") ]* 
  }  However when I ran this configuration from the jenkins build then I got following error:  [mvn-dsl-giri] $ /bin/bash /tmp/hudson5411659904445564162.sh Processing DSL script maven_pull_request_seed.groovy ERROR: startup failed: workspace:/maven_pull_request_seed.groovy: 91: unable to resolve class ViolationConfig  @ line 91, column 20. new ViolationConfig(Reporter.FINDBUGS, ".*/target/.*findbugsXml.xml\$") ^ 1 error  Is there a typo we are doing? Please note, I am running jenkins version 2.16 and "Violation Comments to GitHub Plugin version as 1.12". Let me know your feedback. And This is huge help. Thanks, Giriraj  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

[JIRA] (JENKINS-37196) DSL for Violation Comments to GitHub Plugin

2016-08-04 Thread giriraj_...@yahoo.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Giriraj Gujar created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-37196  
 
 
  DSL for Violation Comments to GitHub Plugin   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Tomas Bjerre  
 
 
Attachments: 
 violation.png  
 
 
Components: 
 violation-comments-to-github-plugin  
 
 
Created: 
 2016/Aug/05 12:53 AM  
 
 
Priority: 
  Minor  
 
 
Reporter: 
 Giriraj Gujar  
 

  
 
 
 
 

 
 Hi Tomas, I hope you are doing great. I needed small info, basically it is the DSL code for "Violation Comments to GitHub Plugin“ Actually I have most of the below code: ## violationsToGitHubRecorder { createSingleFileComments(true) createCommentWithAllSingleFileComments(false) repositoryName(repoName) repositoryOwner(‘jen1') password('') username('') oAuth2Token('') pullRequestId('$ {ghprbPullId} ') gitHubUrl('https://github.inmobi.com/api/v3') commentOnlyChangedContent(true) usernamePasswordCredentialsId('false') useOAuth2Token(false) useUsernamePassword(false) useUsernamePasswordCredentials(true) ### However the problem is how to to add “pattern” part to it? so it get automatically comes up? If you see the screen shot, then there is nothing coming under pattern block? Let me know if you have any inputs to share? Thanks, Giiraj  
 

  
 
 
 
 

 
 
 

 
 

[JIRA] (JENKINS-30895) Add testNG plugin support

2016-06-15 Thread giriraj_...@yahoo.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Giriraj Gujar commented on  JENKINS-30895  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Add testNG plugin support   
 

  
 
 
 
 

 
  Hi Daniel,  Was it really added? B'coz I am unable to locate it?  Is it possible for you to point me to the url?  Thanks, Giriraj  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-35956) GITHUB pull request builder with job DSL

2016-06-15 Thread giriraj_...@yahoo.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Giriraj Gujar edited a comment on  JENKINS-35956  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: GITHUB pull request builder with job DSL   
 

  
 
 
 
 

 
  I read here(https://github.com/jenkinsci/job-dsl-plugin/wiki/The-Configure-Block) that we can configure it,  How can it be done in my case? *   *  How can I add a configure statement where I can add "addTestResults(true)" to my Job DSL.* Please help  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-35956) GITHUB pull request builder with job DSL

2016-06-15 Thread giriraj_...@yahoo.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Giriraj Gujar edited a comment on  JENKINS-35956  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: GITHUB pull request builder with job DSL   
 

  
 
 
 
 

 
   I read here(https://github.com/jenkinsci/job-dsl-plugin/wiki/The-Configure-Block) that we can configure it,  How can it be done in my case? *  How can I add a configure statement where I can add "addTestResults(true)" to my Job DSL. *  Please help  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-35956) GITHUB pull request builder with job DSL

2016-06-15 Thread giriraj_...@yahoo.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Giriraj Gujar updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-35956  
 
 
  GITHUB pull request builder with job DSL   
 

  
 
 
 
 

 
Change By: 
 Giriraj Gujar  
 

  
 
 
 
 

 
 Hey guys,Need some help here.Following is my DSL script:##def projectParts = "${gitProject}".split('/')def org = projectParts[0]assert 2 == projectParts.length : "git proejct name must be of the form orgname/reponame"folder(org) {}job("${gitProject}") {label('Aws-slave')scm {git {remote {github("${gitProject}", protocol = 'ssh', host = 'github.inmo.com')refspec('+refs/pull/:refs/remotes/origin/pr/')}branch('${sha1}')}}triggers {pullRequest {admin('svn')cron('H/2 * * * *')triggerPhrase('OK to test')useGitHubHooks()permitAll()extensions {commitStatus {context('jenkins-build') * addTestResults(true) * completedStatus('SUCCESS', 'All is well')completedStatus('FAILURE', 'Something went wrong. Investigate!')completedStatus('ERROR', 'Something went really wrong. Investigate!')steps {maven {goals('clean')goals('install')mavenInstallation('Maven 3.1.1')}}}##However when I run this job from jenkins as my seed job, then I am getting following error: * Processing provided DSL scriptWarning: (script, line 21) pullRequest is deprecatedERROR: (script, line 30) No signature of method: javaposse.jobdsl.dsl.helpers.triggers.GitHubPullRequestBuilderCommitStatusContext.addTestResults() is applicable for argument types: (java.lang.Boolean) values: [true]Finished: FAILURE * The line number 30 is: * addTestResults(true) * Any idea, what am I missing here?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

   

[JIRA] (JENKINS-35956) GITHUB pull request builder with job DSL

2016-06-15 Thread giriraj_...@yahoo.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Giriraj Gujar commented on  JENKINS-35956  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: GITHUB pull request builder with job DSL   
 

  
 
 
 
 

 
  I read here(https://github.com/jenkinsci/job-dsl-plugin/wiki/The-Configure-Block) that we can configure it,   How can it be done in my case?  How can I add a configure statement where I can add "addTestResults(true)" to my Job DSL.  Please help  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-35956) GITHUB pull request builder with job DSL

2016-06-15 Thread giriraj_...@yahoo.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Giriraj Gujar created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-35956  
 
 
  GITHUB pull request builder with job DSL   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Daniel Spilker  
 
 
Components: 
 job-dsl-plugin  
 
 
Created: 
 2016/Jun/15 3:17 PM  
 
 
Priority: 
  Critical  
 
 
Reporter: 
 Giriraj Gujar  
 

  
 
 
 
 

 
 Hey guys, Need some help here. Following is my DSL script: ## def projectParts = "$ {gitProject}".split('/') def org = projectParts[0] assert 2 == projectParts.length : "git proejct name must be of the form orgname/reponame"  folder(org) { }  job("${gitProject} ") { label('Aws-slave') scm { git { remote { github("$ {gitProject} ", protocol = 'ssh', host = 'github.inmo.com') refspec('+refs/pull/:refs/remotes/origin/pr/') } branch('$ {sha1} ') } } triggers { pullRequest { admin('svn') cron('H/2 * * * *') triggerPhrase('OK to test') useGitHubHooks() permitAll() extensions { commitStatus  { context('jenkins-build') addTestResults(true) completedStatus('SUCCESS', 'All is well') completedStatus('FAILURE', 'Something went wrong. Investigate!') completedStatus('ERROR', 'Something went really wrong. Investigate!') } } } } steps { maven  { goals('clean') goals('install') mavenInstallation('Maven 3.1.1') } } } ## However when I run this job from jenkins as my seed job, then I am getting following error: Processing provided DSL script Warning: (script, line 21) pullRequest is deprecated ERROR: (script, line 30) No signature of method: javaposse.jobdsl.dsl.helpers.triggers.GitHubPullRequestBuilderCommitStatusContext.addTestResults() is applicable for argument types: (java.lang.Boolean) values: [true] Finished: FAILURE The line number 30 is: addTestResults(true) Any idea, what am I missing here?