aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2012-12-08 10:52:00 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2012-12-08 10:52:00 +0100
commit164ce072f94a0820d6c2256aab8c6ee8d90d8eee (patch)
tree3c2a5b6ef68625393368d2fba444565b0bd2ed09 /src/main/resources
parent5d56a80555ebe5a419dae3b1b849ffa78449b410 (diff)
downloadesper-testing-164ce072f94a0820d6c2256aab8c6ee8d90d8eee.tar.gz
esper-testing-164ce072f94a0820d6c2256aab8c6ee8d90d8eee.tar.bz2
esper-testing-164ce072f94a0820d6c2256aab8c6ee8d90d8eee.tar.xz
esper-testing-164ce072f94a0820d6c2256aab8c6ee8d90d8eee.zip
o Creating a flag to disable jenkins servers from being polled.
o Using proper logging.
Diffstat (limited to 'src/main/resources')
-rwxr-xr-xsrc/main/resources/ddl-jenkins.sql7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/main/resources/ddl-jenkins.sql b/src/main/resources/ddl-jenkins.sql
index 00af6ee..c34e8cb 100755
--- a/src/main/resources/ddl-jenkins.sql
+++ b/src/main/resources/ddl-jenkins.sql
@@ -7,6 +7,7 @@ CREATE TABLE jenkins_server (
uuid CHAR(36) NOT NULL,
created_date TIMESTAMP NOT NULL,
url VARCHAR(1000) NOT NULL,
+ enabled BOOLEAN NOT NULL,
CONSTRAINT pk_jenkins_server PRIMARY KEY (uuid),
CONSTRAINT uq_jenkins_server__url UNIQUE (url)
);
@@ -26,7 +27,9 @@ CREATE TABLE jenkins_build (
CONSTRAINT uq_jenkins_build__id UNIQUE (entry_id)
);
--- INSERT INTO jenkins_server (uuid, url) VALUES ('782a75f6-40a4-11e2-aca6-20cf30557fa0', 'https://builds.apache.org');
-INSERT INTO jenkins_server (uuid, created_date, url) VALUES ('4c473c86-40ad-11e2-ae61-20cf30557fa0', current_timestamp, 'http://ci.jruby.org');
+INSERT INTO jenkins_server (uuid, created_date, url, enabled) VALUES
+('782a75f6-40a4-11e2-aca6-20cf30557fa0', CURRENT_TIMESTAMP, 'https://builds.apache.org', FALSE),
+('4c473c86-40ad-11e2-ae61-20cf30557fa0', CURRENT_TIMESTAMP, 'http://ci.jruby.org', FALSE),
+('518c6162-411b-11e2-b63c-20cf30557fa0', CURRENT_TIMESTAMP, 'http://www.simantics.org/jenkins', FALSE);
COMMIT;