Make a zip archive of plugins.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
55848ee590
commit
3096ae450e
|
@ -45,4 +45,5 @@ tasks.register("packages") {
|
||||||
|
|
||||||
dependsOn ":plugins:buildDeb"
|
dependsOn ":plugins:buildDeb"
|
||||||
dependsOn ":plugins:buildRpm"
|
dependsOn ":plugins:buildRpm"
|
||||||
|
dependsOn ":plugins:buildZip"
|
||||||
}
|
}
|
||||||
|
|
|
@ -38,10 +38,13 @@ public class BaseProcessExtension implements MetricExtension {
|
||||||
add("corosync");
|
add("corosync");
|
||||||
add("rsyslogd");
|
add("rsyslogd");
|
||||||
add("postgres");
|
add("postgres");
|
||||||
|
add("mariadbd");
|
||||||
add("memcached");
|
add("memcached");
|
||||||
add("db2sysc");
|
add("db2sysc");
|
||||||
add("dsmserv");
|
add("dsmserv");
|
||||||
add("mmfsd");
|
add("mmfsd");
|
||||||
|
add("systemd");
|
||||||
|
add("nginx");
|
||||||
}};
|
}};
|
||||||
|
|
||||||
private final long minUptimeInSeconds = 600;
|
private final long minUptimeInSeconds = 600;
|
||||||
|
|
|
@ -110,3 +110,12 @@ task buildRpmAix(type: Rpm) {
|
||||||
packageName = "${projectName}-AIX"
|
packageName = "${projectName}-AIX"
|
||||||
os = Os.AIX
|
os = Os.AIX
|
||||||
}
|
}
|
||||||
|
|
||||||
|
task buildZip(type: Zip) {
|
||||||
|
subprojects.each {
|
||||||
|
dependsOn("${it.name}:copyJar")
|
||||||
|
}
|
||||||
|
from "output"
|
||||||
|
setArchivesBaseName(projectName as String)
|
||||||
|
setArchiveVersion(project.property("version") as String)
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue