[JIRA] (JENKINS-39676) Cannot populate servers via groovy script

2016-11-11 Thread s...@ganeti.pl (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Sebastian Maj updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-39676  
 
 
  Cannot populate servers via groovy script   
 

  
 
 
 
 

 
Change By: 
 Sebastian Maj  
 
 
Environment: 
 ava Centos 7.2java -1.8.0-openjdk-1.8.0.111-1.b15.el7_2jenkins-2.19.2-1.1Active Directory plugin 2.0  
 

  
 
 
 
 

 
 
 

 
 
 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-39676) Cannot populate servers via groovy script

2016-11-11 Thread s...@ganeti.pl (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Sebastian Maj updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-39676  
 
 
  Cannot populate servers via groovy script   
 

  
 
 
 
 

 
Change By: 
 Sebastian Maj  
 
 
Environment: 
 ava-1.8.0-openjdk-1.8.0.111-1.b15.el7_2 jenkins-2.19.2-1.1Active Directory plugin 2.0  
 

  
 
 
 
 

 
 
 

 
 
 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-39676) Cannot populate servers via groovy script

2016-11-11 Thread s...@ganeti.pl (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Sebastian Maj created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-39676  
 
 
  Cannot populate servers via groovy script   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Félix Belzunce Arcos  
 
 
Components: 
 active-directory-plugin  
 
 
Created: 
 2016/Nov/11 6:12 PM  
 
 
Environment: 
 jenkins-2.19.2-1.1  Active Directory plugin 2.0  
 
 
Priority: 
  Critical  
 
 
Reporter: 
 Sebastian Maj  
 

  
 
 
 
 

 
 Using groovy script like this: 

import jenkins.model.* import hudson.security.* import hudson.plugins.active_directory.* 
def instance = Jenkins.getInstance() String domain = 'mydomain.com' String site = null String server = 'my_ldap_server' String bindName = null String bindPassword = null 
adrealm = new ActiveDirectorySecurityRealm(domain, site, bindName, bindPassword, server) instance.setSecurityRealm(adrealm) 
instance.save()
 field domain controllers remains empty. This was working in previous version of plugin and it's somehow related to multiple domain support.   
 

  
 
 
 
 

 
 
 
   

[JIRA] (JENKINS-39676) Cannot populate servers via groovy script

2016-11-11 Thread s...@ganeti.pl (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Sebastian Maj updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-39676  
 
 
  Cannot populate servers via groovy script   
 

  
 
 
 
 

 
Change By: 
 Sebastian Maj  
 
 
Priority: 
 Critical Major  
 

  
 
 
 
 

 
 
 

 
 
 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.