Setting the path to the jenkins image gallery plugin file

I am trying to get https://wiki.jenkins-ci.org/display/JENKINS/Image+Gallery+Plugin to work. However, every attempt to get it to work just tells me:

Creating image galleries. Creating archived images gallery. This build has no artifacts. Skipping image gallery in this build. 

The documentation is sparse and 3 types of image galleries are available:

Archived images gallery , In folder comparative archived images gallery and Multiple folder comparative archived images gallery

doesn't make any sense to me.

The only things I can do for heads or tails are the arguments: for one you need to “include the template”, the other “base root directory”.

According to the plugin

You can use wildcards such as' module / dist / * /. zip '. See the include Ant file set attribute for the exact format. A base directory is a workspace. You can archive files that are in your workspace.

What are the links to http://ant.apache.org/manual/Types/fileset.html

I save my screenshots in /workspace/selenium/screenshots/a_screenshot.png ,

but the following does not work:

Include Pattern:

 **/*.png *.png selenium/screenshots/*.png 

Base root:

 selenium/screenshots /selenium/screenshots /selenium/screenshots/*.png /selenium/screenshots/*.png 

And I didn’t have enough ideas to try. Has anyone used this plugin before, and how?

+7
jenkins jenkins-plugins
source share
1 answer

Not familiar with Jenkins's terminology, I did not know that the “archived images” actually required me to “archive artifacts” first!

Adding another post-assembly step to archive screen shots made them available for the image gallery.

+8
source share

All Articles