[JIRA] (JENKINS-42138) swarm-client-3.3-jar-with-dependencies is missing from repo.jenkins-ci.org

2017-03-17 Thread jami.li...@f-secure.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jami Lindh commented on  JENKINS-42138  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: swarm-client-3.3-jar-with-dependencies is missing from repo.jenkins-ci.org   
 

  
 
 
 
 

 
 swarm-client-3.3.jar seems to contain the dependencies, yes. Closing the ticket.  
 

  
 
 
 
 

 
 
 

 
 
 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-42138) swarm-client-3.3-jar-with-dependencies is missing from repo.jenkins-ci.org

2017-03-17 Thread jami.li...@f-secure.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jami Lindh resolved as Not A Defect  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-42138  
 
 
  swarm-client-3.3-jar-with-dependencies is missing from repo.jenkins-ci.org   
 

  
 
 
 
 

 
Change By: 
 Jami Lindh  
 
 
Status: 
 Open Resolved  
 
 
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.


[JIRA] (JENKINS-42138) swarm-client-3.3-jar-with-dependencies is missing from repo.jenkins-ci.org

2017-03-17 Thread jami.li...@f-secure.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jami Lindh commented on  JENKINS-42138  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: swarm-client-3.3-jar-with-dependencies is missing from repo.jenkins-ci.org   
 

  
 
 
 
 

 
 If that is the case then, great! I can try running swarm-client-3.3.jar later today .  
 

  
 
 
 
 

 
 
 

 
 
 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-42138) swarm-client-3.3-jar-with-dependencies is missing from repo.jenkins-ci.org

2017-03-14 Thread jami.li...@f-secure.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jami Lindh commented on  JENKINS-42138  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: swarm-client-3.3-jar-with-dependencies is missing from repo.jenkins-ci.org   
 

  
 
 
 
 

 
 Kohsuke Kawaguchi any updates on this ticket?  
 

  
 
 
 
 

 
 
 

 
 
 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-42138) swarm-client-3.3-jar-with-dependencies is missing from repo.jenkins-ci.org

2017-02-16 Thread jami.li...@f-secure.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jami Lindh updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-42138  
 
 
  swarm-client-3.3-jar-with-dependencies is missing from repo.jenkins-ci.org   
 

  
 
 
 
 

 
Change By: 
 Jami Lindh  
 

  
 
 
 
 

 
 *Current behavior:*There is no {{swarm-client-3.3-jar-with-dependencies.jar}} in https://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/swarm-client/3.3/There is no mention of this breaking change in the documentation nor in the changelog at https://wiki.jenkins-ci.org/display/JENKINS/Swarm+Plugin*Expected behaviour:*The mentioned {{JAR}}-file is available *or* {{README}} / {{CHANGELOG}} is updated to include this change  and how to proceed with {{swarm-client-3 . 3.jar}}.  
 

  
 
 
 
 

 
 
 

 
 
 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-42138) swarm-client-3.3-jar-with-dependencies is missing from repo.jenkins-ci.org

2017-02-16 Thread jami.li...@f-secure.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jami Lindh created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-42138  
 
 
  swarm-client-3.3-jar-with-dependencies is missing from repo.jenkins-ci.org   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Kohsuke Kawaguchi  
 
 
Components: 
 swarm-plugin  
 
 
Created: 
 2017/Feb/17 7:09 AM  
 
 
Priority: 
  Major  
 
 
Reporter: 
 Jami Lindh  
 

  
 
 
 
 

 
 Current behavior: There is no swarm-client-3.3-jar-with-dependencies.jar in https://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/swarm-client/3.3/ There is no mention of this breaking change in the documentation nor in the changelog at https://wiki.jenkins-ci.org/display/JENKINS/Swarm+Plugin Expected behaviour: The mentioned JAR-file is available or README / CHANGELOG is updated to include this change.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  

[JIRA] (JENKINS-41202) Managed Configuration Files cannot be saved or used

2017-01-19 Thread jami.li...@f-secure.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jami Lindh resolved as Fixed  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-41202  
 
 
  Managed Configuration Files cannot be saved or used   
 

  
 
 
 
 

 
Change By: 
 Jami Lindh  
 
 
Status: 
 Open Resolved  
 
 
Resolution: 
 Fixed  
 

  
 
 
 
 

 
 
 

 
 
 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-41202) Managed Configuration Files cannot be saved or used

2017-01-19 Thread jami.li...@f-secure.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jami Lindh commented on  JENKINS-41202  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Managed Configuration Files cannot be saved or used   
 

  
 
 
 
 

 
 The bug is now fixed, thank you !  
 

  
 
 
 
 

 
 
 

 
 
 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-41202) Managed Configuration Files cannot be saved or used

2017-01-19 Thread jami.li...@f-secure.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jami Lindh commented on  JENKINS-41202  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Managed Configuration Files cannot be saved or used   
 

  
 
 
 
 

 
 Ok! Thank you. Will fix the XML-file and report back with the results.  
 

  
 
 
 
 

 
 
 

 
 
 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-41202) Managed Configuration Files cannot be saved or used

2017-01-19 Thread jami.li...@f-secure.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jami Lindh commented on  JENKINS-41202  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Managed Configuration Files cannot be saved or used   
 

  
 
 
 
 

 
 Here are the (redacted) contents of the files you mentioned. Could you, Oliver Gondža, check the XML-tags. I'm not sure I understood your comment correctly. Also, none of the configurations saved in the last file are visible Jenkins >> Manage Jenkins >> Managed Files menu (Nor usable by openstack-cloud-plugin)! 


jenkins.plugins.openstack.compute.UserDataConfig.xml

 


"openstack-cloud@2.15">
  "empty-map"/>

 

 


org.jenkinsci.plugins.configfiles.GlobalConfigFiles.xml

 


"config-file-provider@2.15.4">
  "sorted-set">
"org.jenkinsci.plugins.configfiles.GlobalConfigFiles$1"/>
"openstack-cloud@2.17">
  43ff79ea-0339-4d06-90dc-bbab4419ec64
   !!! REDACTED !!! 
  
   !!! REDACTED !!! 
  jenkins.plugins.openstack.compute.UserDataConfig


  883fa0f5-77a6-42a1-a7bb-e8253511db2c
  JsonConfig
  
  {}
  org.jenkinsci.plugins.configfiles.json.JsonConfig

"openstack-cloud@2.17">
  da972fd4-c9f8-4c01-bb6a-4ed39992ca2e
  UserData
  
  
  jenkins.plugins.openstack.compute.UserDataConfig


  jenkins.plugins.openstack.compute.UserDataConfig.1472812514432
   !!! REDACTED (Pre 2.15.4 / 2.17 configuration) !!! 
  
   !!! REDACTED (Pre 2.15.4 / 2.17 configuration) !!! 
  jenkins.plugins.openstack.compute.UserDataConfig

  

 

  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
   

[JIRA] (JENKINS-41202) Managed Configuration Files cannot be saved or used

2017-01-19 Thread jami.li...@f-secure.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jami Lindh commented on  JENKINS-41202  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Managed Configuration Files cannot be saved or used   
 

  
 
 
 
 

 
 I tried adding configuration files to folders: In those views they are successfully saved and showed to me but I'm unable to use them with openstack-cloud-plugin.  
 

  
 
 
 
 

 
 
 

 
 
 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-41202) Managed Configuration Files cannot be saved

2017-01-18 Thread jami.li...@f-secure.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jami Lindh created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-41202  
 
 
  Managed Configuration Files cannot be saved   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Dominik Bartholdi  
 
 
Components: 
 config-file-provider-plugin, openstack-cloud-plugin  
 
 
Created: 
 2017/Jan/19 7:30 AM  
 
 
Environment: 
 jenkins 2.32.1  config-file-provider-plugin 2.15.4  openstack-cloud-plugin 2.17  
 
 
Priority: 
  Major  
 
 
Reporter: 
 Jami Lindh  
 

  
 
 
 
 

 
 After upgrading to config-file-provider-plugin v. 2.15.4 I am unable to add any configuration files to Jenkins >> Manage Jenkins >> Managed Files. The configuration file I was originally trying to create is OpenStack User Data, but the bug can be replicated with, for example, Json file. Even though I do not get any error message from config-file-provider-plugin after trying to create a configuration, openstack-cloud-plugin doesn't find any saved OpenStack User Data files when configuring cloud instances in Jenkins >> Manage Jenkins >> Configure System >> Cloud >> Templates. This bug in either of the plugins (I'm not sure which) currently renders OpenStack slaves unusable. Symptoms: When creating a new config file and saving it, no error message is given (except in system logs) but the created file does not appear in the Config File Management view and openstack-cloud-plugin can not find any configurations. Relevant logs: 


Opening Managed Files view

 

Jan 19, 2017 9:16:59 AM WARNING hudson.ExpressionFactory2$JexlExpression 

[JIRA] (JENKINS-41202) Managed Configuration Files cannot be saved or used

2017-01-18 Thread jami.li...@f-secure.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jami Lindh updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-41202  
 
 
  Managed Configuration Files cannot be saved or used   
 

  
 
 
 
 

 
Change By: 
 Jami Lindh  
 
 
Summary: 
 Managed Configuration Files cannot be saved  or used  
 

  
 
 
 
 

 
 
 

 
 
 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-41024) Cannot provision new nodes with OpenStack plugin

2017-01-17 Thread jami.li...@f-secure.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jami Lindh commented on  JENKINS-41024  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Cannot provision new nodes with OpenStack plugin   
 

  
 
 
 
 

 
 I am getting the following errors when trying to add new User Data configurations (Jenkins ver. 2.32.1): 


Openstack Cloud Plugin v2.16, Config File Provider Plugin v2.15.4 (Trying to open the edit dialog)

 

javax.servlet.ServletException: java.lang.AbstractMethodError: class jenkins.plugins.openstack.compute.UserDataConfig$UserDataConfigProvider MUST implement 'newConfig(String)'
	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:796)
	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
	at org.kohsuke.stapler.MetaClass$10.dispatch(MetaClass.java:362)
	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)
	at org.kohsuke.stapler.Stapler.service(Stapler.java:238)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:135)
	at com.smartcodeltd.jenkinsci.plugin.assetbundler.filters.LessCSS.doFilter(LessCSS.java:47)
	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)
	at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:126)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
	at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:49)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
	at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
	at jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117)
	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
	at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
	at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
	at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
	at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93)
	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
	at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
	at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67)
	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
	at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
	at 

[JIRA] (JENKINS-41067) NullPointerException when using InfluxDB Plugin in Pipeline script

2017-01-13 Thread jami.li...@f-secure.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jami Lindh updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-41067  
 
 
  NullPointerException when using InfluxDB Plugin in Pipeline script   
 

  
 
 
 
 

 
Change By: 
 Jami Lindh  
 

  
 
 
 
 

 
 When invoking InfluxDB Plugin in a Pipeline script, it will throw {{java.lang.NullPointerException}} since the build has not finished and {{hudson.model.Run.getResult()}} will return {{null}}. This exception (unless caught) makes the build fail.*Step:*{code}step([$class: 'InfluxDbPublisher',   customData: null, customDataMap: null, customPrefix: null   customPrefix: "",   target: ""]){code}*Build output:*{code}[InfluxDB Plugin] Publishing data to: [url="" description= username=, password=*, database= ]...java.lang.NullPointerException at jenkinsci.plugins.influxdb.generators.JenkinsBasePointGenerator.generate(JenkinsBasePointGenerator.java:54) at jenkinsci.plugins.influxdb.InfluxDbPublisher.perform(InfluxDbPublisher.java:203) at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:69) at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:59) at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1$1.call(AbstractSynchronousNonBlockingStepExecution.java:47) at hudson.security.ACL.impersonate(ACL.java:221) at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1.run(AbstractSynchronousNonBlockingStepExecution.java:44) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745)Finished: FAILURE{code}*Related line in InfluxDB Code:* https://github.com/jenkinsci/influxdb-plugin/blob/1.10.1/src/main/java/jenkinsci/plugins/influxdb/generators/JenkinsBasePointGenerator.java#L54*Related documentation for Jenkins API:*http://javadoc.jenkins.io/hudson/model/Run.html#getResult()*Workaround:*{code}try {// Build things hereif(currentBuild.result == null) {currentBuild.result = "SUCCESS"}} catch (err) {if(currentBuild.result == null) {currentBuild.result = "FAILURE"}throw err} finally {step([$class: 'InfluxDbPublisher', ...}{code}  
 

  
 
 
 
 

 
 
 

 
 

[JIRA] (JENKINS-41067) NullPointerException when using InfluxDB Plugin in Pipeline script

2017-01-13 Thread jami.li...@f-secure.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jami Lindh created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-41067  
 
 
  NullPointerException when using InfluxDB Plugin in Pipeline script   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Aleksi Simell  
 
 
Components: 
 influxdb-plugin  
 
 
Created: 
 2017/Jan/13 1:57 PM  
 
 
Environment: 
 Jenkins 2.32.1  InfluxDB Plugin 1.10.1  
 
 
Priority: 
  Minor  
 
 
Reporter: 
 Jami Lindh  
 

  
 
 
 
 

 
 When invoking InfluxDB Plugin in a Pipeline script, it will throw java.lang.NullPointerException since the build has not finished and hudson.model.Run.getResult() will return null. This exception (unless caught) makes the build fail. Step: 

 

step([$class: 'InfluxDbPublisher',
	  customData: null, customDataMap: null, customPrefix: null
	  customPrefix: "",
	  target: ""])
 

 Build output: 

 

[InfluxDB Plugin] Publishing data to: [url="" description= username=, password=*, database=