0.0.3 • Published 8 years ago

grunt-artifactory-deploy v0.0.3

Weekly downloads
174
License
MIT
Repository
github
Last release
8 years ago

grunt-artifactory-deploy

Deploy artifacts to JFrog Artifactory.

Getting started

If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:

npm install grunt-artifactory-deploy --save-dev

Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:

grunt.loadNpmTasks('grunt-artifactory-deploy');

Artifactory deploy task

Run this task with the grunt artdeploy command.

Task targets, files and options may be specified according to the Grunt Configuring tasks guide.

Options

apiKey

Type: String

API key from your account.

repositoryPath

Type: String

Url to artifact repository.

targetPath

Type: String

Target file path at repository.

packagePath

Type: String

Path to target .tgz file for deploy.

Example

artdeploy: {
    options: {
        apiKey: "pasteYourAPIkey",
        repositoryPath: "https://youorganization.jfrog.io/yourorganization/repository-name",
        targetPath: "your-awesome-stuff.tgz",
        packagePath: "place/where/you/store/your-awesome-stuff.tgz"
    }
}