Instructions for Jenkins setup are failing

Issue #335 on hold
Joseph Wilhelm
created an issue

I set up a Jenkins project according to http://tox.readthedocs.io/en/latest/example/jenkins.html and every build is following with an error along the lines of:

[py27-django19] $ python /tmp/hudson1061348873889474121.py
ERROR: toxini file 'tox.ini' not found
Build step 'Execute Python script' marked build as failure

Additionally, and I don't know if this is related, the project tried building continually until I killed it, even though it was set to trigger only on new pushes to Github.

Comments (4)

  1. Joseph Wilhelm reporter

    I was able to fix this by using the following script:

    import os
    import tox
    
    os.chdir(os.getenv('WORKSPACE'))
    tox.cmdline() # environment is selected by ``TOXENV`` env variable
    
  2. Log in to comment