1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-28 00:06:53 +01:00
unleash.unleash/finnbuild.json
2014-10-24 13:34:23 +02:00

44 lines
1.7 KiB
JSON

{
"links": {
"build": "UNLEASH-UNLEASHGITHUB",
"repository": "https://github.com/finn-no/unleash"
},
"versions": {
"jdk": "1.8",
"mvn": "3"
},
"tasks": {
"deploy": [
{"command": "cd unleash-server && npm install"},
{"command": "cd unleash-server && npm test"},
{"command": "cd unleash-server && tar -cvzf unleash-server.tar.gz --exclude=unleash-server.tar.gz --exclude=.git *"},
{
"command": "cd unleash-server && 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",
"pipelines": [
{
"name": "unleash-server",
"pattern": "Uploaded: +(http:.+unleash-server-.+.tar.gz)"
}
]
},
{ "command" : "rm unleash-server/sql -Rf && mkdir unleash-server/sql" },
{ "command" : "cd unleash-server && scripts/generate-liquibase-artifact.js > sql/db.changelog-master.xml"},
{ "command" : "cd unleash-server && jar -cf ../unleash-db.jar sql"},
{
"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)"
}
]
},
],
"default": [
{"command": "cd unleash-server && npm install"},
{"command": "cd unleash-server && npm test"}
]
}
}