Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-6995

Unable to use twitter plugin behind a proxy server

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • twitter-plugin
    • None
    • Windows XP - JDK 6.0_u20 - Tomcat 6.0.26 - Hudson 1.366

      Twitter plugn doesn't send any tweet whatever the build status is.
      My pc is on an entreprise network behind a proxy/firewall and the plugin manager works fine.

      Here is an extract of th log :

      INFO: Test #7 main build action completed: SUCCESS
      16 juil. 2010 00:30:04 hudson.plugins.twitter.TwitterPublisher$DescriptorImpl updateTwit
      INFO: Attempting to update Twitter status to: SUCCESS:Test $7 - ?
      16 juil. 2010 00:30:38 hudson.plugins.twitter.TwitterPublisher$DescriptorImpl$1 onException
      ATTENTION: Exception updating Twitter status: twitter4j.TwitterException: twitter.com

          [JENKINS-6995] Unable to use twitter plugin behind a proxy server

          Bert Depaz added a comment -

          You can configure the proxy by adding the following to the JAVA_ARGS of your Jenkins configuration:

          JAVA_ARGS="-Dtwitter4j.http.proxyHost=myproxy -Dtwitter4j.http.proxyPort=8080"

          Bert Depaz added a comment - You can configure the proxy by adding the following to the JAVA_ARGS of your Jenkins configuration: JAVA_ARGS="-Dtwitter4j.http.proxyHost=myproxy -Dtwitter4j.http.proxyPort=8080"

          cbeurtheret added a comment -

          Yes, it's true,
          but in the Plugin Manager you can configure a Proxy and then the Plugin Manager access to internet.
          Why not using this configuration or a specific configuration, because if I use JVM args to configure Proxy, all the webapps installed on my server (in my case Tomcat 6.0.26 or Glassfish 3.1.1) could access to internet.

          cbeurtheret added a comment - Yes, it's true, but in the Plugin Manager you can configure a Proxy and then the Plugin Manager access to internet. Why not using this configuration or a specific configuration, because if I use JVM args to configure Proxy, all the webapps installed on my server (in my case Tomcat 6.0.26 or Glassfish 3.1.1) could access to internet.

            justinedelson justinedelson
            cbeurtheret cbeurtheret
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: