jfrog-cli-plugin-ping-server

command module
v0.0.0-...-6e106a4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

README

ping-server

About this plugin

This plugin is a simple Artifactory cleanup plugin. It can be used to delete all artifacts that have not been downloaded or modified for the past n time units (both can be configured) from a given repository.

Note: If you're planning to clean Docker repositories, this plugin may lead to unexpectedly partial or broken images. It is currently recommended to instead use the following Artifactory cleanDockerImages user plugin for this purpose.

Installation with JFrog CLI

Installing the latest version:

$ jf plugin install ping-server

Installing a specific version:

$ jf plugin install ping-server@version

Uninstalling a plugin

$ jf plugin uninstall ping-server

Usage

Commands
  • clean
    • Arguments:
      • repository - The name of the repository you would like to clean.
    • Flags:
      • server-id: The Artifactory server ID configured using the config command.
      • time-unit: The time unit of the no-dl time. year, month and day are the allowed values. [Default: month]
      • no-dl: Artifacts that have not been downloaded or modified for at least no-dl will be deleted. [Default: 1]
    • Examples:
    $ jf ping-server --url https://ramkannans-sbx.dev.gcp.devopsacc.team/artifactory/ --user admin --password ******
    
    
Environment variables

None.

Additional info

None.

Release Notes

The release notes are available here.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳