To save search results after running a search, click Stash Results. To save only a subset of the search results, first select the items you want to save and then click Stash Results. If you don't select any items, the whole result set will be saved.
Once you have items stored in the stash, Artifactory displays the number of items stored and offers several actions you can perform.
|This displays the Stash Browser showing all items currently stored in the stash|
|Remove all items from the stash|
Add: Adds to the stash items found in the current result set that are not already stored in the stash
Subtract: Items found in the current search result set, that are also in the stash, are subtracted (i.e. removed) from the stash
Intersect: Items that are in the intersection of the current search results and the current stash contents are kept in the stash. All other items are removed.
The stash browser displays all items that are in the stash. You can browse through the items and view relevant information corresponding to the item type just like you would in the Tree Browser.
If you select one of the items in the stashed search results tree, the specific information panel relevant to the selected item is displayed. The Actions available are:
|Delete the item.|
Discard from Stash
|Remove the item from the stash without deleting it.|
Show in Tree
|Display the item in the Artifact Tree Browser.|
|View the contents of the file|
|Download the artifact or folder|
If you are on the root Stashed Search Results item, you can perform bulk actions on all the contents of the stash at once.
|Copy Stash to Repository||Copies the entire stash contents to a repository|
|Move Stash to Repository||Move the entire stash contents from their current location to a repository|
|Discard search results||Removes all items from the stash without deleting them.|
On the root Stashed Search Results item you can also perform an export of the entire stash in the same way you would export a repository.
To go back to the Artifacts Tree Browser, click Back to Repository Browser.
For more detailed information about using Smart Searches for powerful, yet simple, promotion support please see this blog entry.