Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0843ae7

Browse files
author
Sam Clotfelter
committed
Changes get_job_info to get_build_info
Changes incorrect get_job_info call to correct get_build_info in docs. Closes-bug: #1660089 Change-Id: I0a0ada795c4b0385a7ba6b23d0654b9faf077869
1 parent 0f67391 commit 0843ae7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/source/examples.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ This is an example showing how to create, configure and delete Jenkins jobs.
8686
# requires creating and configuring the api-test job to accept 'param1' & 'param2'
8787
server.build_job('api-test', {'param1': 'test value 1', 'param2': 'test value 2'})
8888
last_build_number = server.get_job_info('api-test')['lastCompletedBuild']['number']
89-
build_info = server.get_job_info('api-test', last_build_number)
89+
build_info = server.get_build_info('api-test', last_build_number)
9090
print build_info
9191

9292
# get all jobs from the specific view

0 commit comments

Comments
 (0)