Skip to content

db:migrate not working on rake #31

@bpdarlyn

Description

@bpdarlyn

I need make a migration on a task, but looking the errors is because the comand is executed on other directory for example :

Starting task 'Rake' of type 'com.alienfast.bamboozled.ruby.bamboozled-ruby-plugin:task.rake'
Beginning to execute external process for build 'invenrory-ci - Test-Inventory - Default Job #16 (IN-TES-JOB1-16)'\n ... running command line: \n/home/bpdarlyn/.rvm/rubies/ruby-2.3.1/bin/ruby /home/bpdarlyn/.rvm/gems/ruby-2.3.1@inventory-ci/bin/bundle exec rake db:migrate\n ... in: /home/bpdarlyn/bamboo/xml-data/build-dir/IN-TES-JOB1\
Could not locate Gemfile or .bundle/ directory
simple	06-Nov-2017 22:32:13	Failing task since return code of [/home/bpdarlyn/.rvm/rubies/ruby-2.3.1/bin/ruby /home/bpdarlyn/.rvm/gems/ruby-2.3.1@inventory-ci/bin/bundle exec rake db:migrate] was 10 while expected 0

now It command want execute on directory
/home/bpdarlyn/bamboo/xml-data/build-dir/IN-TES-JOB1\
bundle exec rake db:migrate
but her there is not project rails obviously

I want than execute it command on other directory because there is not a project rails on builder directory my project rails is on :
/home/bpdarlyn/projects/inventory-ci
rake db:migrate

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions