gulp-artifactory-upload

1.4.0 • Public • Published

gulp-artifactory-upload

This project is no longer maintained

Gulp plugin to deploy files to a JFrog Artifactory server. Unlike grunt-artifactory-artifact, works on Windows/Mac/Linux

npm install gulp-artifactory-upload --save-dev

Example usage

var artifactoryUpload = require('gulp-artifactory-upload');

gulp.task( 'deploy', function() {
    return gulp.src( 'test.zip' )
        .pipe( artifactoryUpload( {
                url: 'http://artifactory.server.com:8081/artifactory/libs-release-local',
                username: 'user', // optional
                password: 'password', // optional,
                rename: function( filename ) { return filename + "1"; }, // optional
                properties: {
                    // artifact properties to be appended to the URL
                },
                request: {
                    // options that are passed to request.put()
                }
            } ) )
        .on('error', gutil.log);
} );

To create zip files, i would recommend archiver https://www.npmjs.com/package/archiver or gulp-zip for integration with gulp https://www.npmjs.com/package/gulp-zip

Package Sidebar

Install

npm i gulp-artifactory-upload

Weekly Downloads

2,578

Version

1.4.0

License

none

Unpacked Size

169 kB

Total Files

9

Last publish

Collaborators

  • peteward44