Skip to main content

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
  1. Install Python 2.7 or 3.4+:

    When installing, option Add python.exe to Path must 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.

  2. Install nexus_upload via pip

    pip install -i https://pypi.tuna.tsinghua.edu.cn/simple/ nexus_upload
    
  3. Reboot the system

  • Linux
  1. Install Python 2.7 or 3.4+

  2. Install nexus_upload via pip

    pip install -i https://mirrors.aliyun.com/pypi/simple/ nexus_upload
    
  • MacOSX
  1. Install Python 2.7 or 3.4+

  2. Install nexus_upload via pip

    pip 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nexus_upload-0.0.2.tar.gz (4.3 kB view details)

Uploaded Source

File details

Details for the file nexus_upload-0.0.2.tar.gz.

File metadata

  • Download URL: nexus_upload-0.0.2.tar.gz
  • Upload date:
  • Size: 4.3 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

Hashes for nexus_upload-0.0.2.tar.gz
Algorithm Hash digest
SHA256 839fb94fa92d4ac33eac3dc94c2b5f76d2f1784fe3cdba6eb8929762942c4f3e
MD5 d05f6f49748513bff4d9d3b6938eb16f
BLAKE2b-256 f87929c5b27ba7202a183711fe69a1f659debc0c55046a7a94a919a10d26f226

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page