Comments (13)
Try to debug better.
Did you run ./manage.py jenkins locally on your computer?
Try to connect over ssh, su jenkins, go to workspace, and run the ./manage.py jenkins on your jenkins server.
If not help, describe you steps, and attach jenkins console log
from django-jenkins.
Hi,
i did run ./manage.py jenkins local and remotely, but none of them works, even the jenkins console log its not telling anything because there is no output from that command, i do some search and i find that if the command does not terminate in 0 jenkins will treat that as an error, and actually i execute it and then 'echo $?' and it prints 1
Tell me what else can i do to help
from django-jenkins.
Set breakpoints or print statements in django_jenkins/tasks/*.py files and see what tasks is executed and what is not.
Problem could be in pylint task, check args passed to lint.Run
You can try also run ./manage.py pylint from command line and see what happens
from django-jenkins.
Im installing it again but i get errors installing Django as a requirement of django-jenkins you should not list django as requirement, or im wrong?
Also im trying to run ./manage.py pylint and gets:
Unknown command: 'pylint'
Type 'manage.py help' for usage.
from django-jenkins.
why? django is definitely requires for django-jenkins
from django-jenkins.
I can execute:
$ pylint --version
No config file found, using default configuration
pylint 0.23.0,
astng 0.21.1, common 0.55.0
Python 2.6.6 (r266:84292, Sep 15 2010, 15:52:39)
[GCC 4.4.5]
So the package is installed.
from django-jenkins.
Other django packages does not list django as a requirement, should be obvious, no?
Take a look at setup.py of django-compressor for example, they dont list django as requirement, maybe that can give strage errors.
What you think?
from django-jenkins.
i mean run .manage.py pylint - build in with django-jenkins pylint command, not pylint itself
I don't care about other django packages. django-jenkins have clear requirement django>=1.2 and did not work with earlier django versions.
from django-jenkins.
If i execute that command (./manage.py pylint) i get this output:
Unknown command: 'pylint'
Type 'manage.py help' for usage.
from django-jenkins.
It means you have no django_jenkins installed.
from django-jenkins.
I have been done more testing, seems like django-jenkings tests the INSTALLED_APPS and not just the PROJECT_APPS, i try to take a look at the code and can't find a way to try this, can you confirm if this could be the problem?
from django-jenkins.
django_jenkins definetelly looks for PROJECT_APPS
from django-jenkins.
It should have an error message when in your apps dont have any models.py or tests.py thats why it was not working.
from django-jenkins.
Related Issues (20)
- Move tutorial to something like ReadTheDocs so anyone can contribute HOT 6
- Add documentation for pipeline Jenkinsfile syntax support HOT 7
- Simplify use of cloc instead of sloccount. HOT 1
- Coverage only runs if --enable-coverage is present in command line HOT 1
- django-jenkins does not work with django 1.11 HOT 1
- How to setup the test database on Django 1.8 HOT 1
- How to run jenkins task without running test? HOT 3
- pip installing fails with python2.7 HOT 2
- COVERAGE_EXCLUDES_FOLDERS does not exclude tests from coverage.xml output HOT 2
- /
- Crash when running pylint with pylint version >= 2.0 HOT 5
- pep8 is now pycodestyle
- Coverage seems broken when using parallel testing
- No info in reports file about exceptions raised in tests
- --keepdb is not working
- Coverage v5.0 breaks django-jenkins HOT 2
- Django-Jenkins: library ISSUE --- TypeError: init() got an unexpected keyword argument 'exit'
- Getting error when passing --enable-coverage flag
- AttributeError: 'Coverage' object has no attribute 'source' HOT 1
- cannot import name 'smart_text' from 'django.utils.encoding' HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-jenkins.