jenkinsctl 0.0.8__tar.gz → 0.1.0__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.

Potentially problematic release.


This version of jenkinsctl might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: jenkinsctl
3
- Version: 0.0.8
3
+ Version: 0.1.0
4
4
  Summary: Build Jenkins jobs effortlessly using a single command. 🚀
5
5
  Author-email: Aman Shaw <amanshaw4511@protonmail.com>
6
6
  Project-URL: Homepage, https://github.com/amanshaw4511/jenkinsctl
@@ -18,7 +18,7 @@ Requires-Dist: dynaconf
18
18
  Requires-Dist: pyyaml
19
19
  Requires-Dist: argcomplete
20
20
 
21
- # jenkinsctl
21
+ # jenkinsctl [![PyPI version](https://badge.fury.io/py/jenkinsctl.svg)](https://badge.fury.io/py/jenkinsctl) [![Downloads](https://static.pepy.tech/badge/jenkinsctl/week)](https://pepy.tech/project/jenkinsctl)
22
22
  Build Jenkins jobs effortlessly using a single command. 🚀
23
23
 
24
24
  ## Installation 📦
@@ -37,6 +37,7 @@ export JENKINS_API_KEY=21df49caf41726094323b803a6de363eae
37
37
  ```
38
38
  Adjust the values to match your Jenkins server's URL, your username, and the corresponding API key. This configuration is essential for jenkinsctl to interact with Jenkins and execute tasks efficiently.
39
39
 
40
+ How to Get the API Token: https://www.baeldung.com/ops/jenkins-api-token
40
41
  ## Usage 🤖
41
42
  ```sh
42
43
  $ jenkinsctl --help
@@ -105,6 +106,9 @@ params:
105
106
  param2: 11
106
107
  param3: false
107
108
  ```
109
+ .. |PyPI-Downloads| image:: https://img.shields.io/pypi/dm/shtab.svg?label=pypi%20downloads&logo=PyPI&logoColor=white
110
+ :target: https://pepy.tech/project/shtab
111
+ :alt: Downloads
108
112
 
109
113
  ### Generating Config from Existing Builds
110
114
  Capture and reproduce configurations from previous Jenkins builds.
@@ -1,4 +1,4 @@
1
- # jenkinsctl
1
+ # jenkinsctl [![PyPI version](https://badge.fury.io/py/jenkinsctl.svg)](https://badge.fury.io/py/jenkinsctl) [![Downloads](https://static.pepy.tech/badge/jenkinsctl/week)](https://pepy.tech/project/jenkinsctl)
2
2
  Build Jenkins jobs effortlessly using a single command. 🚀
3
3
 
4
4
  ## Installation 📦
@@ -17,6 +17,7 @@ export JENKINS_API_KEY=21df49caf41726094323b803a6de363eae
17
17
  ```
18
18
  Adjust the values to match your Jenkins server's URL, your username, and the corresponding API key. This configuration is essential for jenkinsctl to interact with Jenkins and execute tasks efficiently.
19
19
 
20
+ How to Get the API Token: https://www.baeldung.com/ops/jenkins-api-token
20
21
  ## Usage 🤖
21
22
  ```sh
22
23
  $ jenkinsctl --help
@@ -85,6 +86,9 @@ params:
85
86
  param2: 11
86
87
  param3: false
87
88
  ```
89
+ .. |PyPI-Downloads| image:: https://img.shields.io/pypi/dm/shtab.svg?label=pypi%20downloads&logo=PyPI&logoColor=white
90
+ :target: https://pepy.tech/project/shtab
91
+ :alt: Downloads
88
92
 
89
93
  ### Generating Config from Existing Builds
90
94
  Capture and reproduce configurations from previous Jenkins builds.
@@ -105,9 +105,11 @@ def create_build(client, conf, suppress_logs: bool, vprint=print):
105
105
 
106
106
  approve_pending_input_thread.join()
107
107
 
108
+ if build.result == "FAILURE":
109
+ print(f"FAILED... build number : {build_number}")
110
+ sys.exit(1)
111
+
108
112
  if not suppress_logs:
109
113
  print(f"FINISHED... build number : {build_number}")
110
114
  else:
111
115
  print(build_number)
112
-
113
- return build_number
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: jenkinsctl
3
- Version: 0.0.8
3
+ Version: 0.1.0
4
4
  Summary: Build Jenkins jobs effortlessly using a single command. 🚀
5
5
  Author-email: Aman Shaw <amanshaw4511@protonmail.com>
6
6
  Project-URL: Homepage, https://github.com/amanshaw4511/jenkinsctl
@@ -18,7 +18,7 @@ Requires-Dist: dynaconf
18
18
  Requires-Dist: pyyaml
19
19
  Requires-Dist: argcomplete
20
20
 
21
- # jenkinsctl
21
+ # jenkinsctl [![PyPI version](https://badge.fury.io/py/jenkinsctl.svg)](https://badge.fury.io/py/jenkinsctl) [![Downloads](https://static.pepy.tech/badge/jenkinsctl/week)](https://pepy.tech/project/jenkinsctl)
22
22
  Build Jenkins jobs effortlessly using a single command. 🚀
23
23
 
24
24
  ## Installation 📦
@@ -37,6 +37,7 @@ export JENKINS_API_KEY=21df49caf41726094323b803a6de363eae
37
37
  ```
38
38
  Adjust the values to match your Jenkins server's URL, your username, and the corresponding API key. This configuration is essential for jenkinsctl to interact with Jenkins and execute tasks efficiently.
39
39
 
40
+ How to Get the API Token: https://www.baeldung.com/ops/jenkins-api-token
40
41
  ## Usage 🤖
41
42
  ```sh
42
43
  $ jenkinsctl --help
@@ -105,6 +106,9 @@ params:
105
106
  param2: 11
106
107
  param3: false
107
108
  ```
109
+ .. |PyPI-Downloads| image:: https://img.shields.io/pypi/dm/shtab.svg?label=pypi%20downloads&logo=PyPI&logoColor=white
110
+ :target: https://pepy.tech/project/shtab
111
+ :alt: Downloads
108
112
 
109
113
  ### Generating Config from Existing Builds
110
114
  Capture and reproduce configurations from previous Jenkins builds.
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "jenkinsctl"
7
- version = "v0.0.8"
7
+ version = "v0.1.0"
8
8
  dependencies = ["api4jenkins", "dynaconf", "pyyaml", "argcomplete"]
9
9
  authors = [{ name = "Aman Shaw", email = "amanshaw4511@protonmail.com" }]
10
10
  description = "Build Jenkins jobs effortlessly using a single command. 🚀"
File without changes
File without changes