Giter Site home page Giter Site logo

dwhathaway / artifactory-vsts-extension Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jfrog/jfrog-azure-devops-extension

0.0 1.0 0.0 2.19 MB

License: Apache License 2.0

JavaScript 96.91% HTML 0.48% C# 0.02% CMake 0.39% C++ 0.41% Python 0.61% C 0.06% Dockerfile 0.06% Shell 1.04%

artifactory-vsts-extension's Introduction

Branch Status
master Build status
dev Build status

Overview

JFrog Artifactory provides tight integration with Azure DevOps and TFS through the JFrog Artifactory Extension. Beyond managing efficient deployment of your artifacts to Artifactory, the extension lets you capture information about artifacts deployed, dependencies resolved, environment data associated with the build runs and more, that effectively facilitates fully traceable builds. See the full extension documentation at the Azure DevOps and TFS Artifactory Extension User Guide.

Download and Installation

The extension is available for installation on your Azure DevOps organization in the Azure DevOps Marketplace. To install the extension on TFS, see the install extensions for Team Foundation Server (TFS) documentation page.

Building and Testing the Sources

Building

To build and run the extension sources, please follow these steps:

  1. Clone the code from git.
  2. To Build and create the JFrog Artifactory extension vsix file, run the following command.
    npm run create
    

After the build process is completed, you'll find the vsix file in the project directory. The vsix file can be loaded into Azure DevOps and TFS.

Testing

To run the tests, use the following commands:

  1. Set the ADO_ARTIFACTORY_URL, ADO_ARTIFACTORY_USERNAME and ADO_ARTIFACTORY_PASSWORD environment variables with your Artifactory URL, username and password:

    export ADO_ARTIFACTORY_URL='http://localhost:8081/artifactory'
    export ADO_ARTIFACTORY_USERNAME=admin
    export ADO_ARTIFACTORY_PASSWORD=password
    
  2. Set the ADO_ARTIFACTORY_DOCKER_DOMAIN and ADO_ARTIFACTORY_DOCKER_REPO environment variables with your Artifactory Docker registry domain and Artifactory Docker repository name:

    export ADO_ARTIFACTORY_DOCKER_DOMAIN='localhost:8081/docker-local'
    export ADO_ARTIFACTORY_DOCKER_REPO=docker-local
    
  3. Run the following commands:

    npm i -g jfrog-cli-go
    npm t
    

Skipping Tests

In order to skip tests, set the ADO_ARTIFACTORY_SKIP_TESTS environment variable with the tests you wish to skip, separated by commas. The supported values are: maven, npm, nuget, conan and docker.

For example, for setting the nuget and docker tests:

export ADO_ARTIFACTORY_SKIP_TESTS=nuget,docker

Pull Requests

We welcome pull requests from the community!

Guidelines

  • Before creating your first pull request, please join our contributors community by signing JFrog's CLA.
  • Pull requests should be created on the dev branch.
  • Please make sure the code is covered by tests.

Release Notes

See the release notes here.

artifactory-vsts-extension's People

Contributors

alexeivainshtein avatar barbelity avatar dimanevelev avatar eyalbe4 avatar robinino avatar yahavi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.