Skip to content

Commit

Permalink
Merge pull request #1 from akaRem/initial-stuff
Browse files Browse the repository at this point in the history
Add initial stuff
  • Loading branch information
akaRem authored May 5, 2017
2 parents 034876d + 9cff9db commit 5356aee
Show file tree
Hide file tree
Showing 8 changed files with 44 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
*.pyc
output/
*.ini
!tox.ini
.tox
.idea
.venv
venv
13 changes: 13 additions & 0 deletions conf/jenkins_job.ini.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[jenkins]
user=my_username
password=my_secret_password
url=https://my.jenkins.com/
query_plugins_info=False

[job_builder]
ignore_cache=True
keep_descriptions=False
recursive=True

[__future__]
param_order_from_yaml=false
2 changes: 2 additions & 0 deletions conf/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
jenkins-job-builder==1.6.1
git+https://github.com/bookwar/jenkins-job-builder-stash-pr
Empty file added library/macros/.gitkeep
Empty file.
Empty file added library/scripts/.gitkeep
Empty file.
Empty file added library/templates/.gitkeep
Empty file.
Empty file.
21 changes: 21 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
[tox]
minversion = 1.6
skipsdist = True
envlist = example,pep8

[testenv]
basepython = python2
deps = -r{toxinidir}/conf/requirements.txt
usedevelop = False
commands =
jenkins-jobs --conf conf/jenkins_job.ini.example test servers/{envname}:library -o {toxinidir}/output/{envname}

[testenv:pep8]
deps = flake8
commands = flake8

[flake8]
exclude = .git,.tox,.venv,venv
show-pep8 = True
show-source = True
count = True

0 comments on commit 5356aee

Please sign in to comment.