We get jenkins job number here Jenkins
Use argparse to implement call python script.
| 1 | parser = argparse.ArgumentParser(description='Manage Jenkins Job') | 
Command run:
| 1 | E:\ python .\cli.py usage: cli.py [-h] [-v] [-V VIEW_NAME] Manage Jenkins Job optional arguments: -h, --help show this help message and exit -v, --version Show version -V VIEW_NAME, --view VIEW_NAME Get Jenkins job last build number by view | 
Get job number:
| 1 | PS E:\neolink_tools> python .\cli.py -V jenkins view name { "a": 12, "b": 17, "c": 20, "d": 37 } | 
 
     
        