File tree Expand file tree Collapse file tree 4 files changed +20
-12
lines changed
Expand file tree Collapse file tree 4 files changed +20
-12
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ D=$(mktemp -d)
55trap ' rm -rf "${D}"' EXIT
66
77cp -R " $( dirname " $0 " ) " /* " ${D} "
8+ mkdir -p " ${D} /SOURCES"
89cp " ${BASE} /systemd/jenkins.service" " ${D} /SOURCES"
910cp " ${BASE} /systemd/jenkins.sh" " ${D} /SOURCES"
1011cp " ${BASE} /systemd/migrate.sh" " ${D} /SOURCES"
Original file line number Diff line number Diff line change @@ -25,10 +25,16 @@ function generateSite() {
2525 cat > " $D /${ARTIFACTNAME} .repo" << EOF
2626[${ARTIFACTNAME} ]
2727name=${PRODUCTNAME}${RELEASELINE}
28+ enabled=1
29+ type=rpm-md
2830baseurl=${RPM_URL}
2931gpgkey=${RPM_URL} /repodata/repomd.xml.key
3032gpgcheck=1
3133repo_gpgcheck=1
34+
35+ # Only for SUSE/openSUSE distributions with zypper
36+ autorefresh=1
37+ keeppackages=0
3238EOF
3339
3440 " $BASE /bin/indexGenerator.py" \
Original file line number Diff line number Diff line change @@ -18,19 +18,26 @@ <h2>Red Hat and derivatives</h2>
1818
1919 < h2 > openSUSE</ h2 >
2020
21- To use this repository with openSUSE, run the following command:
22-
21+ To use this repository with openSUSE, start by adding the requirements with the following command:
22+
23+ < pre class ="text-white bg-dark ">
24+
25+ zypper install dejavu-fonts fontconfig java-21-openjdk wget
26+ </ pre >
27+
28+ Then add the repository with run the following command:
29+
2330 < pre class ="text-white bg-dark ">
2431
25- sudo zypper addrepo -f {{web_url}}/ {{artifactName}}
32+ wget -O /etc/zypp/repos.d/jenkins.repo \
33+ {{web_url}}/jenkins.repo
2634 </ pre >
27-
35+
2836 < p >
2937 With that set up, the {{ product_name }} package can be installed with:
30-
38+
3139 < pre class ="text-white bg-dark ">
3240
33- zypper install dejavu-fonts fontconfig java-21-openjdk
3441 zypper install {{ artifactName }}
3542 </ pre >
3643 </ p>
You can’t perform that action at this time.
0 commit comments