Skip to content

Commit

Permalink
Squashed commit of the following:
Browse files Browse the repository at this point in the history
commit 73ef202
Author: Jan Faracik <[email protected]>
Date:   Sat Feb 15 14:28:19 2025 +0000

    Update to Musketeer, fix link

commit 2f0e8dc
Author: Jan Faracik <[email protected]>
Date:   Sat Feb 15 12:16:45 2025 +0000

    Init

commit 80ad271
Author: Kevin Martens <[email protected]>
Date:   Fri Feb 14 09:15:44 2025 -0500

    Update search docs to use Command Palette (jenkins-infra#7876)

    * Updating search documentation for Command Palette

    * compressed images

    * incorporate docs review suggestions

    ---------

    Co-authored-by: Kris Stern <[email protected]>

commit 240fcc5
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Fri Feb 14 09:21:00 2025 +0100

    [Hello World Tutorial] Bump Php alpine docker image version to 8.4.4-alpine3.21 (jenkins-infra#7880)

    chore: Update the value of the php docker image for pipelines in the ...

    ... 'Hello World!' tutorial

    Made with ❤️️ by updatecli

    Co-authored-by: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com>

commit a055b0c
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Fri Feb 14 05:19:54 2025 +0000

    Bump rack from 2.2.8.1 to 2.2.11 (jenkins-infra#7872)

    Bumps [rack](https://github.com/rack/rack) from 2.2.8.1 to 2.2.11.
    - [Release notes](https://github.com/rack/rack/releases)
    - [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md)
    - [Commits](rack/rack@v2.2.8.1...v2.2.11)

    ---
    updated-dependencies:
    - dependency-name: rack
      dependency-type: indirect
    ...

    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Kevin Martens <[email protected]>

commit 878024d
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Thu Feb 13 18:04:41 2025 -0700

    [Docker Tutorial] Bump Docker Workflow Plugin to 595.v60cec912059b_ (jenkins-infra#7873)

    chore: Update the value of the docker-workflow plugin in the Docker t...

    ... utorial

    Made with ❤️️ by updatecli

    Co-authored-by: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com>
    Co-authored-by: Mark Waite <[email protected]>

commit 67b2c4e
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Thu Feb 13 18:04:25 2025 -0700

    [Tutorials and Agents Docs] Bump node LTS alpine docker image version to 22.14.0-alpine3.21 (jenkins-infra#7879)

    * chore: Update the value of the node docker image in the 'Using Docker...

    ...  with Pipeline' documentation

    Made with ❤️️ by updatecli

    * chore: Update the value of the node docker image for scripts in the '...

    ... Hello World!' tutorial

    Made with ❤️️ by updatecli

    * chore: Update the value of the node docker image in the 'Using Docker...

    ...  with Pipeline' documentation

    Made with ❤️️ by updatecli

    * chore: Update the value of the node docker image in the 'Defining exe...

    ... cution environments' documentation

    Made with ❤️️ by updatecli

    * chore: Update the value of the node docker image in the 'Jenkins Docu...

    ... mentation Style Guide' documentation

    Made with ❤️️ by updatecli

    ---------

    Co-authored-by: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com>

commit 5b198cd
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Fri Feb 14 00:46:22 2025 +0000

    Update Jenkins LTS versions to 2.492.1 in various parts of the documentation (jenkins-infra#7875)

    chore: Bump Jenkins oldest weekly supported version in the "Choosing ...

    ... a version" page

    Made with ❤️️ by updatecli

    Co-authored-by: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com>

commit 9c1cd57
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Fri Feb 14 00:46:17 2025 +0000

    [Hello World Tutorial] Bump Golang alpine docker image version to 1.24.0-alpine3.21 (jenkins-infra#7874)

    chore: Update the value of the golang docker image for pipelines in t...

    ... he 'Hello World!' tutorial

    Made with ❤️️ by updatecli

    Co-authored-by: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com>

commit 0c725d4
Author: Jesse Glick <[email protected]>
Date:   Thu Feb 13 19:38:04 2025 -0500

    Update windows.adoc (jenkins-infra#7878)
  • Loading branch information
janfaracik committed Feb 15, 2025
1 parent a302ad1 commit acbb596
Show file tree
Hide file tree
Showing 20 changed files with 153 additions and 42 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ GEM
coderay (~> 1.1)
method_source (~> 1.0)
public_suffix (5.0.1)
rack (2.2.8.1)
rack (2.2.11)
rb-fsevent (0.11.2)
rb-inotify (0.10.1)
ffi (~> 1.0)
Expand Down
2 changes: 1 addition & 1 deletion STYLEGUIDE.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ node {
// Declarative //
pipeline {
agent { docker { image 'node:22.13.1-alpine3.21' } }
agent { docker { image 'node:22.14.0-alpine3.21' } }
stages {
stage('Build') {
sh 'npm install'
Expand Down
4 changes: 2 additions & 2 deletions content/doc/book/installing/_docker-for-tutorials.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ RUN echo "deb [arch=$(dpkg --print-architecture) \
$(lsb_release -cs) stable" > /etc/apt/sources.list.d/docker.list
RUN apt-get update && apt-get install -y docker-ce-cli
USER jenkins
RUN jenkins-plugin-cli --plugins "blueocean:1.27.16 docker-workflow:592.v1001d948426c json-path-api"
RUN jenkins-plugin-cli --plugins "blueocean:1.27.16 docker-workflow:595.v60cec912059b_ json-path-api"
----
.. Build a new docker image from this Dockerfile and assign the image a meaningful name, e.g. "myjenkins-blueocean:{jenkins-stable}-1":
+
Expand Down Expand Up @@ -252,7 +252,7 @@ RUN echo "deb [arch=$(dpkg --print-architecture) \
$(lsb_release -cs) stable" > /etc/apt/sources.list.d/docker.list
RUN apt-get update && apt-get install -y docker-ce-cli
USER jenkins
RUN jenkins-plugin-cli --plugins "blueocean:1.27.16 docker-workflow:592.v1001d948426c json-path-api"
RUN jenkins-plugin-cli --plugins "blueocean:1.27.16 docker-workflow:595.v60cec912059b_ json-path-api"
----
.. Build a new docker image from this Dockerfile and assign the image a meaningful name, e.g. "myjenkins-blueocean:{jenkins-stable}-1":
+
Expand Down
10 changes: 5 additions & 5 deletions content/doc/book/pipeline/docker.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Any tool that can be link:https://hub.docker.com[packaged in a Docker container]
// Declarative //
pipeline {
agent {
docker { image 'node:22.13.1-alpine3.21' }
docker { image 'node:22.14.0-alpine3.21' }
}
stages {
stage('Test') {
Expand All @@ -45,7 +45,7 @@ pipeline {
// Script //
node {
/* Requires the Docker Pipeline plugin to be installed */
docker.image('node:22.13.1-alpine3.21').inside {
docker.image('node:22.14.0-alpine3.21').inside {
stage('Test') {
sh 'node --eval "console.log(process.platform,process.env.CI)"'
}
Expand Down Expand Up @@ -177,7 +177,7 @@ pipeline {
}
stage('Front-end') {
agent {
docker { image 'node:22.13.1-alpine3.21' }
docker { image 'node:22.14.0-alpine3.21' }
}
steps {
sh 'node --version'
Expand All @@ -196,7 +196,7 @@ node {
}
stage('Front-end') {
docker.image('node:22.13.1-alpine3.21').inside {
docker.image('node:22.14.0-alpine3.21').inside {
sh 'node --version'
}
}
Expand All @@ -214,7 +214,7 @@ Reusing an example from above, with a more custom `Dockerfile`:
.Dockerfile
[source]
----
FROM node:22.13.1-alpine3.21
FROM node:22.14.0-alpine3.21
RUN apk add -U subversion
----
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed content/doc/book/resources/using/search/box.png
Binary file not shown.
Binary file not shown.
Binary file removed content/doc/book/resources/using/search/dropdown.png
Binary file not shown.
37 changes: 19 additions & 18 deletions content/doc/book/using/searchbox.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: section
title: Search Box
title: Command Palette
---
ifdef::backend-html5[]
:description:
Expand All @@ -12,45 +12,46 @@ ifdef::backend-html5[]
endif::[]


= Using Search Box
= Using Command Palette

Every page in Jenkins has a search box on its top right that lets you get to your destination quickly, without multiple clicks.
Jenkins now features a new search experience known as *Command Palette*.
Located in the upper-right corner of the page next to your name, the Command Palette enables you to search everything in Jenkins.

[.boxshadow]
image:using/search/box.png[image]
image:using/command-palette/search-icon.png[Updated search icon from Command Palette.]

For example, if you type "foo #53 console", you'll be taken to the console output page of the "foo" job build #53.
If you have "XYZ" view, just type "XYZ" to get to that view.
The search box comes with auto-completion to assist you.
For example, enter "git #23 console" to display the results for the console output page of "git job build #23".
The Command Palette feature utilizes auto-completion to help you find what you're looking for.
Results can include additional search terms for narrowing results, Pipelines, Views, additional features installed within your Jenkins environment, such as the Design Library, and specific pages within jobs based on your installed plugins, such as the plugin:warnings-ng[Warnings] plugin.
Search results also provide more clarity in the form of icons to help indicate Jenkins features and job statuses.

[.boxshadow]
image:using/search/dropdown.png[image]
The Command Palette is also accessible via keyboard commands for macOS (`CMD+k`) and Windows/Linux (`CTRL+K`).

The search box is also context sensitive.
If you are already somewhere in the foo job (perhaps you are looking at another build), then you can just type "#53 console" instead of "foo #53 console".
If you are already somewhere in the foo #53 (maybe you are looking at test report), then you can just type "console" to get to the same page.
[.boxshadow]
image:using/command-palette/auto-complete-results.png[Auto-complete results from typing into the Command Palette.]

[[SearchBox-Caseinsensitivesearch]]
=== Case insensitive search

If you want the search box to be case insensitive, go to your profile configuration page (/jenkins/user/<your profile>/configure) and activate the case insensitive search option.
Navigate to your profile preferences page (/jenkins/user/<your_profile>/preferences) and activate the case- insensitive search option, if desired.

[.boxshadow]
image:using/search/case-sensitivity.png[image]
image:using/command-palette/case-sensitivity.png[Case insensitivity checkbox in user preferences.]

Please note that case-insensitive search is not available for anonymous (not logged in) users.
Please note that case-insensitive search is not available for anonymous (not signed in) users.

[[SearchBox-OpenSearchsupport]]
=== OpenSearch support

This search box feature is also exposed to the browser through http://en.wikipedia.org/wiki/OpenSearch[OpenSearch], so you can install this search and auto-completion feature to your browser search box. This would further reduce the overhead it takes for you to visit a particular page in Jenkins.
This search feature is also exposed to the browser through http://en.wikipedia.org/wiki/OpenSearch[OpenSearch], so you can install this search and auto-completion feature in your browser search box, making it even easier to navigate Jenkins.

For example in Firefox, you can add the Jenkins search to your browser's search engines via the dropdown on the right of the address bar:

[.boxshadow]
image:using/search/add-to-firefox.png[image]
image:using/command-palette/add-to-firefox.png[image]

[[SearchBox-Feedbackappreciated]]
=== Feedback appreciated

There's always a room for improvements in how Jenkins associates search terms with actual pages. Your feedback is appreciated.
There's always room for improvement in how Jenkins associates search terms with actual pages.
Your feedback is appreciated.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ You need to balance compatibility and features:
In particular, the LTS Release Line is based on slightly older releases to provide a more stable experience for conservative users.
* *Building against recent Jenkins versions* allows you to use recently added core features and API from your plugin.
You will also use that newer version for `mvn hpi:run`, so it may be easier to test your plugin with newer Jenkins releases.
* *Do not use versions no longer supported by the update center*, which is currently anything older than 2.434 for weekly releases, and 2.426.2 for LTS releases.
* *Do not use versions no longer supported by the update center*, which is currently anything older than 2.440 for weekly releases, and 2.426.2 for LTS releases.
Note that the lowest supported version changes about every week (weekly release) or every month (LTS release), so these specific versions will be a bad choice soon.
* *Prefer an LTS version over weekly versions.*
** If you are based on the _currently active_ LTS line,
Expand Down
4 changes: 2 additions & 2 deletions content/doc/pipeline/tour/agents.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ link:/doc/book/pipeline/syntax#agent[syntax reference].
// Declarative //
pipeline {
agent {
docker { image 'node:22.13.1-alpine3.21' }
docker { image 'node:22.14.0-alpine3.21' }
}
stages {
stage('Test') {
Expand All @@ -61,7 +61,7 @@ pipeline {
// Script //
node {
/* Requires the Docker Pipeline plugin to be installed */
docker.image('node:22.13.1-alpine3.21').inside {
docker.image('node:22.14.0-alpine3.21').inside {
stage('Test') {
sh 'node --eval "console.log(process.arch,process.platform)"'
}
Expand Down
8 changes: 4 additions & 4 deletions content/doc/pipeline/tour/hello-world.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ node {
// Declarative //
/* Requires the Docker Pipeline plugin */
pipeline {
agent { docker { image 'node:22.13.1-alpine3.21' } }
agent { docker { image 'node:22.14.0-alpine3.21' } }
stages {
stage('build') {
steps {
Expand All @@ -96,7 +96,7 @@ pipeline {
/* Requires the Docker Pipeline plugin */
node {
stage('Build') {
docker.image('node:22.13.1-alpine3.21').inside {
docker.image('node:22.14.0-alpine3.21').inside {
sh 'node --version'
}
}
Expand Down Expand Up @@ -164,7 +164,7 @@ node {
// Declarative //
/* Requires the Docker Pipeline plugin */
pipeline {
agent { docker { image 'php:8.4.3-alpine3.21' } }
agent { docker { image 'php:8.4.4-alpine3.21' } }
stages {
stage('build') {
steps {
Expand All @@ -191,7 +191,7 @@ node {
// Declarative //
/* Requires the Docker Pipeline plugin */
pipeline {
agent { docker { image 'golang:1.23.6-alpine3.21' } }
agent { docker { image 'golang:1.24.0-alpine3.21' } }
stages {
stage('build') {
steps {
Expand Down
5 changes: 2 additions & 3 deletions content/doc/upgrade-guide/2.60/windows.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ It should contain log entries related Runaway Process Killer after the successfu

=== Enabling extra Windows service features

WinSW and Agent installer offer many advanced features you may want to enable.
WinSW offers many advanced features you may want to enable.
For more details see these documents:

* link:https://github.com/kohsuke/winsw/blob/master/README.md[WinSW Documentation]
* link:https://github.com/jenkinsci/windows-slave-installer-module/blob/master/README.md[Windows Agent Installer Documentation]
* link:https://github.com/winsw/winsw/blob/master/README.md[WinSW Documentation]
4 changes: 2 additions & 2 deletions content/sigs/docs/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ layout: sig
title: "Documentation"
section: sigs
sigId: "docs"
logo: /images/logos/needs-you/Jenkins_Needs_You-transparent.png
logo: /images/logos/musketeer/musketeer.png
opengraph:
image: /images/logos/needs-you/Jenkins_Needs_You-02.png
image: /images/logos/musketeer/musketeer.png
tags:
- docs
- docs_sig
Expand Down
6 changes: 3 additions & 3 deletions content/sigs/index.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: default
title: Jenkins Special Interest Groups
---

.app-container.app-container--compact.slipsliding
.app-container.app-container--compact.app-sigs
%h1
Jenkins Special Interest Groups
%p
Expand All @@ -17,8 +17,8 @@ title: Jenkins Special Interest Groups
- sigs.each do |item|
-# Skip the item if it does not contain links - a retired SIG
- next if not item.links
.groupthing
.todo{:style => '--background: url("' + expand_link(item.logo) + '")'}
.app-sigs__item
.app-sigs__item__icon{:style => '--background: url("' + expand_link(item.logo) + '")'}
- if item.logo.end_with?('.png')
%img{:title => "Logo", :src => expand_link(item.logo), :width => "96"}
- else
Expand Down
1 change: 1 addition & 0 deletions content/stylesheets/pages/_all.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
@import "home";
@import "post";
@import "releases";
@import "sigs";
@import "use-cases";
110 changes: 110 additions & 0 deletions content/stylesheets/pages/_sigs.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
.app-sigs {
display: flex;
flex-direction: column;
gap: 2rem;

h1 {
margin-bottom: 0;
}

p {
font-weight: 450;
color: var(--color--secondary);
margin: 0;
}

&__item {
position: relative;
display: grid;
grid-template-columns: auto 1fr;
gap: 1.5rem;

& > div:last-of-type {
display: flex;
flex-direction: column;
gap: 0.5rem;

& > a:first-of-type::before {
content: "";
position: absolute;
inset: 0;
bottom: 45px;
z-index: -1;
}
}

a {
display: inline-flex;
z-index: 0;
}

h2 {
font-size: 1.125rem;
font-weight: 500;
margin: 0;
}

ul {
display: flex;
align-items: center;
gap: 1.5rem;
list-style-type: none;
padding: 0;

li {
display: contents;
}
}

&__icon {
position: relative;
display: flex;
align-items: center;
justify-content: center;
width: 90px;
aspect-ratio: 1;
border-radius: 0.75rem;
overflow: hidden;
z-index: 0;

&::before {
content: "";
position: absolute;
top: calc(50% - 75px);
left: calc(50% - 75px);
width: 150px;
height: 150px;
background: var(--background);
background-size: cover;
background-position: center;
filter: saturate(2) blur(60px);
opacity: 0.3;
z-index: -1;
}

&::after {
content: "";
position: absolute;
inset: 0;
border-radius: inherit;
background: color-mix(in srgb, var(--color), transparent);
border: 2px solid var(--color);
opacity: 0.06;
}

svg {
width: 55%;
height: 55%;
}

img {
width: auto;
height: 66%;
}

@media (max-width: 768px) {
width: 50px;
}
}
}
}

0 comments on commit acbb596

Please sign in to comment.