Issue Type: Bug Bug
Assignee: Unassigned
Components: cli, plugin
Created: 31/Jan/13 12:59 AM
Description:

I issued a install plugin command to install a plugin .jpi file on my local box using Jenkins CLI onto the Jenkins instance in the Data Center.

The command returned 0 (success) but it only copied the .jpi plugin file in the ${JENKINS_HOME}/plugins directory. I am thinking that it should copy, and install it right away without restart.

Command issue:
bash-3.2$ ./install-plugin1.sh sjc-bld120-lnx timestamper.jpi
jenkins = sjc-bld120-lnx
login to sjc-bld120-lnx ...
installing timestamper.jpi to sjc-bld120-lnx ...
Installing a plugin from local file: /Users/ingunawa/Data/Jenkins/plugins/timestamper.jpi
bash-3.2$ echo $?
0

the bash script simply login me with my credential and install-plugin; I am administrator of the Jenkins:

java -jar /Users/ingunawa/Data/Jenkins/jenkins-cli.jar -s http://$n:8080 login --username ingunawa --password-file cec-password.txt

java -jar /Users/ingunawa/Data/Jenkins/jenkins-cli.jar -s http://$n:8080 install-plugin /Users/ingunawa/Data/Jenkins/plugins/$PLUGIN;

jenkins.log:
Jan 30, 2013 4:49:15 PM hudson.TcpSlaveAgentListener$ConnectionHandler run
INFO: Accepted connection #6 from /10.21.69.43:64363
Jan 30, 2013 4:49:25 PM hudson.TcpSlaveAgentListener$ConnectionHandler run
INFO: Accepted connection #7 from /10.21.69.43:64398

-Indra

Environment: Jenkins 1.455, on RHEL with Winstone.
Project: Jenkins
Priority: Major Major
Reporter: Indra Gunawan
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to