artifactory

chef cookbook delivery - chef server vs. artifactory + berkshelf

给你一囗甜甜゛ 提交于 2019-12-14 02:46:14
问题 My company has been making a significant investment in Chef. We've built up a respectable library of cookbooks to automate our infrastructure. We've purposefully ignored Chef Server and the problem of cookbook sharing because we wanted to get some critical mass in our cookbooks first in order to drive how we solve that. Now we are there and we're exploring options. We already have a large investment in Artifactory and we're happily using it to store pretty much everything that comes out of

How to create folders dynamically and upload artifacts in Jfrog artifactory using filespecs in Jenkins?

淺唱寂寞╮ 提交于 2019-12-13 15:29:36
问题 I have a build job in jenkins which builds the project from github for any branch. package will be created in build job workspace with the version as xxxx-yyyyy-2.15.0-SNAPSHOT.zip . My next artifactory push job has filespec written as below: { "files": [ { "pattern": "/var/lib/jenkins/workspace/Jobname/target/*/xxxx-yyyyy*.zip", "target": "libs-snapshot-local/xxxx-yyyyy/", "recursive": "false" } ] } Above filespec recognize the pattern and upload the zip in libs-snapshot-local/xxxx-yyyyy/ .

Download Artifactory artifact using Jenkins and deploy

不想你离开。 提交于 2019-12-13 15:22:22
问题 We have a Jenkins/Maven/Wildfly/Artifactory job that builds and deploys EAR file on wildfly and then in Artifactory . I'm trying to create another Jenkins manual job that retrieves a specific build from Artifactory and deploys to Wildfly . How do I tell Jenkins to retrieve artifacts from Artifactory ? I'm using ' Copy artifacts from another project '. Is there a similar plugin that will help me to download artifacts from Artifactory ? Thanks! 回答1: The artifactory plugin for Jenkins has the

Gradle could not resolve dependency from artifactory

核能气质少年 提交于 2019-12-13 13:40:03
问题 I'm trying to build an android-library (MyLib1), which depends on another android-library (MyLib2) in gradle and jenkins. I'm a little bit desperated, because I think my gradle files and settings are ok. I successfully published the first android-library to artifactory. In artifactory, I can see the following dependency declaration: compile(group: 'MyGroup', name: 'MyLib1', version: '1.0', ext: 'aar') I pasted this dependency declaration into my secound build.gradle: buildscript {

What do Berkshelf-api and Chef Supermarket do differently than traditional artifact repositories?

好久不见. 提交于 2019-12-13 04:48:18
问题 I am familiar with artifact repositories such as Artifactory, Maven & Nexus. What do Berkshelf-API / Chef Supermarket do differently than the above Artifact Repositories? On first glance it appears they are duplicating features in already existing artifact repositories (immutability, transitive dependency resolution, etc). Clarification: This is not an opinion-based question, I am seeking the technical reasons why Berkshelf-API / Chef Supermarket are used for Chef Cookbooks instead of other

What is the preferred way to upload artifacts to Artifactory?

泄露秘密 提交于 2019-12-13 02:21:29
问题 I have a gradle project, and Artifactory as a repository. I'm a bit confised from the docs, so I ask the experts here: What is the preferred way to upload artifacts to Artifactory? using gradle's uploadArchives, or Artifactory's artifactoryPublish ? Why the uploadArchives is not enough? ref: upload artifact to artifactory using gradle 回答1: uploadArchives would of course work but you will be missing out on one of the main reasons you got Artifactory in the first place. Artifactory's Build

Free artifactory or nexus service url without password, for using in intellij idea

旧时模样 提交于 2019-12-13 02:07:39
问题 Intelliji Idea shiped with 3 free online repository in settings -> maven -> artifactory or nexus service url http://oss.sonatype.org/service/local/ http://repo.jfrog.org/artifactory/api/ https://repository.jboss.org/nexus/service/local/ all this repos are unavialable (404 error or password protected). Can you give more free artifactory or nexus service url without password protect? IDEA has no settings for password on repo URL. 回答1: IDEA uses the REST services to get listings of all the

Find what other projects use this project as a maven dependency?

核能气质少年 提交于 2019-12-12 20:02:12
问题 We use Artifactory to store our maven generated java artifacts. We have many interrelated projects that depend on each other. Is it possible with maven or with Artifactory to look pick a single artifact and look for all projects that have that as a dependency? In the example below, I want to find what projects use artifact1 v1.0.0. I would like to be able to use maven/Artifactory to find the fact that artifact2 depends on this version of the dependency, but not find artifact3/4 which don't.

getting an error while trying to publish an artifact

本小妞迷上赌 提交于 2019-12-12 18:20:53
问题 I'm trying to publish my android library to my private repo but i'm getting this error from the Terminal in android studio : Could not publish build-info: Error occurred while requesting version information: Unauthorized and this is the command : gradlew.bat build artifactoryPublish I used this link to help me set it up https://www.youtube.com/watch?v=mztbo8WwqRc It's an official JFrog video This is what i added to my project gradle : artifactory { contextUrl = "${artifactory_contextUrl}" /

AQL build domain object does not return results

若如初见. 提交于 2019-12-12 16:24:40
问题 I'm running into an issue where I'm not able to get any of the queries I'm making on the build domain object to return when using AQL When I make the following curl: curl -X GET -H "X-JFrog-Art-Api: myArtifactroyKey" -H "Cache-Control: no-cache" "https://MyArtifactoryServer/artifactory/api/build/" I get a set of results: { "builds": [ { "uri": "/someBuild", "lastStarted": "2017-02-15T22:02:49.066+0000" }, { "uri": "/someOtherBuild", "lastStarted": "2017-02-15T21:45:09.590+0000" }, "uri": "