diff --git a/bin/indexGenerator.py b/bin/indexGenerator.py index e0b17006..11cffb9b 100755 --- a/bin/indexGenerator.py +++ b/bin/indexGenerator.py @@ -213,7 +213,4 @@ def generate_repository_index(self): headerGenerator = IndexGenerator(sys.argv[1:]) headerGenerator.show_information() headerGenerator.generate_repository_header() - headerGenerator.generate_footer() headerGenerator.generate_repository_index() - headerGenerator.generate_root_header() - headerGenerator.generate_root_footer() diff --git a/templates/base.html b/templates/base.html index 38602401..30854719 100644 --- a/templates/base.html +++ b/templates/base.html @@ -6,6 +6,7 @@ + {% block head %} {{ os_family | capitalize}} {{product_name | capitalize }} Packages {% endblock %} diff --git a/templates/header.debian.html b/templates/header.debian.html index 7c630a7d..95039942 100644 --- a/templates/header.debian.html +++ b/templates/header.debian.html @@ -1,51 +1,12 @@ -{% extends "base.html" %} + -{% block distribution_instruction %} + -

- This is the Debian package repository of {{product_name}} to automate installation and upgrade. + - To use this repository, first add the key to your system: + + + + -

-    
-  curl -fsSL {{web_url}}/{{organization}}-2023.key | sudo tee \
-    /usr/share/keyrings/jenkins-keyring.asc > /dev/null
-  
- - Then add a Jenkins apt repository entry: - -
-    
-  echo deb [signed-by=/usr/share/keyrings/jenkins-keyring.asc] \
-    {{ web_url }} binary/ | sudo tee \
-    /etc/apt/sources.list.d/jenkins.list > /dev/null
-  
-

- -

-Update your local package index, then finally install {{product_name}}: - -

-   
-  sudo apt-get update
-  sudo apt-get install fontconfig openjdk-17-jre
-  sudo apt-get install {{artifactName}}
-   
-  
-

- -

-The apt packages were signed using this key: -

- -
{{ pub_key_info|trim }}
-{% endblock %} - -{% block individual_package_instruction %} - -

- If you need *.deb for a specific version, use these. -

- -{% endblock %} +

You are getting redirected to https://www.jenkins.io/doc/book/installing/linux/

diff --git a/templates/header.msi.html b/templates/header.msi.html index 5095a12f..9d0abb7e 100644 --- a/templates/header.msi.html +++ b/templates/header.msi.html @@ -1,11 +1,10 @@ -{% extends "base.html" %} + -{% block distribution_instruction %} + -

- This is the MSI package repository of {{product_name}} for installation. -

-{% endblock %} + + + + -{% block individual_package_instruction %}{% endblock %} -{% block java_instructions %}{% endblock %} +

You are getting redirected to https://www.jenkins.io/doc/book/installing/windows/

diff --git a/templates/header.opensuse.html b/templates/header.opensuse.html index cb0e7d19..655f35f1 100644 --- a/templates/header.opensuse.html +++ b/templates/header.opensuse.html @@ -1,27 +1,10 @@ -{% extends "base.html" %} + -{% block distribution_instruction %} + -To use this repository, run the following command: + + + + -
-
-  sudo zypper addrepo -f {{web_url}}/ {{artifactName}}
-
-
- -

-With that set up, the {{ product_name }} package can be installed with: - -

-
-  zypper install dejavu-fonts fontconfig java-17-openjdk
-  zypper install {{ artifactName }}
-
-
-

-{% endblock %} - -{% block individual_package_instruction %} -If you need *.rpm for a specific version, use these. -{% endblock %} +

You are getting redirected to https://www.jenkins.io/doc/book/installing/linux/

diff --git a/templates/header.redhat.html b/templates/header.redhat.html index 2eec5f11..42f1df90 100644 --- a/templates/header.redhat.html +++ b/templates/header.redhat.html @@ -1,35 +1,10 @@ -{% extends "base.html" %} + -{% block distribution_instruction %} + -

- To use this repository, run the following command: + + + + -

-
-  sudo wget -O /etc/yum.repos.d/{{artifactName}}.repo {{ web_url }}/{{artifactName}}.repo
-  sudo rpm --import {{ web_url }}/{{organization}}-2023.key
-  
- -

- If you've previously imported the key from Jenkins, the rpm --import will fail because - you already have a key. Please ignore that and move on. - -

-
-  yum install fontconfig java-17-openjdk
-  yum install {{artifactName}}
-  
- -

- The rpm packages were signed using this key: -

- -
{{ pub_key_info|trim }}
- - -{% endblock %} - -{% block individual_package_instruction %} - If you need *.rpm for a specific version, use these. -{% endblock %} +

You are being redirected to https://www.jenkins.io/doc/book/installing/linux/

diff --git a/templates/header.war.html b/templates/header.war.html index eb2ce9e4..2af9d1dd 100644 --- a/templates/header.war.html +++ b/templates/header.war.html @@ -1,73 +1,10 @@ -{% extends "base.html" %} + -{% block distribution_instruction %} + -

- This is the WAR package repository of {{ product_name }} for installation. -

-{% endblock %} + + + + -{% block java_instructions %} -

- You will need to explicitly install a supported Java runtime environment (JRE), - e.g. Eclipse Temurin. -

- -

- Weekly Release Line -

- -

- Supported Java versions for the weekly release line are: -

- -
-
2.419 (August 2023) and newer
-
Java 11, Java 17, or Java 21
- -
2.357 (June 2022) and newer
-
Java 11 or Java 17
- -
2.164 (February 2019) and newer
-
Java 8 or Java 11
- -
2.54 (April 2017) and newer
-
Java 8
- -
1.612 (May 2015) and newer
-
Java 7
-
- -

- Long Term Support (LTS) Release Line -

- -

- Supported Java versions for the LTS release line are: -

- -
-
2.361.1 (September 2022) and newer
-
Java 11 or Java 17
- -
2.346.1 (June 2022) and newer
-
Java 8, Java 11, or Java 17
- -
2.164.1 (March 2019) and newer
-
Java 8 or Java 11
- -
2.60.1 (June 2017) and newer
-
Java 8
- -
1.625.1 (October 2015) and newer
-
Java 7
-
-{% endblock %} - -{% block individual_package_instruction %} - -

- If you need *.war for a specific version, use these. -

- -{% endblock %} +

You are getting redirected to https://www.jenkins.io/doc/book/installing/war-file/

diff --git a/templates/index.html b/templates/index.html index 7d479e49..3daa8ea6 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,2 +1 @@ {% include header %} -{% include "footer.html" %}