sonatype nexus 3的工件上传工具

snaut的Python项目详细描述


imageimageimageimageimage

圈套

sonatype nexus 3的工件上传工具

替代curl -X POST -u user:pwd -F "pypi.asset=@mypackage.whl" ...

支持的资产类型:pypirubygemsnugetnpm

API docs

安装

pip install snaut

用法

snaut --help

snaut -r http://host/service/rest/v1/components?repository=myrepo -a pypi mypackage.whl

环境变量或.env文件在您的ci/cd管道中很有用:

  • snaut_回购
  • snaut_资产
  • snaut_目录
  • snaut_用户名
  • snaut_密码
  • 罗嗦
  • snaut_超时
  • snaut_no_verify

示例:

python setup.py sdist bdist_wheel
snaut dist/*

原始资产类型:

snaut -d /mypath dist/*
snaut -d / myfile.zip

要求

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java Clojure关键字在内存中的大小是多少?   Java中有固定长度的通用数组对象吗?   PostgreSQL:通过Java更新我的用户表   错误:使用java解析xml   java Json显示列表中对象的名称   java比较JodaTime时区   与JAVA中的API和包的区别?   java的int值在for循环中不改变   谷歌应用引擎中的java RSA   迁移到spring 5后出现java非法字符错误   java Websphere管理控制台不工作   JavaGSON如何始终在json中包含毫秒?   带有空格和双引号的windows Java ProcessBuilder命令参数失败   java错误:重复的zip条目[43.jar:org/apache/http/annotation/NotThreadSafe.class]