`
sillycat
  • 浏览: 2551972 次
  • 性别: Icon_minigender_1
  • 来自: 成都
社区版块
存档分类
最新评论

Jfroge Artifactory 2018

 
阅读更多
Jfroge Artifactory 2018

Last time I install Artifactory, that is 2014, how time flies. Last time, I am using the war package directly under web container tomcat.

Currently, the artifactory contains all kinds of different version.
https://www.jfrog.com/confluence/display/RTF/Artifactory+Comparison+Matrix

It seems here is the open source version. https://jfrog.com/open-source/. I download and get a zip file jfrog-artifactory-oss-6.3.3.zip

Unzip the file and place it in the working directory  /opt/artifactory

Update the configuration
Check where is my JAVA home
> echo $JAVA_HOME
/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home

> vi bin/artifactory.default
#Default values
export ARTIFACTORY_HOME=/opt/artifactory
export ARTIFACTORY_USER=admin
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/
#export START_LOCAL_REPLICATOR=true

Start Command
> bin/artifactory.sh start

Visit the web page we have on our local machine
http://localhost:8081/artifactory/webapp/#/home

Follow the page and set the password, eg. admin1234, the default user name is admin. So admin/admin1234

Here is jfrog command line which can push the package to artifactory
https://stackoverflow.com/questions/20060553/how-do-i-deploy-a-file-to-artifactory-using-the-command-line
https://jfrog.com/knowledge-base/how-do-i-deploy-large-files-to-artifactory/
https://www.jfrog.com/confluence/display/CLI/CLI+for+JFrog+Artifactory

Download the cli file from here
https://jfrog.com/getcli/

I download the file named jfrog

Once we place that in the directory and add that to the path, we can check the version
> jfrog --version
jfrog version 1.20.0

The usage document is here
https://www.jfrog.com/confluence/display/CLI/JFrog+CLI

rt     - JFrog Artifactory
bt    - JFrog Bintray
mc  - JFrog Mission Control
xr    - JFrog Xray

In my case
Upload the file to my artifactory
> jfrog rt u nginx-1.11.9-bin-stage-1.0.tar.gz libs-release-local/com/sillycat/1.11.9/

It is asking my authentication details as follow:
Configure now? (y/n): y
Artifactory server ID: sillycat-local
Artifactory URL: http://localhost:8081/artifactory
User: admin
Password/API key:

Then I get my file in the directory here
http://localhost:8081/artifactory/libs-release-local/com/sillycat/1.11.9/nginx-1.11.9-bin-stage-1.0.tar.gz

I can easily download the file after I deploy the file there.

I upload that to my company’s server
> jfrog rt config --url http://artifacts.sillycat.com/artifactory --interactive=false
> jfrog rt u sillycat.sky.css.stage.nginx-1.11.9-1.1.tar.gz sillycat.uvc.css.development/

Then, the file is there. That is great.

More example
jfrog rt config --url $ARTIFACTORY_URL --user $ARTIFACTORY_USER --apikey $ARTIFACTORY_APIKEY --interactive=false

References:
http://sillycat.iteye.com/blog/2114173
https://blog.csdn.net/yanggd1987/article/details/78302003
https://www.jianshu.com/p/dfd02fa239e2
https://circleci.com/docs/2.0/artifactory/



分享到:
评论

相关推荐

    Artifactory-REST-examples.zip

    Artifactory是一款强大的企业级软件仓库管理工具,它支持多种包类型,如Maven、npm、Gradle等。本文将围绕“Artifactory REST Examples”展开,深入解析如何使用Java REST API与Artifactory进行交互。 Artifactory ...

    Artifactory设置Maven2组件库

    Artifactory是一个流行的开源工具,它作为一个企业级的存储库管理器,支持多种类型的包格式,包括Maven2。本篇文章将详细探讨如何使用Artifactory来设置Maven2组件库,以便高效地管理和分发你的Java项目依赖。 首先...

    PyPI 官网下载 | artifactory-0.1.6.tar.gz

    《PyPI官网下载 | artifactory-0.1.6.tar.gz:Python库解析与使用指南》 在Python的世界里,PyPI(Python Package Index)是最重要的资源库,它为全球开发者提供了海量的Python库,方便大家下载和分享代码。今天...

    jfrog-artifactory-cpp-ce-7.38.8-linux.tar.gz

    《JFrog Artifactory C++ CE:高效且灵活的二进制存储库管理器》 JFrog Artifactory,特别为C++开发者设计的版本——jfrog-artifactory-cpp-ce-7.38.8-linux.tar.gz,是一款功能强大的开源二进制存储库管理工具。它...

    Python库 | artifactory-lib-0.0.6.tar.gz

    《Python库:深入理解artifactory-lib-0.0.6》 在Python的世界里,库扮演着至关重要的角色,它们极大地丰富了Python的功能,提高了开发效率。今天我们要探讨的是一个名为`artifactory-lib`的Python库,版本为0.0.6...

    用Artifactory管理内部Maven仓库

    Artifactory,由JFrog公司开发,是一款强大的企业级的、开源的 artifact(构建输出)管理工具,它专门用于处理Maven、Gradle、npm、PyPI等不同构建系统的依赖仓库。本篇文章将深入探讨如何使用Artifactory来管理内部...

    设置Maven仓库-Artifactory

    设置Maven仓库-Artifactory Maven 是 Java 开发者中流行的构建工具,可以帮助减少构建应用程序时所依赖的软件构件的副本。Maven 建议的方法是将所有软件构件存储于一个叫做 repository 的远程仓库中。设置内部 ...

    artifactory pro(mac)破解步骤1

    输入“yes”,然后会出现一大串内容,最后跳出两个选项:1-生成密钥字符串;最后打开浏览器,输入localhost:8081,接下来就会出现一个需要密钥的窗口,

    Artifactory REST Example

    Artifactory REST Example 使用java rest api访问 artifactory

    Jfrog Artifactory CICD guide

    JFrog Artifactory是一个基于二进制文件的仓库管理器,它可以与CI/CD系统如Jenkins整合,以自动化软件分发和部署流程。以下将详细介绍JFrog Artifactory如何与Jenkins协同工作来实现CI/CD。 首先,JFrog ...

    terraform-provider-artifactory:用于管理Artifactory的Terraform提供商

    terraform-provider-artifactory 使用Terraform管理工厂通过自制软件安装brew tap drewsonne/tapbrew install terraform-provider-artifactorytf-install-provider artifactory 在查看详细信息提供者provider " ...

    Python库 | artifactory_du-1.0.4-py3-none-any.whl

    资源分类:Python库 所属语言:Python 使用前提:需要解压 资源全名:artifactory_du-1.0.4-py3-none-any.whl 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059

    jfrog-artifactory-cpp-ce-7.38.8-compose.tar.gz

    jfrog-artifactory,docker-compose的一件部署版本,适合c++的版本,该版本占用资源小,部署方便,比较轻量级,是一个可扩展的通用二进制存储库管理器,可在整个应用程序开发和交付过程中自动管理你的工件和依赖项

    artifactory-user-plugins:样本Artifactory用户插件

    "Artifactory用户插件"是指Artifactory系统中可自定义的扩展功能,允许用户根据需求定制其行为。Artifactory是由JFrog开发的一款企业级的开源存储库管理工具,支持多种类型的艺术品(如Maven、npm、NuGet等)。用户...

    nexus2artifactory:NexusToArtifactory - 旨在简化从 Sonatype Nexus 迁移到 JFrog Artifactory 的工具

    该工具旨在简化从 Sonatype Nexus 到 JFrog Artifactory 的过渡。 它提供了一个简单的类似向导的界面,允许您轻松配置和运行从 Nexus 实例到 Artifactory 实例的存储库、工件、用户和设置的迁移。 目前,可以迁移...

    Artifactory-Client:Artifactory-Client 的只读发布历史

    这是 Artifactory REST API 的 Perl 客户端: : use Artifactory::Client; my $args = { artifactory => ' http://artifactory.server.com ' , port => 8080, repository => ' myrepository ' , ua => LWP::...

    artifactory-sandbox:设置Artifactory服务器

    md5sum artifactory-powerpack-standalone-3.5.3.zip 1fe03ce5b7d846f66f05c41d006a2d6a artifactory-powerpack-standalone-3.5.3.zip $ vagrant up pro版权和许可版权所有[2014] [Ronen Narkis]

    Python库 | dohq_artifactory-0.2.49-py2-none-any.whl

    资源分类:Python库 所属语言:Python 使用前提:需要解压 资源全名:dohq_artifactory-0.2.49-py2-none-any.whl 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059

Global site tag (gtag.js) - Google Analytics