【发布时间】:2019-11-08 17:10:43
【问题描述】:
我正在尝试建立一个开发环境,所以我开始学习 intershop 教程:准备您的工件存储库服务器 (https://support.intershop.com/kb/index.php/Display/287Q77)。
当我跑步时
[vagrant@localhost corporate-distribution]$ ./gradlew publish -PreleaseURL=http://localhost:8081/nexus/content
/repositories/distributions -PscmVersionExt=REALEASE
即使我收到构建成功的消息,也没有在 nexus 上发布任何内容
:publish UP-TO-DATE
BUILD SUCCESSFUL
当我和
一起跑步时[vagrant@localhost corporate-distribution]$ ./gradlew publish -PrunOnCI=true -PreleaseURL=http://localhost:808
1/nexus/content/repositories/distributions -PscmVersionExt=REALEASE
All tasks will be executed on a CI build environment.
:downloadGradle
:customGradleDistribution
FAILURE: Build failed with an exception.
* What went wrong:
Could not expand ZIP '/home/vagrant/intershop-cisetup-sources/devops/gradle/corporate-distribution/gradle-downloads/gradle-2.11-bin.zip'.
> archive is not a ZIP archive
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
我验证了 zip 文件:
-rw-rw-r--. 1 vagrant vagrant 0 Nov 8 16:52 gradle-2.11-bin.zip
所以我手动下载了一个并将其添加到 gradle-downloads 文件夹中。同样的事情..我总是得到 :publish UP-TO-DATE 。
任何想法都会受到赞赏。提前谢谢你。
【问题讨论】:
-
欢迎来到 SO。您能否使用块代码正确格式化您的代码?事实上,它很难通读。
-
PscmVersionExt=REALEASE 应该是 PscmVersionExt=RELEASE
标签: installation nexus intershop