android - Pipelines:mavenLocal 位于 Pipelines 的什么位置?
问题描述
在网站上的信息是 mavenLocal 位于
Linux/Mac:~/.m2
但是当我试图在管道上发出命令时
#Make publish lib to mavenLocal
./gradlew mylib:publishToMavenLocal
#Trying to zip results of publishToMavenLocal command
tar -czvf mavenLocal.tar.gz -C ~/.m2
错误是
+ tar -czvf mavenLocal.tar.gz -C ~/.m2
tar: Cowardly refusing to create an empty archive
Try 'tar --help' or 'tar --usage' for more information.
解决方案
推荐阅读
- c++ - 何时使用 std::make_shared_for_overwrite?
- c - 从给定波形中的“第一个”波开始和结束其周期的缓冲区数组计算索引值
- azure-web-app-service - 通过 Python SDK 将 Azure webapp Slot 恢复到另一个 slot
- python - Plotly Dash:如何调试“加载布局错误”?
- laravel - 汇总同一日期的总数据并按日期分组
- curl - 仅当从 Kubernetes 上运行的服务发出请求时,服务到服务 CURL 请求才返回 404。Minikube、Kubernetes、Traefik
- php - 使用 Blade 组件时视图渲染缓慢
- python - 在熊猫中将前导nan转换为尾随nan
- javascript - 在 vuetify 中查找我可以在我的项目中使用的所有图标
- python - flow_from_data_frame 在 keras 的多输出分类中给出了错误的标签形状