artifactory

How to promote a build when identical build name and numbers exist

喜你入骨 提交于 2020-12-15 06:58:29
问题 The Artifactory REST API has a resource for build promotion, which takes a build name and build number. One of my projects has been posting three builds with identical build names and build numbers. When viewing the projects in the repo they are sufficiently distinct: Myproject Myproject-foo Myproject-no-bar I am looking to promote just one of these ( Myproject-foo ). I can get the build runs for the build name, but as the URIs are matching there is no way to examine the different builds

Artifactory : java.io.IOException: Failed to deploy file. Status code: 404 Response message

一曲冷凌霜 提交于 2020-12-13 03:51:15
问题 Unable to deploy artfacts on our artifactory set on https. Execution failed for task ':artifactoryDeploy'. java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.io.IOException: Failed to deploy file. Status code: 404 Response message: Artifactory returned the following errors: Failed to persist file with sha1: ed7a19cc58e736b5cd9d1ef5ec7d2ff897d4793f Status code: 404 Try: Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Artifactory : java.io.IOException: Failed to deploy file. Status code: 404 Response message

送分小仙女□ 提交于 2020-12-13 03:50:08
问题 Unable to deploy artfacts on our artifactory set on https. Execution failed for task ':artifactoryDeploy'. java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.io.IOException: Failed to deploy file. Status code: 404 Response message: Artifactory returned the following errors: Failed to persist file with sha1: ed7a19cc58e736b5cd9d1ef5ec7d2ff897d4793f Status code: 404 Try: Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Maven hanging indefinitely while checking for updates

◇◆丶佛笑我妖孽 提交于 2020-12-05 07:14:58
问题 I'm building a project using maven (at which I am a novice) and it's hanging: $ mvn package [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Building Presentation Reports [INFO] task-segment: [package] [INFO] ------------------------------------------------------------------------ [INFO] artifact org.codehaus.mojo:tomcat-maven-plugin: checking for updates from central This command has been doing the job without issue for a

Maven hanging indefinitely while checking for updates

依然范特西╮ 提交于 2020-12-05 07:14:28
问题 I'm building a project using maven (at which I am a novice) and it's hanging: $ mvn package [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Building Presentation Reports [INFO] task-segment: [package] [INFO] ------------------------------------------------------------------------ [INFO] artifact org.codehaus.mojo:tomcat-maven-plugin: checking for updates from central This command has been doing the job without issue for a

How do I generate maven-metata.xml with maven-publish and the artifactory-gradle-plugin?

こ雲淡風輕ζ 提交于 2020-12-01 07:40:44
问题 I've written a Gradle plugin in groovy and used Gradle to build it. I've got a local network Artifactory server that I publish the results to using the Gradle Artifactory plugin and the maven-publish plugin in Gradle. I have another Gradle build script that relies on this plugin as a dependency. I've been able to get this all working if I list my dependency with a specific version. I've tried to use a maven version range (ex. '[1.0,2.0)'), but this fails saying it can't find maven-metadata

How do I generate maven-metata.xml with maven-publish and the artifactory-gradle-plugin?

让人想犯罪 __ 提交于 2020-12-01 07:40:06
问题 I've written a Gradle plugin in groovy and used Gradle to build it. I've got a local network Artifactory server that I publish the results to using the Gradle Artifactory plugin and the maven-publish plugin in Gradle. I have another Gradle build script that relies on this plugin as a dependency. I've been able to get this all working if I list my dependency with a specific version. I've tried to use a maven version range (ex. '[1.0,2.0)'), but this fails saying it can't find maven-metadata

Where is the Artifactory OSS source code located?

佐手、 提交于 2020-11-30 04:43:33
问题 I can download the latest Artifactory OSS release (5.2.1), but I can't seem to find its source code. The Artifactory documentation links to https://api.bintray.com/content/jfrog/artifactory/jfrog-artifactory-oss-$latest-sources.tar.gz;bt_package=jfrog-artifactory-oss-zip, but there's no source at that address. Does anyone know what the real URL is, or if there's a public svn or git repo that I can clone? 回答1: Thanks for letting us know. We have uploaded the sources of version 5.2.1 to Bintray

从实践中长出的 DevOps 大树

﹥>﹥吖頭↗ 提交于 2020-11-12 14:54:57
如果你还在犹豫要不要实践 DevOps,建议出门右转去看看 Puppetlab 发布的历年 State of DevOps Report。 DevOps 的理解千千万,见仁见智,核心理念都是希望提升效率和质量。重点想写一写如果不是完全自上而下的推 DevOps,我们可以怎么玩儿? 开门见山: 从实践入手,配合工具的使用,以解决具体的问题为出发点。由实践的组合使用,倒推流程与组织文化的升级。 如图是我整理的 DevOps 涉及改进的领域:组织+文化=>流程与方法=>实践=>工具。每个领域都可以改进,都有很多地方需要我们改进,我的选择是从DevOps Practice 作为切入点。 很多团队都会遇到这个问题:DevOps 所倡导的理念、文化、实践都挺好的,但是不知道应该怎么入手,总觉得这么系统化的方法论和体系只能从上到下的推进。造成大家困惑的原因有以下几点: DevOps 关注的领域实在太多,我们的问题也太多,不好下手 大家对 DevOps 的理解千差万别(DevOps Master 认证可以帮你系统化理解DevOps) 在组织或者团队内部贸然引入 DevOps 面临的阻力和风险很大,需要在短期内有明显的效果来背书 最容易也最体现效果的是从(最佳)实践入手,每个实践都是可以单独应用的,为了解决某个具体的问题,使用成本低,很多时候在团队内即可完成,比如自动化部署,测试团队

绕开Docker Hub下载限制:JFrog Artifactory

穿精又带淫゛_ 提交于 2020-11-05 08:12:38
您可能已经听到了有关最新的Docker声明,其中涉及容器镜像提取的速率限制。从11月1日开始,Docker将开始根据您的订阅级别限制Docker Hub的使用,并强制阻止超出限制的拉取请求。不仅如此,Docker还制定了一项新的保留政策,即免费帐户,6个月未活动的镜像将被删除(最初定于11月1日,由于社区的反馈,该政策已推迟到2021年中期)。这些新的限制将对如何使用世界公开的Docker容器镜像产生重大影响。 Docker已树立了开源计划的榜样,为开源社区提供了更高级别的部署工具和方法论。毫无疑问。新的限制不会对单个开发人员造成严重影响,相反,它们将为中大型开发团队带来新的挑战。您的团队越大,产生的影响越大。这可能仅仅是开始;我们可能希望将来会看到新政策,这些政策会影响Docker Hub以及其他方面的使用。 好消息是,有许多工具可用于管理Docker镜像,以确保组织的开发流水线不会受到任何影响。JFrog Artifactory是最受欢迎制品库,在Docker Hub功能发布之前就已经充当了Docker Registry。使用Artifactory,您将能够继续在自己的私有Docker容器Hub中管理容器镜像,同时减少对Docker Hub的依赖性。 下面让我们深入探讨Docker宣布的这两个限制的真正含义。 Docker的新镜像保留策略 到目前为止