mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-28 00:06:53 +01:00
44 lines
1.6 KiB
JSON
44 lines
1.6 KiB
JSON
{
|
|
"links": {
|
|
"build": "UNLEASH-UNLEASHGITHUB",
|
|
"repository": "https://github.com/finn-no/unleash",
|
|
"issues": "https://github.com/finn-no/unleash/issues"
|
|
},
|
|
"versions": {
|
|
"jdk": "1.8",
|
|
"mvn": "3"
|
|
},
|
|
"tasks": {
|
|
"deploy": [
|
|
{"command": "npm install && npm test && npm run build"},
|
|
{"command": "tar -cvzf unleash-server.tar.gz --exclude=unleash-server.tar.gz --exclude=.git *"},
|
|
{
|
|
"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",
|
|
"pipelines": [
|
|
{
|
|
"name": "unleash-server",
|
|
"pattern": "Uploaded: +(http:.+unleash-server-.+.tar.gz)"
|
|
}
|
|
]
|
|
},
|
|
{ "command" : "rm -rf sql && mkdir sql" },
|
|
{ "command" : "scripts/generate-liquibase-artifact.js > sql/db.changelog-master.xml"},
|
|
{ "command" : "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": "npm install && npm test"},
|
|
|
|
]
|
|
}
|
|
}
|