packaging
packaging copied to clipboard
Redirect pkg.jenkins.io to install doc page instead of brief summary
Testing
Here's the generated index.html
once run make publish
.
<title>Debian Jenkins Packages</title>
<link href='https://www.jenkins.io/sites/default/files/jenkins_favicon.ico' rel='shortcut icon' type='image/x-icon'/>
<link rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65"
crossorigin="anonymous">
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js"
integrity="sha256-pvPw+upLPUjgMXY0G+8O0xUf+/Im1MZjXxxgOcBQBXU="
crossorigin="anonymous"></script>
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js"
integrity="sha384-cuYeSxntonz0PPNlHhBs68uyIAVpIIOZZ5JqeqvYYIcEL727kskC66kF92t6Xl2V"
crossorigin="anonymous"></script>
<style type="text/css">
dl {
padding: 0;
}
dl dt {
padding: 0;
margin-top: 1em;
font-size: 1em;
font-style: italic;
font-weight: bold;
}
dl dd {
padding: 0 1em;
margin-bottom: 1em;
}
</style>
Jenkins Debian Packages
This is the Debian package repository of Jenkins to automate installation and upgrade.
To use this repository, first add the key to your system:
curl -fsSL https://pkg.jenkins.io/debian/jenkins.io-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] \
https://pkg.jenkins.io/debian binary/ | sudo tee \
/etc/apt/sources.list.d/jenkins.list > /dev/null
Update your local package index, then finally install Jenkins:
sudo apt-get update
sudo apt-get install fontconfig openjdk-17-jre
sudo apt-get install jenkins
The apt packages were signed using this key:
pub rsa4096 2022-03-03 [SC] D91D3E00200107E4219524DD42715B56E211B042 uid Bogus Test (This is test only key)sub rsa4096 2022-03-03 [E]
<p>
You will need to explicitly install a supported Java runtime environment (JRE), either from your distribution
(as described above) or another Java vendor (e.g., <a href="https://adoptium.net/">Adoptium</a>).
</p>
<h2>
Weekly Release Line
</h2>
<p>
Supported Java versions for the weekly release line are:
</p>
<dl>
<dt>2.419 (August 2023) and newer</dt>
<dd>Java 11, Java 17, or Java 21</dd>
<dt>2.357 (June 2022) and newer</dt>
<dd>Java 11 or Java 17</dd>
<dt>2.164 (February 2019) and newer</dt>
<dd>Java 8 or Java 11</dd>
<dt>2.54 (April 2017) and newer</dt>
<dd>Java 8</dd>
<dt>1.612 (May 2015) and newer</dt>
<dd>Java 7</dd>
</dl>
<h2>
<a href="https://www.jenkins.io/download/lts/">Long Term Support (LTS)</a> Release Line
</h2>
<p>
Supported Java versions for the LTS release line are:
</p>
<dl>
<dt>2.361.1 (September 2022) and newer</dt>
<dd>Java 11 or Java 17</dd>
<dt>2.346.1 (June 2022) and newer</dt>
<dd>Java 8, Java 11, or Java 17</dd>
<dt>2.164.1 (March 2019) and newer</dt>
<dd>Java 8 or Java 11</dd>
<dt>2.60.1 (June 2017) and newer</dt>
<dd>Java 8</dd>
<dt>1.625.1 (October 2015) and newer</dt>
<dd>Java 7</dd>
</dl>
<p>
See <a href="https://www.jenkins.io/doc/book/installing/">the installation guide</a> for more information, including how Jenkins is run and where the configuration is stored, etc.
</p>
</div>
</div>
</div>
</div>
</div>
The page immediately redirects to https://www.jenkins.io/doc/book/installing/linux/, can be locally reproduced as well
Implements #415
### Submitter checklist
- [x] Make sure you are opening from a **topic/feature/bugfix branch** (right side) and not your main branch!
- [x] Ensure that the pull request title represents the desired changelog entry
- [x] Please describe what you did
- [x] Link to relevant issues in GitHub or Jira
- [x] Link to relevant pull requests, esp. upstream and downstream changes
- [x] Ensure you have provided tests - that demonstrates feature works or fixes the issue