[JIRA] (JENKINS-50506) http-builder-ng-core-*.jar from Pipeline shared library

2018-03-31 Thread f...@entelo.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Fred Vogt created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-50506  
 
 
  http-builder-ng-core-*.jar from Pipeline shared library   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Unassigned  
 
 
Components: 
 pipeline  
 
 
Created: 
 2018-04-01 03:15  
 
 
Environment: 
 Jenkins 2.113  
 
 
Labels: 
 JEP-200  
 
 
Priority: 
  Minor  
 
 
Reporter: 
 Fred Vogt  
 

  
 
 
 
 

 
 Server log: 

 

WARNING groovyx.net.http.JavaHttpBuilder$Action$JavaFromServer in file:/var/jenkins_home/.groovy/grapes/io.github.http-builder-ng/http-builder-ng-core/jars/http-builder-ng-core-1.0.3.jar might be dangerous, so rejecting; see https://jenkins.io/redirect/class-filter/
 

  
 

  
 
 
 
 

 
 
 

 
 
  

[JIRA] (JENKINS-50506) http-builder-ng-core-*.jar from Pipeline shared library

2018-03-31 Thread f...@entelo.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Fred Vogt commented on  JENKINS-50506  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: http-builder-ng-core-*.jar from Pipeline shared library   
 

  
 
 
 
 

 
 Shared Library src/: 

 

package ...

@Grapes(
@Grab(group='io.github.http-builder-ng', module='http-builder-ng-okhttp', version='1.0.3')
)

import groovyx.net.http.HttpBuilder

class ... {
@NonCPS
static def ...(...) {
return HttpBuilder.configure {
request.uri = '...'
}.get {
request.uri.path = '/...'
request.uri.query = [...]
}
}
}
 

  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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-50506) http-builder-ng-core-*.jar from Pipeline shared library

2018-03-31 Thread f...@entelo.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Fred Vogt commented on  JENKINS-50506  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: http-builder-ng-core-*.jar from Pipeline shared library   
 

  
 
 
 
 

 
 Exception Stack Trace (interesting part): 

 

hudson.remoting.ProxyException: groovyx.net.http.HttpException: Not Found
	at groovyx.net.http.NativeHandlers.failure(NativeHandlers.java:69)
	at groovyx.net.http.HttpBuilder$ResponseHandlerFunction.apply(HttpBuilder.java:2305)
	at groovyx.net.http.JavaHttpBuilder$Action.lambda$execute$2(JavaHttpBuilder.java:168)
	at groovyx.net.http.JavaHttpBuilder$ThreadLocalAuth.with(JavaHttpBuilder.java:331)
	at groovyx.net.http.JavaHttpBuilder$Action.execute(JavaHttpBuilder.java:122)
	at groovyx.net.http.JavaHttpBuilder.createAndExecute(JavaHttpBuilder.java:374)
	at groovyx.net.http.JavaHttpBuilder.doGet(JavaHttpBuilder.java:381)
	at groovyx.net.http.HttpObjectConfigImpl.nullInterceptor(HttpObjectConfigImpl.java:47)
	at groovyx.net.http.HttpBuilder.get(HttpBuilder.java:346)
	at groovyx.net.http.HttpBuilder.get(HttpBuilder.java:1297)
 

  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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-50506) http-builder-ng-core-*.jar from Pipeline shared library

2018-03-31 Thread f...@entelo.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Fred Vogt commented on  JENKINS-50506  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: http-builder-ng-core-*.jar from Pipeline shared library   
 

  
 
 
 
 

 
 I could use http_request plugin instead.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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-50506) http-builder-ng-core-*.jar from Pipeline shared library

2018-04-01 Thread f...@entelo.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Fred Vogt commented on  JENKINS-50506  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: http-builder-ng-core-*.jar from Pipeline shared library   
 

  
 
 
 
 

 
 After thinking about this a bit, the issue may be what is being returned from the NonCPS static method.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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-50506) http-builder-ng-core-*.jar from Pipeline shared library

2018-04-01 Thread f...@entelo.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Fred Vogt closed an issue as Not A Defect  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Needs to be re-tested.  
 

  
 
 
 
 

 
 Jenkins /  JENKINS-50506  
 
 
  http-builder-ng-core-*.jar from Pipeline shared library   
 

  
 
 
 
 

 
Change By: 
 Fred Vogt  
 
 
Status: 
 Open Closed  
 
 
Resolution: 
 Not A Defect  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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.