Created attachment 635458 [details] Console Output when build rubyonrails on Jenkins server. Description of problem: After I created a rubyonrails app used the development template type(which used git repo from git://github.com/ironcladlou/rails-example.git). I enabled jenkins to the rubyonrails app. Then when I tried to build the app on jenkins server, I failed with messages like below: --------------------------------------------------------------- Running .openshift/action_hooks/deploy Could not find mysql database. Please run: rhc app cartridge add -a rubyonrailstemp -c mysql-5.1 then make a sample commit (add whitespace somewhere) and re-push Build step 'Execute shell' marked build as failure Archiving artifacts Finished: FAILURE --------------------------------------------------------------- However, mysql have been automatically added to the app when the app was created, and I can access the mysql via the ssh url. I have tried to remove mysql cartridge, and add it again. And the app still cannot be built successfully. The console output on the jenkins server is attached. Version-Release number of selected component (if applicable): devenv_2403 How reproducible: always Steps to Reproduce: 1.Go to website and create a rubyonrails app (development template types). 2.Enable jenkins to the app, and try to build the app on jenkins server. 3. Actual results: Build failed with output message like:"Could not find mysql database." Expected results: It should be built successfully. Additional info: I have tried other template app such as : cakephp, wordpress and drupal,kitchensink and spring Framework. They can all build successful, and have no mysql problem.
This might already be fixed, can we confirm?
Please re-test with the current templates in the latest repos configured in the devenvs: I had no issue spinning up a new Rails app, adding the jenkins-client-1.4 cart, and performing a build.
Verified this issue on devenv_2632, since I can create a rubyonrails app successfully, and build the app successfully on jenkins server now.