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

On any kind of job throws a "Unable to connect to Elasticsearch service."

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None

      steps to replicate 

      • create a Freestyle job with a shell step that makes an echo
      • run it
      • go to the console and check that you can see the elasticsearch message

       

      ```
      Started by user admin
      [EnvInject] - Loading node environment variables.
      Building in workspace /jenkins-home/workspace/test
      [test] $ /bin/sh -xe /var/folders/wl/9d6g41r95mzgklb9z172xmlr0000gn/T/hudson3342399358620132751.sh
      + echo 'hello world'
      hello world
      Unable to connect to Elasticsearch service. Check Elasticsearch is running in the correct namespace
      Finished: SUCCESS
      ```

          [JENKINS-44988] On any kind of job throws a "Unable to connect to Elasticsearch service."

          Allan BURDAJEWICZ added a comment - This is fixed in version 1.5 as far as I can tell: https://github.com/jenkinsci/kubernetes-pipeline-plugin/commit/1e338c17f69fd20e0e82b0202968a252a297889f#diff-380e8714cb3944594212c4d88163ec66

            iocanel Ioannis Canellos
            ifernandezcalvo Ivan Fernandez Calvo
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: