1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
unleash.unleash/finnbuild.json

47 lines
1.9 KiB
JSON
Raw Normal View History

2014-10-21 15:58:42 +02:00
{
"links": {
2015-02-04 18:15:20 +01:00
"build": "https://travis-ci.org/finn-no/unleash/",
2014-10-31 15:22:45 +01:00
"repository": "https://github.com/finn-no/unleash",
"issues": "https://github.com/finn-no/unleash/issues"
2014-10-21 15:58:42 +02:00
},
"versions": {
2014-10-24 13:34:23 +02:00
"jdk": "1.8",
2016-03-17 17:12:27 +01:00
"mvn": "3",
"node": "5"
2014-10-21 15:58:42 +02:00
},
"tasks": {
"deploy": [
2014-12-15 09:41:13 +01:00
{"command": "npm install && npm run pg-virtualenv-test && npm run build"},
2014-10-31 16:35:35 +01:00
{"command": "tar -cvzf unleash-server.tar.gz --exclude=unleash-server.tar.gz --exclude=.git *"},
2014-10-21 15:58:42 +02:00
{
2014-10-31 16:35:35 +01:00
"command": "mvn deploy:deploy-file -Durl=http://mavenproxy.finntech.no/finntech-internal-snapshot/ -DrepositoryId=finntech-internal-snapshot -Dfile=unleash-server.tar.gz -DgroupId=no.finntech.unleash -DartifactId=unleash-server -Dversion=0.1337-SNAPSHOT -Dpackaging=tar.gz",
2014-10-21 15:58:42 +02:00
"pipelines": [
{
"name": "unleash-server",
"pattern": "Uploaded: +(http:.+unleash-server-.+.tar.gz)"
}
]
},
{ "command" : "docker build -t finntech/unleash-server:$FINNBUILD_RANDOM_HASH . && docker push finntech/unleash-server:$FINNBUILD_RANDOM_HASH" },
2014-10-31 16:35:35 +01:00
{ "command" : "rm -rf sql && mkdir sql" },
{ "command" : "scripts/generate-liquibase-artifact.js > sql/db.changelog-master.xml"},
{ "command" : "jar -cf unleash-db.jar sql"},
2014-10-21 15:58:42 +02:00
{
"command": "mvn deploy:deploy-file -Durl=http://mavenproxy.finntech.no/finntech-internal-snapshot/ -DrepositoryId=finntech-internal-snapshot -Dfile=unleash-db.jar -DgroupId=no.finntech.unleash -DartifactId=unleash-db -Dversion=0.1337-SNAPSHOT -Dpackaging=jar",
"pipelines": [
{
"name": "unleash-db",
"pattern": "Uploaded:\\s+(http:.+unleash-db-.+\\.jar)"
}
]
},
2014-10-21 16:03:03 +02:00
],
"default": [
2014-12-15 09:41:13 +01:00
{"command": "npm install && npm run pg-virtualenv-test"},
{"command" : "docker build -t finntech/unleash-server:$FINNBUILD_RANDOM_HASH ." },
2014-10-21 15:58:42 +02:00
]
}
2014-10-24 13:34:23 +02:00
}