Questions tagged [artifactory]

1

votes
1

answer
41

Views

Download artifacts from Maven repository without using Maven

In various shell scripts, we need to download artifacts from a Maven repository (Nexus 2.x at the moment, but may change in the future). The servers that run the scripts usually have no Maven installed. So I am looking for something http based. On the one hand, there is a REST interface which can be...
JF Meier
0

votes
2

answer
22

Views

Custom conda sub channel

Trying to setup remote repository for https://anaconda.org/MOSEK/mosek but that URL is not playing nice and unable to find what the conda manager would redirect to when connecting to sub channels by default. What's the remote URL to add for these custom / sub channels from Anaconda?
Nicholas Tripp
1

votes
1

answer
222

Views

bootstrap admin credentials do not exist in the config store

I am doing Aritfactory HA Installation and Setup. The primary server starts successfully, but the Secondary server always fails to start. The error is as follows: 2017-12-28 08:31:17,209 [art-init] [INFO ] (o.a.s.ArtifactoryApplicationContext:231) - Artifactory context starting up 49 Spring Beans......
Jiang Chuan
1

votes
1

answer
425

Views

JFrog Artifactory: Difference between item, artifact, build and entry?

I have a question regarding the AQL (Artifactory Query Language) used by JFrog Artifactory to find 'things' in the artifactory. The AQL seems to be very powerful, but i'm wondering how to build (correct) search queries, using the correct terms. The AQL documentation (https://www.jfrog.com/confluence...
Matthias Lohr
1

votes
0

answer
774

Views

Artifactory slow download artefact

Basic info: Artifactory ver. 4.12.2 OS - Ubuntu 16 On the server are only installed Artifactory. Connection are directly between my host and server. There are NO PROXY. When I make: mvn clean install I have info with a downloading speed and they are very slow e.g.: Downloaded: http://IP:PORT/XXXX (2...
zaq wsx
1

votes
0

answer
375

Views

Artifactory move/copy artifacts between remote repositories

for local repositories it works perfectly well. I use the instruction from https://jfrog.com/knowledge-base/is-there-a-way-to-rename-a-repository/ However, when the repos are remote ones, the following errors are showing up: 1) Remote repo names curl -k -X POST -u admin 'https://myartifactory/artifa...
Marek Mrowca
1

votes
0

answer
353

Views

Unable to install Artifactory 5.x on Ubuntu 16.04 with PPA - does not have a Release file

On a fresh Ubuntu 16.04, I am unable to install Artifactory5.x. I have followed the instructions from enter link description here and here is what I get: root# wget -c -O- 'https://bintray.com/user/downloadSubjectPublicKey?username=jfrog' | sudo apt-key add - ... 2018-01-12 10:27:05 (31.3 MB/s) - wr...
Maniankara
1

votes
0

answer
55

Views

Unable to connect to the Jfrog Artifactary from Docker containers

I have built a docker image to build the java code with java, maven, and git. I was able to clone the code to Docker container but when it is trying to build the code docker is was unable to connect to jfrog artifactary to bring the dependencies. So I tried to ping the artifactary from the container...
clearclase
1

votes
0

answer
126

Views

How to prevent rtMaven (Artifactory Plugin with Pipeline) from failing builds when tests are unstable

Given the following code using rtMaven and assuming there are test failures try{ rtMaven.run pom: 'pom.xml', goals: '-B clean install ' }catch(e){ println 'test failures?' } the build status is set to FAILURE although the exception is caught. Is there any possibility to prevent this and setting to b...
user140547
1

votes
0

answer
38

Views

JFrog - running update command prepends semicolon to property name in Artifactory when updating property

When downloading the latest version of jfrog.exe from 'https://jfrog.com/getcli/' (the windows exe), running jfrog to update an artifactory value fails. The command I am running is this: jfrog rt sp 'test-local/test.dat' Build=828 When I run it, a property called ';Build' is created, with a value o...
Bryan Johnson
1

votes
0

answer
62

Views

Using OpenVPN with Artifactory

We have, currently, 7 Developers on our team. All of them require the ability to have read access to a remote repository, in this case an Artifactory, server. I could get them all to make an account, but I figure it would be more efficient doing the following: Connecting Artifactory and the Develop...
Duke Jake Morgan
1

votes
1

answer
316

Views

getting an error while trying to publish an artifact

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 lin...
yanivtwin
1

votes
0

answer
75

Views

unable to delete distribution repo in artifactory

we are using Artifactory server and I encountered a problem today. I tried deleting a distribution repo but I was unable. I got an error message: Deleting repo 'BASELINES-BINTRAY' failed: Could not merge and save new descriptor [org.jfrog.common.ExecutionFailed: Last retry failed: code exception. No...
eran meiri
1

votes
1

answer
241

Views

Installation of JFrog Artifactory in windows 10 gives an error message

I am facing an issue, while installing JFrog Artifactory in windows 10. I have downloaded this version (jfrog-artifactory-oss-5.9.0) and created the needed environment variables in system settings. Here is the Java Version: java version '9.0.4' Java(TM) SE Runtime Environment (build 9.0.4+11) Java H...
Karthick
1

votes
1

answer
315

Views

upload artifact to artifactory with ant and curl results in empty file on server

I'm currently banging my head against this (wrong) behaviour. When I execute a CURL request in ant the upload results in a file with size=0 and when I execute the same request in the shell the file has the correct size. ANT target output: [echo] path.toFile=/home/marcel/gitrepos//source/.zip [echo]...
MarcelHodan
1

votes
1

answer
208

Views

Can I deduplicate content of zip files on Artifactory side?

I'm using JFrom Artifactory, which has deduplication feature - see documentation. Our deployment procedure is the following: Create zip file with libraries: jars, dlls, etc. This is the same with war file or with fat jar. During deployment: just extract content of zip file and do small initializatio...
Manushin Igor
1

votes
1

answer
278

Views

How do I dynamically add metadata using artifactory upload filespec in jenkins job

I have just started trying out Jenkins and Artifactory. I have managed to create a jenkins job that just runs MSBuild to create an .exe. I have also managed to upload this .exe to Artifactory. What I would now like to do is to be able to add metadata e.g. git commit id, unit test result etc. to the...
Sami Islam
1

votes
0

answer
61

Views

How to specify additional fields returned by AQL in spec file?

I'm search Artifactory using AQL via a spec-file passed to the Jfrog CLI tool. If I were to post AQL directly to the REST API, I'm be able to use a normal, formal AQL statement and use .include('some-field, e.g. stat') to return specific fields. However, there doesn't appear to be a place for this i...
Dustin Oprea
1

votes
1

answer
194

Views

Artifactory - What is the limit on number of artifact properties or values and its performance impact

Artifactory version: 4.15.0 or Latest Summary (optional info, but can help anyone understand my case better): Build+Test pipeline generates artifacts in the form of jar/war/zip/tar/rpms etc. Once these artifacts are generated and stored in Artifactory with their usual build/test related properties...
Arun Sangal
1

votes
0

answer
202

Views

Remove Timestamp from an artifact name while keeping the Build number

I am using Maven artifactory build to store war files on the artifactory. def server = Artifactory.newServer url: 'ARTIFACTORY_URL', username: 'USERNAME', password: 'PASSWORD' def rtMaven = Artifactory.newMavenBuild() rtMaven.deployer server: server, releaseRepo: 'libs-release-local', snapshotRepo:...
Anil Choudhary
1

votes
0

answer
100

Views

Plugin changing maven coordinates

I'm trying to create a maven script that build an app and deploys to Artifactory (cloud) running from Bitbucket pipelines (cloud). When I build locally, the artifact is stored correctly in the local repository. When the pipeline runs, it adds the repository to the Maven group id. The build then fai...
DJ Spiess
1

votes
0

answer
90

Views

Artifactory as Docker Registry through Nginx

I'm having issues with Artifactory as a docker registry. Artifactory and Nginix are on one machine both running inside their own docker containers. Artifactory is setup to use a revers proxy using sub domains. The DNS server has been updated with the sub domains and Nginx has been loaded with a Wild...
ppapp
1

votes
0

answer
102

Views

401 bad credentials with good credentials

I have an Artifactory server (5.6.2) set up with SAML SSO and I'm trying to use my personal admin credentials to download a file: https://internalartifactory/artifactory/prerelease/package/package.1.2.3.nupkg However, I continually receive '401 Bad Credentials'. I can enter the credentials of a non-...
sirdank
2

votes
1

answer
45

Views

What token endpoint does JFrog Artifactory use for its Docker registries?

I'm trying to write code that can essentially do a docker inspect on images published to a private JFrog Artifactory, without having to actually pull the images themselves. I've been using a guide called Inspecting Docker images without pull for a breakdown of the API calls. The guide uses the publi...
soapergem
1

votes
2

answer
219

Views

Gradle download full dependency-of-dependency chain?

We are currently utilizing Artifactory in our organization and I'm having a bit of trouble getting an entire dependency chain downloaded. For instance, we have the following dependency listed in our project: compile group: 'org.jbpm', name: 'jbpm-flow-builder', version: droolsVersion This package r...
slashp
1

votes
0

answer
42

Views

Artifactory maven virtual repository 404s

I am trying to use a maven virtual repository that is linked up to an SBT local repository to resolve dependencies, but I keep getting 404s when I try to download the artifacts. They are listed fine on the UI, but right clicking on the artifacts and hitting 'Download' give me a 404 error. Has anyone...
Phil
1

votes
1

answer
175

Views

Skip stage if there are no changes to a subdirectory

I have a Jenkins (non-declarative) pipeline build, with several stages. The build consists of several components, that are all built from the same git repository. One of the stages (building Linux kernel) is quite slow, and rarely changes. How can I skip a stage when there are no changes to a specif...
Eloff
1

votes
1

answer
227

Views

Artifactory github Repository - downloadBranch

I have github setup as a VCS repository in Artifactory. When using the downloadBrach API through Artifactory (similar to downloading files via git clone), the download appears to include everything except the dot hidden files (.gitignore is an example). Is there a way to include all files (includin...
user9074332
1

votes
2

answer
1.1k

Views

How do I pull a Python package from private authenticated Artifactory PyPI repository?

I'm trying to pip or pipenv install a Python package I pushed to my organisation's private PyPI repository hosted on JFrog Artifactory. From the Artifactory documentation http://:@hostname... should work. I've tried my login password and the one that gets derived from it in the Set Me Up tool within...
Damian Moore
1

votes
1

answer
34

Views

Does artifactory provide certificate based authtication for docker registry

I am looking about certificates based authentication instead of username and password in artifactory docker registry logging.
Divya Vyas
1

votes
0

answer
16

Views

Artifactory Plugin build.name concatenates with +-+ syntax

When using the Aritfactory plug in for Bamboo with spec files the build.name is being concatenated with +-+ on the PUT. This causes a 404. I have replicated this using curl and the same can be seen. If I take out the +-+ in the manual curl, everything works fine. e.g. this is the put that is genera...
Mat Lambeth
1

votes
1

answer
316

Views

Jenkins Pipeline Artifactory Promotion for artifacts in multiple repositories

We are using Artifactory and Jenkins pipeline. One of our product publish in Artifactory a nuget in a nuget repository and a zip in a generic type repository. This is working fine, by when we want to use the interactive promotion functionality, to move our nuget into the release-nuget repo and our z...
Sylvain Gagne
1

votes
0

answer
44

Views

Android / Gradle - Artifacts (aar) with dependencies

I have deployed an artifact (aar) with dagger dependency to my local artifactory. When I use the artifact in a project, it crashes at run-time due to the following exception. Caused by: java.lang.ClassNotFoundException: Didn't find class 'dagger.internal.Preconditions' on path: DexPathList[[zip file...
gopalanrc
1

votes
0

answer
279

Views

Unable to login docker registry in Artifactory

I have a docker registry setup in Artifactory and I am trying to login but I keep getting Forbidden message When I execute docker login art.example.com Output: Username: xxxx Password: xxxx Error response from daemon: Get https://art.example.com/v2/: unknown: Forbidden Artifactory logs show: 2018051...
Squirrel
1

votes
0

answer
218

Views

Getting “Target Repository Cannot be Empty” For Jenkins Artifactory Plugin on Slave

We are currently utilizing the Jenkins Artifactory Plugin to push our artifacts to Artifactory, and everything is working well on the master Jenkins Node. One thing we do in ALL of our builds is: we specify the target repository IN THE BUILD SCRIPT based on the version of the build (i.e. if the proj...
Pell000
1

votes
1

answer
162

Views

jfrog cli error “wrong number of arguments” when running jfrog rt config

I'm using the following command in a CI pipeline that builds a Docker container: RUN curl -fL https://getcli.jfrog.io | sh \ && mv jfrog /usr/local/bin/jfrog \ && jfrog rt config --interactive false --url https://artifactory.myorg.com/artifactory which is failing with error: [Error] Wrong number o...
jamiet
1

votes
0

answer
234

Views

How do you use the Artifactory API to create a repository from PowerShell?

I'm trying to use the Artifactory Rest API in order to create a repository entry. # Repository Create - This PowerShell script will create a repository # Define the security protocol for https [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 # Credentials for create re...
Ken
1

votes
0

answer
223

Views

Oauth / OpenID with Gitlab as provider

Does anyone know if it is possible to override the scope sent by Artifactory when trying to use Gitlab (On Premise) as the OpenID Connect Provider? Currently, Artifactory is sending &scope=openid%20profile%20email as a url parameter, but Gitlab can only handle &scope=openid%20read_user. If I manuall...
Espen Myhre
1

votes
0

answer
83

Views

Integrate Artifactory into Jenkins Pipeline

I am trying to integrate Artifactory into my Jenkins pipeline in order to push Maven artifacts to Artifactory. My current understanding is, that I should deploy the built Maven artifacts with using the Jenkins pipeline rather than through a Maven plugin during the deploy lifecycle of Maven. Based o...
lanoxx
1

votes
0

answer
124

Views

Corrupted docker images in Artifactory Pro

We use our on-prem Artifactory Pro ver 4.6.1 as a docker registry. Artifactory is configured to store metadata in mysql DB and binaries on the file system. Some binary content was deleted mistakenly by user ( under artifactory/data/filestore ) while trying to resolve space alerts. Among affected art...
user390060

View additional questions