GithubHelp home page GithubHelp logo

Comments (13)

kmmbvnr avatar kmmbvnr commented on May 25, 2024

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.

camilonova avatar camilonova commented on May 25, 2024

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.

kmmbvnr avatar kmmbvnr commented on May 25, 2024

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.

camilonova avatar camilonova commented on May 25, 2024

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.

kmmbvnr avatar kmmbvnr commented on May 25, 2024

why? django is definitely requires for django-jenkins

from django-jenkins.

camilonova avatar camilonova commented on May 25, 2024

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.

camilonova avatar camilonova commented on May 25, 2024

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.

kmmbvnr avatar kmmbvnr commented on May 25, 2024

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.

camilonova avatar camilonova commented on May 25, 2024

If i execute that command (./manage.py pylint) i get this output:

Unknown command: 'pylint'
Type 'manage.py help' for usage.

from django-jenkins.

kmmbvnr avatar kmmbvnr commented on May 25, 2024

It means you have no django_jenkins installed.

from django-jenkins.

camilonova avatar camilonova commented on May 25, 2024

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.

kmmbvnr avatar kmmbvnr commented on May 25, 2024

django_jenkins definetelly looks for PROJECT_APPS

from django-jenkins.

camilonova avatar camilonova commented on May 25, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.