I am trying to integrate the feature branch support <https://www.gocd.org/2015/04/27/Feature-Branch-Support.html> with the both plugins gocd-build-github-poller <https://github.com/ashwanthkumar/gocd-build-github-pull-requests> and the gocd-build-status-notifier <https://github.com/gocd-contrib/gocd-build-status-notifier> plugins. Since the support on the GitHub page is low I am posting the problem here - hoping that anyone else knows the issue.
The used GoCD Server is v18.1 (dockerized) together with some agent v18.1 (also dockerized). It seems that the poller plugin is building the project with the result "passed" - but the result cannot be sent to the Stash server. This is the error message I get. What am I doing wrong here? 2018-03-27 08:25:00,182 ERROR [77@MessageListener for PluginNotificationListener] BuildStatusNotifierPlugin:82 - Error occurred. Could not update build status - URL: ssh://[email protected]:blablaport/projects/supercoolblablaproject.git Revision: e220ca99d18579f4fa9676f46921aa53c60019ac Build: supercoolblablaproject_build_pipeline_pullrequest_notifier/10/testing/1 Result: Passed java.lang.IllegalArgumentException: Host name may not be null at org.apache.http.util.Args.containsNoBlanks(Args.java:81) at org.apache.http.HttpHost.<init>(HttpHost.java:80) at com.tw.go.plugin.util.HTTPClient.getHttpHost(HTTPClient.java:88) at com.tw.go.plugin.util.HTTPClient.postRequest(HTTPClient.java:61) at com.tw.go.plugin.provider.stash.StashProvider.updateStatus( StashProvider.java:73) at com.tw.go.plugin.BuildStatusNotifierPlugin. handleStageNotification(BuildStatusNotifierPlugin.java:160) at com.tw.go.plugin.BuildStatusNotifierPlugin.handle( BuildStatusNotifierPlugin.java:84) at com.thoughtworks.go.plugin.infra.DefaultPluginManager$2.execute( DefaultPluginManager.java:167) at com.thoughtworks.go.plugin.infra.DefaultPluginManager$2.execute( DefaultPluginManager.java:162) at com.thoughtworks.go.plugin.infra.FelixGoPluginOSGiFramework. executeActionOnTheService(FelixGoPluginOSGiFramework.java:316) at com.thoughtworks.go.plugin.infra.FelixGoPluginOSGiFramework.doOn( FelixGoPluginOSGiFramework.java:246) at com.thoughtworks.go.plugin.infra.DefaultPluginManager.submitTo( DefaultPluginManager.java:162) at com.thoughtworks.go.plugin.access.PluginRequestHelper. submitRequest(PluginRequestHelper.java:48) at com.thoughtworks.go.plugin.access.notification. NotificationExtension.notify(NotificationExtension.java:86) at com.thoughtworks.go.server.messaging.plugin. PluginNotificationService.notifyPlugin(PluginNotificationService.java:62) at com.thoughtworks.go.server.messaging.plugin. PluginNotificationService.notifyPlugins(PluginNotificationService.java:54) at com.thoughtworks.go.server.messaging.plugin. PluginNotificationListener.onMessage(PluginNotificationListener.java:30) at com.thoughtworks.go.server.messaging.plugin. PluginNotificationListener.onMessage(PluginNotificationListener.java:21) at com.thoughtworks.go.server.messaging.activemq. JMSMessageListenerAdapter.runImpl(JMSMessageListenerAdapter.java:73) at com.thoughtworks.go.server.messaging.activemq. JMSMessageListenerAdapter.run(JMSMessageListenerAdapter.java:53) at java.lang.Thread.run(Thread.java:748) -- You received this message because you are subscribed to the Google Groups "go-cd" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
