Skip to content

Commit 4bd9193

Browse files
authored
Fix a few documentation typos (#2223)
* Use output rather than outputed * Fix spelling in docker-bake.hcl optionaly --> optionally overriden --> overridden * Fix typo in plugins-cli.bats shoud --> should * Fix spelling in Makefile parellel --> parallel * Fix spelling in make.ps1 publising --> publishing * Minor phrasing improvement * Fix typo in example debiand_jdk25 --> debian_jdk25
1 parent 5eef795 commit 4bd9193

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

HACKING.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,11 +170,11 @@ Using the following settings:
170170
<...snip...>
171171
--
172172

173-
Note that if you can set `BAKE_TARGET` to test the publication of a single target instead the default "linux" multiarch (heavy) build:
173+
Note that you can set `BAKE_TARGET` to test the publication of a single target instead of the default "linux" multiarch (heavy) build:
174174

175175
[source,bash]
176176
--
177-
$ export BAKE_TARGET=debiand_jdk25
177+
$ export BAKE_TARGET=debian_jdk25
178178
$ ./.ci/publish.sh -n
179179
Using the following settings:
180180
* JENKINS_REPO: jenkins/jenkins

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export ARCH ?= $(shell \
3030

3131
all: hadolint shellcheck build test
3232

33-
# Set to 'true' to disable parellel tests
33+
# Set to 'true' to disable parallel tests
3434
DISABLE_PARALLEL_TESTS ?= false
3535

3636
# Set to the path of a specific test suite to restrict execution only to this

docker-bake.hcl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -244,19 +244,19 @@ function "_tag_jenkins_version" {
244244
result = notequal(tag, "") ? "${REGISTRY}/${JENKINS_REPO}:${JENKINS_VERSION}-${tag}" : "${REGISTRY}/${JENKINS_REPO}:${JENKINS_VERSION}"
245245
}
246246

247-
# return a tag optionaly prefixed by the Jenkins version
247+
# return a tag optionally prefixed by the Jenkins version
248248
function "tag" {
249249
params = [prepend_jenkins_version, tag]
250250
result = equal(prepend_jenkins_version, true) ? _tag_jenkins_version(tag) : "${REGISTRY}/${JENKINS_REPO}:${tag}"
251251
}
252252

253-
# return a weekly optionaly prefixed by the Jenkins version
253+
# return a weekly optionally prefixed by the Jenkins version
254254
function "tag_weekly" {
255255
params = [prepend_jenkins_version, tag]
256256
result = equal(LATEST_WEEKLY, "true") ? tag(prepend_jenkins_version, tag) : ""
257257
}
258258

259-
# return a LTS optionaly prefixed by the Jenkins version
259+
# return a LTS optionally prefixed by the Jenkins version
260260
function "tag_lts" {
261261
params = [prepend_jenkins_version, tag]
262262
result = equal(LATEST_LTS, "true") ? tag(prepend_jenkins_version, tag) : ""
@@ -420,7 +420,7 @@ function "debian_tags" {
420420
}
421421

422422
# Return array of Windows version(s) to build
423-
# Can be overriden by setting WINDOWS_VERSION_OVERRIDE to a specific Windows version
423+
# Can be overridden by setting WINDOWS_VERSION_OVERRIDE to a specific Windows version
424424
# Ex: WINDOWS_VERSION_OVERRIDE=ltsc2025 docker buildx bake windows
425425
function "windowsversions" {
426426
params = []

make.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Param(
1111
[switch] $OverwriteDockerComposeFile = $false,
1212
# Print the build and publish command instead of executing them if set
1313
[switch] $DryRun = $false,
14-
# Output debug info for tests: 'empty' (no additional test output), 'debug' (test cmd & stderr outputed), 'verbose' (test cmd, stderr, stdout outputed)
14+
# Output debug info for tests: 'empty' (no additional test output), 'debug' (test cmd & stderr output), 'verbose' (test cmd, stderr, stdout output)
1515
[String] $TestsDebug = ''
1616
)
1717

@@ -256,7 +256,7 @@ if ($target -eq 'publish') {
256256
$false { Invoke-Expression "$baseDockerCmd push" }
257257
}
258258

259-
# Fail if any issues when publising the docker images
259+
# Fail if any issues when publishing the docker images
260260
if ($lastExitCode -ne 0) {
261261
Write-Error '= PUBLISH: failed!'
262262
exit 1

tests/plugins-cli.bats

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ teardown() {
124124
run docker_build_child "${SUT_IMAGE}" "${custom_sut_image_second}" "${BATS_TEST_DIRNAME}/upgrade-plugins"
125125
assert_success
126126

127-
# Execute the second image with the existing jenkins volume: junit plugin should be updated, and ant shoud NOT be downgraded
127+
# Execute the second image with the existing jenkins volume: junit plugin should be updated, and ant should NOT be downgraded
128128
run docker run --volume "$volume_name:/var/jenkins_home" --rm "${custom_sut_image_second}" true
129129
assert_success
130130
run unzip_manifest junit.jpi "$volume_name"

0 commit comments

Comments
 (0)