Skip to content

Commit 73778d2

Browse files
committed
Fix comments
Signed-off-by: Bryan Ramos <[email protected]>
1 parent 37e73a6 commit 73778d2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

workspaces/jenkins/plugins/jenkins-common/src/client/buildApi.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export interface BuildDeps {
3434
*
3535
* Provides helpers for common Jenkins job operations such as:
3636
* - Fetching build details (`get`)
37-
* - Fetching build console plain output as plain text (`getConsoleText`)
37+
* - Fetching build console output as plain text (`getConsoleText`)
3838
*
3939
* This function is intended to be used by higher-level clients (e.g., `Jenkins`)
4040
* and delegates low-level requests to the provided `request` dependency.
@@ -50,7 +50,7 @@ export function createBuildApi(deps: BuildDeps) {
5050
* Retrieves a build's JSON representation from Jenkins.
5151
*
5252
* @param name - A build name (string or segments).
53-
* @param buildNumber - The build number to retrieve.
53+
* @param buildNumber - The build number to retrieve.
5454
* @returns A `JenkinsBuild` object with metadata about the specified build.
5555
*/
5656
get: async (
@@ -65,7 +65,7 @@ export function createBuildApi(deps: BuildDeps) {
6565
* Retrieves a build's consoleText from Jenkins.
6666
*
6767
* @param name - A build name (string or segments).
68-
* @param buildNumber - The build number to retrieve logs for.
68+
* @param buildNumber - The build number to retrieve logs for.
6969
* @returns The build's console output as plain text.
7070
*/
7171
getConsoleText: async (

workspaces/jenkins/plugins/jenkins-common/src/client/jobApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ export function createJobApi(deps: JobDeps) {
198198
* Copies a job to a new name (optionally inside folders).
199199
*
200200
* **Important:** For the `from` argument, pass the *slashy* full name (e.g. `"a/b/src"`).
201-
* Do **not** normalize it to `/job/...` formJenkins expects the raw slash-separated name.
201+
* Do **not** normalize it to `/job/...` form, Jenkins expects the raw slash-separated name.
202202
* Only the *leaf* of the new job goes in the `?name=` query; parent folders are derived
203203
* from `name` and embedded in the URL path.
204204
*

0 commit comments

Comments
 (0)