Hello
I ussualy install my plugins in my local Jira instance via atlas-cli (pi) commands, and always install the plugin saying "[INFO] Install Plugin: Uploading 'myplugin.jar' to server via UPM: http://localhost:2990/jira"
I've seen here atlas-cli has a parameter named --server and --http-port, but I can't find an example of how to use this parameters to install my plugin in a remote server (instead of localhost), is it possible?
I tryed this but no success:
maven2> pi --server:https://myserver.com --http-port:8443
maven2> pi --server:https://myserver.com:8443
There are errors like this:
Caused by: org.apache.maven.plugin.InvalidPluginException: Unable to build project for plugin '--server:myserver.com': POM '--server:myserver.com' not found in repository: Unable to determine the release version
Community moderators have prevented the ability to post new answers.
The --server parameter is meant to be used with atlas-cli command, not with pi command.
In other words: you should first run:
atlas-cli --server https://myserver.com --http-port 8443
and, when the cli console is loaded, install the plugin using the pi command.
EDIT:
Also, if your server doesn't have default admin credentials set as admin/admin you won't be able to upload your plugin using pi command.
Take a look at this topic for more details: https://answers.atlassian.com/questions/55580/while-running-atlas-cli-how-do-we-specify-admin-username-and-password-to-use
Thank you for your comment.
I've tryed
atlas-cli --server:https://myserver.com --http-port:8443
atlas-cli --server:myserver.com --http-port:8443
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry Leonardo, there's a typo in the command, my bad. There should not be any colon punctuations (":") after "server" and "http-port" parameters.
It should look like this:
atlas-cli --server https://myserver.com --http-port 8443
I'll edit my answer to fix the typos.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can't do that unfortunately. I've answered that part already (see the "EDIT" part of my answer).
If you don't have administartor credentials set as admin/admin you won't be able to install plugin using pi command. Take a look at this topic for some more help: https://answers.atlassian.com/questions/55580/while-running-atlas-cli-how-do-we-specify-admin-username-and-password-to-use
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.