mirror of
https://e.coding.net/circlecloud/Yum.git
synced 2025-09-02 04:46:55 +00:00
@ -48,7 +48,7 @@ public class RepositoryManager {
|
||||
|
||||
public boolean addPackage(final CommandSender sender, final String urlstring) {
|
||||
final String json = getHtml(urlstring);
|
||||
if (json.isEmpty()) {
|
||||
if (json == null || json.isEmpty()) {
|
||||
return false;
|
||||
}
|
||||
final PackageInfo pkg = jsonToPackage(json);
|
||||
|
@ -1,7 +1,7 @@
|
||||
name: ${project.artifactId}
|
||||
description: ${project.description}
|
||||
main: ${project.groupId}.${project.artifactId}.${project.artifactId}
|
||||
version: ${project.version}
|
||||
version: ${project.version}-Build#${env.BUILD_NUMBER}
|
||||
author: 喵♂呜
|
||||
website: ${jenkins.url}/job/${project.artifactId}/
|
||||
commands:
|
||||
|
Reference in New Issue
Block a user