github/janky — Issue #4: Configuration Issue?
Author: dustineichler
Created: 2011-12-20 21:25:00+00:00
State: open

Never done this before, so I'm likely doing something wrong. Easily installed Jenkins on Heroku. My configuration is suspect.
Point me in the right direction.

// JANKY CONFIG

JANKY_BASE_URL: _Application URL_
JANKY_BUILDER_DEFAULT: _Jenkins Server URL_
JANKY_CONFIG_DIR: _/app/config_
JANKY_HUBOT_USER: _FooUser_
JANKY_HUBOT_PASSWORD: _FooPasswd_
JANKY_GITHUB_USER: _My Github Username_
JANKY_GITHUB_PASSWORD: _My Github Password_
JANKY_GITHUB_HOOK_SECRET: _My API Key_
JANKY_CAMPFIRE_ACCOUNT: _My Campfire UserAccount_
JANKY_CAMPFIRE_TOKEN: _My Campfire API Key_
JANKY_CAMPFIRE_DEFAULT_ROOM _Room ID_

// HUBOT CONFIG

HUBOT_JANKY_URL: http://_FooUser_:_FooPasswd_@jankins_foo.herokuapp.com/_hubot/

Heroku logs.

2011-12-20T21:13:40+00:00 app[web.1]:	/app/vendor/bundle/ruby/1.9.1/gems/thin-1.3.1/lib/thin/runner.rb:185:in `run_command'
2011-12-20T21:13:40+00:00 app[web.1]:	/app/vendor/bundle/ruby/1.9.1/gems/thin-1.3.1/lib/thin/runner.rb:151:in `run!'
2011-12-20T21:13:40+00:00 app[web.1]:	/app/vendor/bundle/ruby/1.9.1/gems/thin-1.3.1/bin/thin:6:in `'
2011-12-20T21:13:40+00:00 app[web.1]:	/app/vendor/bundle/ruby/1.9.1/bin/thin:19:in `load'
2011-12-20T21:13:40+00:00 app[web.1]: ActiveRecord::StatementInvalid - PGError: ERROR: relation "repositories" does not exist
2011-12-20T21:13:40+00:00 app[web.1]: : SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
2011-12-20T21:13:40+00:00 app[web.1]: WHERE a.attrelid = '"repositories"'::regclass
2011-12-20T21:13:40+00:00 app[web.1]: AND a.attnum > 0 AND NOT a.attisdropped
2011-12-20T21:13:40+00:00 app[web.1]: ORDER BY a.attnum
2011-12-20T21:13:40+00:00 app[web.1]: :
2011-12-20T21:13:40+00:00 app[web.1]:	/app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.1.3/lib/active_record/connection_adapters/postgresql_adapter.rb:1021:in `async_exec'
2011-12-20T21:13:40+00:00 app[web.1]: FROM pg_attribute a LEFT JOIN pg_attrdef d
2011-12-20T21:13:40+00:00 app[web.1]: ON a.attrelid = d.adrelid AND a.attnum = d.adnum
2011-12-20T21:13:40+00:00 app[web.1]:	/app/vendor/bundle/ruby/1.9.1/bin/thin:19:in `

'
2011-12-20T21:13:40+00:00 app[web.1]:	/app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.1.3/lib/active_record/connection_adapters/abstract_adapter.rb:244:in `block in log'