Upload packages to Nexus server
Project description
nexus_upload
Table of Contents
About
nexus_upload is a command line tool to batch upload packages to Nexus server.
Installing
- Windows
-
Install Python 2.7 or 3.4+:
When installing, option
Add python.exe to Pathmust be selected and enabled. Or after installation, manually add the Python installation directory and its Scripts subdirectory to your PATH. Depending on your Python version, the defaults would be C:\Python27 and C:\Python27\Scripts respectively. -
Install
nexus_uploadvia pippip install -i https://pypi.tuna.tsinghua.edu.cn/simple/ nexus_upload -
Reboot the system
- Linux
-
Install Python 2.7 or 3.4+
-
Install
nexus_uploadvia pippip install -i https://mirrors.aliyun.com/pypi/simple/ nexus_upload
- MacOSX
-
Install Python 2.7 or 3.4+
-
Install
nexus_uploadvia pippip install -i https://pypi.douban.com/simple/ nexus_upload
Usage
-
General command help
nexus_upload --help usage: nexus_upload [-h] -s <url> -r <repo> -u <user> -p <pass> -j <jar> [<jar> ...] -f <path> [--ssh-server <host:port>] [--ssh-login <user:pass>] optional arguments: -h, --help show this help message and exit -s <url>, --server <url> The Nexus server url -r <repo>, --repository <repo> The Nexus repository name, eg. maven-releases -u <user>, --username <user> The Nexus login username -p <pass>, --password <pass> The Nexus login password -j <jar> [<jar> ...], --jar <jar> [<jar> ...] Upload specific package jar(s), eg: com.alibaba:fastjson:jar:1.2.62 -f <path>, --folder <path> Upload package jars from local or remote path --ssh-server <host:port> Remote ssh's host and port, eg: ssh.server.com:22 --ssh-login <user:pass> Remote ssh's username and password, eg: root:pass
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file nexus_upload-0.0.1.tar.gz.
File metadata
- Download URL: nexus_upload-0.0.1.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
23217b8f6766d4a8bbcf580d360fb467cd4960b5aa01d652f7ffb2f900de0cdc
|
|
| MD5 |
78a658f343c594ed6411a55eb34547ed
|
|
| BLAKE2b-256 |
4838ab2dc7683b93a43d5cf58b93d7bebf43c88223456828137477d76732873f
|