jenkinsctl 1.0.7__tar.gz → 1.0.8__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {jenkinsctl-1.0.7 → jenkinsctl-1.0.8}/PKG-INFO +3 -3
- {jenkinsctl-1.0.7 → jenkinsctl-1.0.8}/jenkinsctl/cli.py +1 -1
- {jenkinsctl-1.0.7 → jenkinsctl-1.0.8}/jenkinsctl/commands/jobs.py +4 -2
- {jenkinsctl-1.0.7 → jenkinsctl-1.0.8}/pyproject.toml +1 -1
- {jenkinsctl-1.0.7 → jenkinsctl-1.0.8}/LICENSE +0 -0
- {jenkinsctl-1.0.7 → jenkinsctl-1.0.8}/README.md +0 -0
- {jenkinsctl-1.0.7 → jenkinsctl-1.0.8}/jenkinsctl/__init__.py +0 -0
- {jenkinsctl-1.0.7 → jenkinsctl-1.0.8}/jenkinsctl/commands/__init__.py +0 -0
- {jenkinsctl-1.0.7 → jenkinsctl-1.0.8}/jenkinsctl/commands/build.py +0 -0
- {jenkinsctl-1.0.7 → jenkinsctl-1.0.8}/jenkinsctl/commands/config.py +0 -0
- {jenkinsctl-1.0.7 → jenkinsctl-1.0.8}/jenkinsctl/commands/enable_completion.py +0 -0
- {jenkinsctl-1.0.7 → jenkinsctl-1.0.8}/jenkinsctl/commands/json.py +0 -0
- {jenkinsctl-1.0.7 → jenkinsctl-1.0.8}/jenkinsctl/commands/list.py +0 -0
- {jenkinsctl-1.0.7 → jenkinsctl-1.0.8}/jenkinsctl/commands/logs.py +0 -0
- {jenkinsctl-1.0.7 → jenkinsctl-1.0.8}/jenkinsctl/commands/rebuild.py +0 -0
- {jenkinsctl-1.0.7 → jenkinsctl-1.0.8}/jenkinsctl/configs/__init__.py +0 -0
- {jenkinsctl-1.0.7 → jenkinsctl-1.0.8}/jenkinsctl/configs/config.py +0 -0
- {jenkinsctl-1.0.7 → jenkinsctl-1.0.8}/jenkinsctl/configs/logging_config.py +0 -0
- {jenkinsctl-1.0.7 → jenkinsctl-1.0.8}/jenkinsctl/configs/session.py +0 -0
- {jenkinsctl-1.0.7 → jenkinsctl-1.0.8}/jenkinsctl/jenkins/cli_helper.py +0 -0
- {jenkinsctl-1.0.7 → jenkinsctl-1.0.8}/jenkinsctl/jenkins/commons.py +0 -0
- {jenkinsctl-1.0.7 → jenkinsctl-1.0.8}/jenkinsctl/jenkins/console_util.py +0 -0
- {jenkinsctl-1.0.7 → jenkinsctl-1.0.8}/jenkinsctl/jenkins/job.py +0 -0
- {jenkinsctl-1.0.7 → jenkinsctl-1.0.8}/jenkinsctl/jenkins/utils.py +0 -0
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
2
|
Name: jenkinsctl
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.8
|
|
4
4
|
Summary: A command-line tool to interact with Jenkins jobs 🚀
|
|
5
|
-
Home-page: https://github.com/amanshaw4511/jenkinsctl
|
|
6
5
|
License: GPL-3.0-or-later
|
|
7
6
|
Keywords: jenkins,jenkin
|
|
8
7
|
Author: Aman Shaw
|
|
@@ -26,6 +25,7 @@ Requires-Dist: python-dateutil (>=2.9.0.post0,<3.0.0)
|
|
|
26
25
|
Requires-Dist: pyyaml (>=6.0.2,<7.0.0)
|
|
27
26
|
Requires-Dist: requests (>=2.32.3,<3.0.0)
|
|
28
27
|
Requires-Dist: rich (>=13.8.1,<14.0.0)
|
|
28
|
+
Project-URL: Homepage, https://github.com/amanshaw4511/jenkinsctl
|
|
29
29
|
Project-URL: Repository, https://github.com/amanshaw4511/jenkinsctl
|
|
30
30
|
Description-Content-Type: text/markdown
|
|
31
31
|
|
|
@@ -117,7 +117,7 @@ def build_command(file: TextIOWrapper, param: tuple[str]) -> None:
|
|
|
117
117
|
|
|
118
118
|
@cli.command("enable-completion")
|
|
119
119
|
@click.argument('shell', required=False)
|
|
120
|
-
def enable_completion(shell: str):
|
|
120
|
+
def enable_completion(shell: str| None):
|
|
121
121
|
"""
|
|
122
122
|
Enable shell autocompletion for jenkinsctl.
|
|
123
123
|
|
|
@@ -12,7 +12,9 @@ def jobs_handler(session: Session, folder_name: str):
|
|
|
12
12
|
jobs = [job for job in all_jobs if job["_class"] != "com.cloudbees.hudson.plugins.folder.Folder"]
|
|
13
13
|
|
|
14
14
|
for folder in folders:
|
|
15
|
-
|
|
15
|
+
folder_name = folder["name"]
|
|
16
|
+
print(f"[{folder_name}]")
|
|
16
17
|
|
|
17
18
|
for job in jobs:
|
|
18
|
-
|
|
19
|
+
job_name = job["name"]
|
|
20
|
+
print(f"{job_name}")
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|