[JIRA] [job-dsl-plugin] (JENKINS-28695) job-dsl allocatePorts does not work

2015-06-03 Thread andreas.holz...@tngtech.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Andreas Holzner commented on  JENKINS-28695 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: job-dsl allocatePorts does not work  
 
 
 
 
 
 
 
 
 
 
The logs did no show anything so I did not make the connection to the FAQ item. Restarting helped, thanks. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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] [job-dsl-plugin] (JENKINS-28695) job-dsl allocatePorts does not work

2015-06-03 Thread andreas.holz...@tngtech.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Andreas Holzner closed an issue as Not A Defect 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Jenkins /  JENKINS-28695 
 
 
 
  job-dsl allocatePorts does not work  
 
 
 
 
 
 
 
 
 

Change By:
 
 Andreas Holzner 
 
 
 

Status:
 
 Open Closed 
 
 
 

Resolution:
 
 NotADefect 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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] [job-dsl-plugin] (JENKINS-28695) job-dsl allocatePorts does not work

2015-06-02 Thread andreas.holz...@tngtech.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Andreas Holzner created an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Jenkins /  JENKINS-28695 
 
 
 
  job-dsl allocatePorts does not work  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Assignee:
 
 Daniel Spilker 
 
 
 

Components:
 

 job-dsl-plugin, port-allocator-plugin 
 
 
 

Created:
 

 02/Jun/15 2:44 PM 
 
 
 

Environment:
 

 Jenkins 1.596.3 LTS, job-dsl-plugin 1.34, port-allocator-plugin 1.8 
 
 
 

Priority:
 
  Minor 
 
 
 

Reporter:
 
 Andreas Holzner 
 
 
 
 
 
 
 
 
 
 
I fail to create a job with an unique TCP port allocated via job-dsl. The following DSL  

 

freeStyleJob('Test Port Allocation') {
  wrappers {
allocatePorts 'WEBAPP_HOST_PORT'
  }

  steps {
shell 'env'
  }
}
 

 
generates a Job but the TCP port is missing in the web gui configuration page. When running the generated job no port is allocated. 
The generated config.xml, however, does contain a buildWrappers section about the port:  

 

buildWrappers
org.jvnet.hudson.plugins.port__allocator.PortAllocator
ports
org.jvnet.hudson.plugins.port__allocator.DefaultPortType