bash: ./openerp-server: No such file or directory

I wrote this simple YML file that copies the content of the current directory (ia_training module) into application's addons and then run the app with switches to test the solution. 

======================

image: jamotion/odoo-ci:8.0
# Test is build based on https://www.odoo.com/forum/help-1/question/how-to-run-tests-526

pipelines:
  default:
    - step:
        script: 
          - ls
          -  cp -r * /opt/odoo/custom_addons/
          -  cd /opt/odoo 
          - ./openerp-server -c /etc/odoo/openerp-server.conf --init=ia_training --stop-after-init -d test_database --log-level=test --test-enable
=======================

 

and running tests it gives below error message: 

 

./openerp-server -c /etc/odoo/openerp-server.conf --init=ia_training --stop-after-init -d test_database --log-level=test --test-enable
bash: ./openerp-server: No such file or directory

 

Script is based on the Odoo-CI available at https://bitbucket.org/jamotion/odoo-ci

 

Can someone assist me on how to modify this ?

 

Thanks,

 

1 answer

Are you still having issues with this? If so I'd advise you to raise an issue for this one, and we can help you troubleshoot this. Atlassian Answers is great for questions, but not for issues.

If you are keen to troubleshoot this yourself I'd suggest to speed up your feedback loop by getting this to work in Docker, locally. You can use debug your pipelines locally with Docker as a reference.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

28,631 views 26 12
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you