当我在 Jenkins 中运行构建时,它成功了,我也能够部署它。但我在我的 Maven 存储库私有/发布位置找不到我的 jar 文件
https://repository-ram-cloud.forge.cloudbees.com/release/
这是 Jenkins 控制台输出
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
Projects to build: [MavenProject: com.uhg.jcoe:osa-common:1.0.0 @ /scratch/jenkins/workspace/osa-common build/pom.xml]
[JENKINS] Archiving /scratch/jenkins/workspace/osa-common build/pom.xml to /home/ram-cloud/hudson_home/jobs/osa-common build/modules/com.uhg.jcoe$osa-common/builds/2013-03-16_19-13-30/archive/com.uhg.jcoe/osa-common/1.0.0/osa-common-1.0.0.pom
[JENKINS] Archiving /scratch/jenkins/workspace/osa-common build/target/osa-common-1.0.0.jar to /home/ram-cloud/hudson_home/jobs/osa-common build/modules/com.uhg.jcoe$osa-common/builds/2013-03-16_19-13-30/archive/com.uhg.jcoe/osa-common/1.0.0/osa-common-1.0.0.jar
Waiting for Jenkins to finish collecting data
channel stopped
[cloudbees-deployer] Deploying as (jenkins) to the ram-cloud account
看到它说它已部署到 ram-cloud 帐户,但我看不到它,这就是我的其他项目失败的原因,因为它们有这个 jar 依赖关系。