@PLUGIN@ project - Imports a project
ssh -p @SSH_PORT@ @SSH_HOST@ @PLUGIN@ project --from <URL> | -f <URL> --user <USER> | -u <USER> --pass - | <PASS> <NAME> ...
Imports a project.
Caller must be a member of a group that is granted the ‘Import’ capability (provided by this plugin) or the ‘Administrate Server’ capability.
This command is intended to be used in scripts.
--from
: URL of the remote system from where the project should be imported.
--pass
: Password of remote user.
--user
: User on remote system.
Import two projects:
$ ssh -p @SSH_PORT@ @SSH_HOST@ @PLUGIN@ project --from https://some-gerrit-server:8080 --pass myPassword --user myUser myProject myOtherProject