grunt-artifactory-deploy

0.0.3 • Public • Published

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"
    }
}

Readme

Keywords

Package Sidebar

Install

npm i grunt-artifactory-deploy

Weekly Downloads

721

Version

0.0.3

License

MIT

Last publish

Collaborators

  • appsngen