I am trying to create a bash script for setting up Jenkins. Is there any way to update a plugin list from the Jenkins terminal?
At first setup there is no plugin availab
You can actually install plugins from the computer terminal (rather than the Jenkins terminal).
http://updates.jenkins-ci.org/download/plugins
) $JENKINS_HOME/plugins
directoryhttp://yourservername:8080/jenkins/reload
)This will enable the plugin in Jenkins and assuming that Jenkins is started.
cd $JENKINS_HOME/plugins
curl -O http://updates.jenkins-ci.org/download/plugins/cobertura.hpi
curl http://yourservername:8080/reload