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

jobs WITHOUT any artifacts show message: Produced the following 0 artifact(s):

XMLWordPrintable

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

      the issue is created from this issue: https://github.com/jenkinsci/artifactory-artifact-manager-plugin/issues/33

      after someone pointed out that the root cause is pipeline-stag-view-plugin in the comments.

      What Operating System are you using (both controller, and any agents involved in the problem)?

      controller os: centos
      agent os: irrelevant (issue appears regardless of agent os)

      Reproduction steps

      I actually don't have any reproducing steps to show, since this issue happened the second I configured the plugin.
      most of my jobs don't have any artifacts configured, but now they show the icon for artifacts in the stage view.
      hoovering over it with the mouse reveals the troubling message "0 artifacts"...

      update1: I am able to see this behavior on the simplest pipeline job with the following script:
      {{stage("bla") { }}}
      make sure the plugin is installed and configured properly (use the validation button).

      Expected Results

      jobs without artifacts usage should not show any artifacts.
      specifically - 0 (zero) artifacts is a weird message since it is easily testable...

      Actual Results

      jobs without artifacts show a message:
      Produced the following 0 artifact(s):
      there are not artifacts in the job, ofcourse.
      screenshot attached:

      Anything else?

      this issue started the second I configured the plugin.
      there is no error message in the console output or the controller log.
      since the tooltip shows the number 0, which is funny, i guess it should fairly simple to catch that flow and fix it.
      I can supply additional information if needed.

       

       

            Unassigned Unassigned
            amidar Amit Dar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: