Skip to content

Commit 70aee64

Browse files
committed
Add instructions for predownload plugins
1 parent 3adead3 commit 70aee64

File tree

3 files changed

+44
-2
lines changed

3 files changed

+44
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
docker-compose.yml

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
##### Tired of endless installation and configuration .... ?!
44

5-
My personal solution is a local Build Environment with Jenkins (over 200 plugins), Gitlab, Sonar and Nexus; ready in a few minutes.
5+
My personal solution is a local Build Environment with Jenkins, Gitlab, Sonar and Nexus; ready in a few minutes.
66
Your own lokal, personal, continous build enviroment (maybe in future releases I just call it lpcbe).
77

88
### System requirements
@@ -142,9 +142,11 @@ In most cases a wrong DNS-Server causes trouble, to check this try the follwing.
142142
```
143143
both ping must be work
144144

145-
* consider low memory
145+
* consider low memory:
146146
with an amount lower than 8GB sonar and eleastic search did not startup
147147

148+
* too many plugins to download:
149+
You can do an "pre download of the plugins", see the readme.md at jenkins-fat direcory
148150

149151

150152

jenkins-fat/readme.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
### Steps to predownload plugins.
2+
3+
* Just a little wget Script to download all plugins
4+
```
5+
./preDownload.sh $(cat active-plugins.txt)
6+
```
7+
* Download jenkins-war-2.73.2.war to the actual directory
8+
9+
* Edit Dockerfile to copy all the Plugins into Jenkins
10+
```
11+
Line: 107 - 115 before edit
12+
107 #------------------ Optional lokal caching of files
13+
108 # Download jenkins with yout favorite browser and put the war in the current dir.
14+
109 #COPY jenkins-war-2.73.2.war /usr/share/jenkins/jenkins.war
15+
110 ###### # Copy all Cached plugins ...
16+
111 # to preLoad all Plugins listed in active-plugins.txt use the command
17+
112 # ./preDownload.sh $(cat active-plugins.txt)
18+
113 # this will download all the plugins in th Folder Plugins
19+
114 # COPY Plugins/* /usr/share/jenkins/ref/plugins/
20+
115 #------------------ Optional lokal caching of files end block
21+
22+
Line: 107 - 115 after edit (edit only line 109 and 114)
23+
107 #------------------ Optional lokal caching of files
24+
108 # Download jenkins with yout favorite browser and put the war in the current dir.
25+
26+
109 COPY jenkins-war-2.73.2.war /usr/share/jenkins/jenkins.war
27+
28+
110 ###### # Copy all Cached plugins ...
29+
111 # to preLoad all Plugins listed in active-plugins.txt use the command
30+
112 # ./preDownload.sh $(cat active-plugins.txt)
31+
113 # this will download all the plugins in th Folder Plugins
32+
33+
114 COPY Plugins/* /usr/share/jenkins/ref/plugins/
34+
35+
115 #------------------ Optional lokal caching of files end block
36+
37+
```
38+
39+

0 commit comments

Comments
 (0)