[JIRA] (JENKINS-38424) Cannot configure Global Pipeline Libraries

2016-09-22 Thread sotoisr...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Israel Sotomayor commented on  JENKINS-38424  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Cannot configure Global Pipeline Libraries   
 

  
 
 
 
 

 
 Same problem here when loading the library from Jenkinsfile I can see: 

 

Loading library github.com/moltin/jenkins-pipeline-library@master
Creating git repository in /var/jenkins_home/caches/git-10e1b910805192749e5be85c3935e6d6
 > git init /var/jenkins_home/caches/git-10e1b910805192749e5be85c3935e6d6 # timeout=10
Setting origin to https://github.com/moltin/jenkins-pipeline-library.git
 

 But when trying to use the Global Configuration the following it's thrown: 

 

Loading library github.com/moltin/jenkins-pipeline-library@branches/master
java.lang.NullPointerException
	at org.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.retrieve(SCMSourceRetriever.java:74)
	at org.jenkinsci.plugins.workflow.libs.LibraryAdder.retrieve(LibraryAdder.java:150)
	at org.jenkinsci.plugins.workflow.libs.LibraryAdder.add(LibraryAdder.java:131)
 

 So something different it's happening when loading the library from the Jenkinsfile vs Global configuration which works  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

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

 
   
 

  
 

 

[JIRA] (JENKINS-31155) Workflow shared library improvements

2016-09-17 Thread sotoisr...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Israel Sotomayor commented on  JENKINS-31155  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Workflow shared library improvements   
 

  
 
 
 
 

 
 Same problem here when loading the library from Jenkinsfile I can see: 

 

Loading library github.com/moltin/jenkins-pipeline-library@master
Creating git repository in /var/jenkins_home/caches/git-10e1b910805192749e5be85c3935e6d6
 > git init /var/jenkins_home/caches/git-10e1b910805192749e5be85c3935e6d6 # timeout=10
Setting origin to https://github.com/moltin/jenkins-pipeline-library.git
 

 But when trying to use the Global Configuration the following it's thrown: 

 

Loading library github.com/moltin/jenkins-pipeline-library@branches/master
java.lang.NullPointerException
	at org.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.retrieve(SCMSourceRetriever.java:74)
	at org.jenkinsci.plugins.workflow.libs.LibraryAdder.retrieve(LibraryAdder.java:150)
	at org.jenkinsci.plugins.workflow.libs.LibraryAdder.add(LibraryAdder.java:131)
 

 So something different it's happening when loading the library from the Jenkinsfile vs Global configuration  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

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