artifactory

Corrupted docker images in Artifactory Pro

亡梦爱人 提交于 2019-12-24 15:26:14
问题 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 artifacts are a few docker images. Now we get 500 error while pulling images from artifatory due to corrupted layer. I tried to recover artifacts from repository backups. However I get the same error

Artifactory cannot be installed as windows service

▼魔方 西西 提交于 2019-12-24 11:23:01
问题 I have Artifactory artifactory-oss-6.10.1 , that I try to install as Windows service. First problem I encounter is that the installService.bat has the lines :gotJdkHome if not exist "%JAVA_HOME%\jre\bin\java.exe" goto noJavaHome if not exist "%JAVA_HOME%\jre\bin\javaw.exe" goto noJavaHome I have JDK 12 installed and set as JAVA_HOME , but my JDK installation has no jre folder. I re-downloaded the jdk 12 from oracle, but the installation gives no jre folder After I removed the jre path of the

`no such name` when attempting to add ruby gem source

被刻印的时光 ゝ 提交于 2019-12-24 10:08:09
问题 I have an artifactory server that is acting as a gem repository. When I try and change the gem sources, I get error no such name gem source -a https://artifactory.example.com/api/gems/gems Error fetching https://artifactory.example.com/api/gems/gems: no such name (https://artifactory.example.com/api/gems/specs.4.8.gz) If I try and bypass the artifactory virtual repository, and point straight at the local repository I get error gem source -a https://artifactory.example.com/api/gems/gems-local/

Reverse dependencies

给你一囗甜甜゛ 提交于 2019-12-24 07:58:10
问题 We are using Ivy with Artifactory as a repository. In Artifactory both third-party libraries and our release packages are stored. If there is a bug in an artefact (3rd party or our package) I would like to find out which other components are potentially impacted. In short, I need a reverse dependency report. How similar problems are usually solved? 回答1: Check out Artifactory's build integration and CI server plugins. The plugins collect information during build time (Both CI server and build

How to cURL Put in Java

走远了吗. 提交于 2019-12-24 07:39:59
问题 Looking for an easy way to replicate the following Linux cUrl command in java: I need to upload the file "/home/myNewFile.txt" via HTTP / Curl to a Http server (which in this case is artifact or) curl -u myUser:myP455w0rd! -X PUT "http://localhost:8081/artifactory/my-repository/my/new/artifact/directory/file.txt" -T /home/myNewFile.txt Thanks in advance! 回答1: First, cast your URLConnection to an HttpURLConnection. For curl’s -X option, use setRequestMethod. For curl’s -T option, use

Pull Artifactory Docker Images

删除回忆录丶 提交于 2019-12-24 06:33:28
问题 I downloaded artifactory 6.6.0 on remote desktop with ip (x.x.x.x) and connect to port 8081. I can connect to artifactory from my computer http://x.x.x.x:8081/artifactory. I have docker client on my computer but I don't have docker on remote desktop. I have virtual docker repository named "docker". I want to login by docker client to my docker repository on artifactory -> "docker login " and then pull images in this repository. How can I log in and pull images from artifactory? Notice I don't

Unable to push windows docker image to Artifactory

。_饼干妹妹 提交于 2019-12-24 02:04:19
问题 I'm using the beta version of Docker for Windows that supports Windows containers. When I attempt to push a Windows image (based on the microsoft/windowsservercore image) to our Artifactory repository, I get an error. It allows pushing all the layers, but then fails stating: manifest invalid: manifest invalid Software versions: Docker for Windows 1.12.3-beta29.3 (8418) Artifactory Enterprise 4.8.0 rev 40210 Is there some way to see what the manifest looks like that it is trying to push up to

Unable to push windows docker image to Artifactory

吃可爱长大的小学妹 提交于 2019-12-24 02:03:10
问题 I'm using the beta version of Docker for Windows that supports Windows containers. When I attempt to push a Windows image (based on the microsoft/windowsservercore image) to our Artifactory repository, I get an error. It allows pushing all the layers, but then fails stating: manifest invalid: manifest invalid Software versions: Docker for Windows 1.12.3-beta29.3 (8418) Artifactory Enterprise 4.8.0 rev 40210 Is there some way to see what the manifest looks like that it is trying to push up to

Connect one Artifactory to another Artifactory

旧巷老猫 提交于 2019-12-24 01:58:08
问题 Our setup includes a company wide Artifactory that holds in-house-built artifacts as well as goes out and fetches publicly available artifacts. I’m trying to setup a local Artifactory at our location that would fetch publicly available artifacts through the regular internet, but would connect to the company wide Artifactory for our in-house-built artifacts. Is this possible? In my local Artifactory setup, I put the company wide Artifactory URL as a Remote Repository. I can hit the Test button

gradle artifactory plugin

别等时光非礼了梦想. 提交于 2019-12-23 18:22:55
问题 I'm new to artifactory and teamcity. I tried using the gradle-artifactory plugin. but It is throwing me the following error.. can anybody pls tell what this error is about and help me with some solution. Error is Caused by: org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object 'org.jfrog.gradle.plugin.artifactory.dsl.ArtifactoryPluginConvention@9bb457' with class 'org.jfrog.gradle.plugin.artifactory.dsl.ArtifactoryPluginConvention' to class 'org.jfrog.gradle.plugin