lib/jenkins/plugin.rb
def print_artifacts
      artifacts = build.artifacts
      return if artifacts.empty?

      content = "### Jenkins artifacts:\n\n"
      content << "<img width='40' align='right' src='#{JENKINS_ICON}'></img>\n"

      artifacts.each do |artifact|
        content << "* #{artifact_link(artifact)}\n"
      end

      markdown content
    end
def print_artifacts
      artifacts = build.artifacts
      return if artifacts.empty?

      content = "### Jenkins artifacts:\n\n"
      content << "<img width='40' align='right' src='#{JENKINS_ICON}'></img>\n"

      artifacts.each do |artifact|
        content << "* #{artifact_link(artifact)}\n"
      end

      markdown content
    end
Adds a list of artifacts to the danger comment

 @return [void]