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

Query on Build_log_regex

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Critical Critical
    • regexemail-plugin
    • None

      Hi Team,

      can you please help me to find out how we can extract nth word of a line using Build_log_regex
      Ex: i have extracted a line from my build console output using as below
      ${BUILD_LOG_REGEX, regex="\\bCopied
      b", linesAfter=0, showTruncatedLines=false, escapeHtml=true}

      Output : Copied 1 artifact from "xycv" build number "7"

      Question : how can i extract only "xycv" from my output using Build_log_regex

            justinedelson justinedelson
            achueliz Elizabeth oommen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: