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

Pipeline external library script does not run on node

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • durable-task-plugin
    • None
    • linux

      Pipeline running in docker container runs analysis on external server, which returns a text file which contains links to the analysis results. We built a library script in groovy that parses the text file, extracts the Url, and sends an http_request to Sonarqube to collect metrics on the Jenkins job, which are uploaded to Splunk.

      We've found that attempting to parse the file fails, despite confirming it is in the current directory. I'm attaching script elements and output.

        1. analysis.log
          8 kB
          Mark
        2. sonarqubeToSplunk.groovy
          2 kB
          Mark
        3. test.jenkinsfile
          0.8 kB
          Mark

            Unassigned Unassigned
            jaff Mark
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: