I am thinking of writing a bash script(plugin.sh) that would download the plugins along with their dependencies.
I am also thinking of creating a text file(plugin.txt) where I would list the plugin and version that I need to download.
The bash script(plugin.sh) will take text file(plugin.txt) as an input and would download all the plugins along with their dependencies in the /var/lib/plugins
I am sure someone must have done this earlier. I will highly appreciate if you can provide a few references to it.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAArU9iYioQod5bMU_dACjCgJY9nu5485zA%3DhaRNz2pi2%3DXQJ9A%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAEJ3w4Xxu_uW-rxYw1w4FubrUDxS%3DgsGuvAWsx1i_iMFW9j4vw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/D32849B7.4E383%25ingunawa%40cisco.com.
| <dependency> | |
| <groupId>org.jenkins-ci.plugins</groupId> | |
| <artifactId>metrics</artifactId> | |
| <version>3.1.2.5</version> | |
| <type>hpi</type> | |
| <scope>provided</scope> | |
| </dependency> | |
| </dependencies> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.jenkins-ci.tools</groupId> | |
| <artifactId>maven-hpi-plugin</artifactId> | |
| <version>1.115</version> | |
| <executions> | |
| <execution> | |
| <goals> | |
| <goal>bundle-plugins</goal> | |
| </goals> | |
| <configuration> | |
| <outputDirectory>${project.build.directory}/${project.build.finalName}/plugins/</outputDirectory> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> |
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtGHTCjMfW5t-Q8pMdOObJV7YsPd%2ByN7io90PRH0X4H9Kw%40mail.gmail.com.