artifactory

artifactory local repo in maven project

点点圈 提交于 2019-12-12 03:55:35
问题 I've setted artifactory in localhost (I'm trying on localhost before setting up my server), but when I use this repo in my maven project I can't retrieve my libs. Any suggestions? 回答1: Artifactory provides you with a small utility that generates a Maven settings file based on the repositories configured in Artifactory and your selections; assuming your repositories are properly configured, this utility normally does a good job. 回答2: Try (change id ClaudioStas to central): <repositories>

Cannot login on Artifactory

Deadly 提交于 2019-12-12 03:43:53
问题 Our hosting provider upgraded Artifactory to Artifactory Pro 4.12.1 today. I was able to enter the license key and I can see that all Pro features are available. When I press the Login link in the top right corner, I get https://REPOSERVER/webapp/#/login I enter the admin username+password and click login. The URL briefly flashes to https://REPOSERVER/webapp/#/home and then back to https://REPOSERVER/webapp/#/login, so I cannot login. In /usr/local/artifactory/logs/access.log I can find

Gradle not picking up latest library/version from artifactory

自作多情 提交于 2019-12-12 01:39:30
问题 I have project A and B. Project B depends on A. If I build a snapshot for B, it will trigger a snapshot build on A. The issue is that when the latest snapshot of A gets pushed, B doesn't pick up the latest snapshot. Rather, it picks up the one before that. Is there any reason why? And can I pull the latest snapshot every time ? 回答1: If your dependencies do not have the "-SNAPSHOT", you can specifically tell gradle that the dependency is a changing one like this: dependencies { compile group:

login attempt with password incorrect in Artifactory

社会主义新天地 提交于 2019-12-12 01:38:58
问题 In Artifactory, when user login incorrect 5 times, it only lock 1 second, how can I increase this duration? Thanks. 回答1: You can make this user locked until the Admin release it. This can be done by going to the Artifactory UI --> Admin --> Security Configuration --> User Locking --> And check the "Lock User After Exceeding Max Failed Login Attempts" checkbox. I don't know if you can increase the time of the "temporary" lock. 回答2: By default, Artifactory comes with a built-in embedded Derby

Is there any automated way to get artifact download URL back from artifactory?

佐手、 提交于 2019-12-11 17:49:45
问题 Is there any automated way to get artifact download URL back ? I'm working with maven projects , I use bamboo for build automation. After successful Build completion, artifacts will be pushed Jfrog artifactory. My requirement here is to get the artifact download URL back in an automated way(Using bamboo Plugins, Rest API, Jfrog CLI, Maven or any other) 回答1: You can use the Build Artifacts Search REST API endpoint. You will need to send the build name + number in the JSON, Artifactory will

Can I mount an Artifactory repository as a NFS system

左心房为你撑大大i 提交于 2019-12-11 17:20:08
问题 I want to move the data the in my NFS to the Artifactory, and still, access the data as if it is present in NFS I tried to use WebDAV to mount the Artifactory repository, but it is slow. Does WebDAV actually mount artifacts instantly 来源: https://stackoverflow.com/questions/56422772/can-i-mount-an-artifactory-repository-as-a-nfs-system

JFrog / Artifactory plugin for file download in Gradle

南笙酒味 提交于 2019-12-11 16:39:47
问题 I know there are external plugins like the one in the link: https://www.michel-kraemer.com/gradle-download-task-download-files-with-progress/ for downloading files through Gradle. But since I have to download the files from Artifactory, I was wondering if there are any JFrog/Artifactory plugins to download files from Artifactory in Gradle. Can anyone please provide code also? 回答1: JFrog has a Gradle plugin, with examples available on Github. You can find additional documentation in this Jfrog

Deploying a gradle script from Jenkins using the artifactory plugin

流过昼夜 提交于 2019-12-11 16:14:51
问题 I'm trying to deploy a build from jenkins using the artifactory invocation of gradle plugin and get a an HTTP error 302, going through the log looks like there's a checksum problem that cannot be skipped: 13:35:41.463 [DEBUG] [org.jfrog.gradle.plugin.artifactory.task.BuildInfoBaseTask] Failed checksum deploy of checksum '8d80bb7f1bf2f0457baa3ad7379348c5ecbf2535' with statusCode: 302 13:35:41.466 [DEBUG] [org.apache.http.impl.conn.SingleClientConnManager] Get connection for route HttpRoute[{}-

How do I de-reference a collection of Gradle publications?

扶醉桌前 提交于 2019-12-11 15:27:26
问题 SOLVED - see the end of this post. When publishing Ivy publications individually, how can I then reference the collection in my subprojects section? I'm working with tasks that build rpms inside a nested iteration - they look a bit like this: def addWebServerTasks(aProject, hostId) { aProject.with { task "buildRpm_${hostId}"(type: Rpm, dependsOn: "templates_${hostId}") { ... } publishing.publications.create("${project.name}-${hostId}", IvyPublication) { artifact tasks."buildRpm_${hostId}"

Artfifactory show users that downloaded file

删除回忆录丶 提交于 2019-12-11 15:10:45
问题 I want to find out which users have downloaded a file from Artifactory. Actually, I only see the user that performed the last download in the Artifactory "GUI". I tried to find a corresponding resource in the REST API but wasn't able to find one. My question: Does Artifactory offer a web API to find out which users have downloaded a specific file? Thx 回答1: There is no UI for your requested behavior in Artifactory. You can look at the "request.log" located in $ARTIFACTORY_HOME/logs and search