Skip to content

Commit a56c958

Browse files
authored
Merge pull request #48 from radomirbosak/document-copr-installation
Include Fedora 25 install instructions in README
2 parents 87cf85e + b5a1416 commit a56c958

File tree

1 file changed

+22
-14
lines changed

1 file changed

+22
-14
lines changed

README.md

Lines changed: 22 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,28 @@ Python ver: 2.7, 3.4, 3.5
1919
* [Tests](#tests)
2020

2121
# Installation:
22+
There are more ways to install jenkins-cli-python:
2223

23-
```bash
24-
pip install jenkins-cli
25-
```
24+
1. The easiest way is to install the package using **pip**:
2625

27-
or
28-
29-
```bash
30-
git clone https://github.com/LD250/jenkins-cli-python.git
31-
cd jenkins-cli-python
32-
python setup.py install
33-
```
26+
```bash
27+
pip install jenkins-cli
28+
```
29+
30+
2. If you want the lastest features, you can install the package directly from the github **repo**:
31+
32+
```bash
33+
git clone https://github.com/LD250/jenkins-cli-python.git
34+
cd jenkins-cli-python
35+
python setup.py install
36+
```
37+
38+
3. jenkins-cli-python has also been packaged for **Fedora 25** as a copr repo:
39+
40+
```bash
41+
dnf copr enable radomirbosak/python-jenkins-cli
42+
dnf install python3-jenkins-cli
43+
```
3444

3545
## Configuration file (.jenkins-cli)
3646

@@ -58,8 +68,8 @@ password=xxxxxx
5868
setbranch Set VCS branch (Mercurial or Git)
5969
stop Stop job
6070
console Show console for the build
61-
builds Show builds for the job
62-
changes Show build's changes
71+
builds Show builds for the job
72+
changes Show build's changes
6373
Run `jenkins --help` for detailed help. To view optional parameters, run `--help` for the specific command. For example `jenkins jobs --help` will show job status description and optional arguments.
6474
6575
@@ -151,5 +161,3 @@ To perform flake8 checks and run tests similar to Travis, do the following
151161
pip install -r requirements.txt
152162
tox
153163
```
154-
155-

0 commit comments

Comments
 (0)