Skip to content

Failed installations - question #58

@bobhenl

Description

@bobhenl
  1. Some custom plugins on the server we use from github seems to show exit code -1 but I'm not really sure what does this mean? I believe I tried debug but it wasn't helpful neither. The link was like this: https://github.com/xx/yyy?autobuild=true, should it work like this? I've enabled:
  autoCompile:
# Enable source build fallback for GitHub
    enable: true
# Build when release has no jar assets
    whenNoJarAsset: true
# Build when default branch is newer by N months
    branchNewerMonths: 6

I've entered classic API token into config btw

and I expected it will like autobuild the file from the repository, but not sure if autobuild works like this, is it indended to work only from the releases & actions, or? Can there be more info to this, please?

[23:57:23] [/WARN]: [AutoUpdatePlugins] Build failed with exit code -1

But I don't understand some plugins that shwos "failed with exit code -1" should have release available, so it's a bit strange, more info would be helpful

Once it shown me this:

58:55] [Thread-112/INFO]: [AutoUpdatePlugins] [AutoUpdatePlugins] [BUILD] FAILURE: Build failed with an exception.
[23:58:55] [Thread-112/INFO]: [AutoUpdatePlugins] [AutoUpdatePlugins] [BUILD] * What went wrong:
[23:58:55] [Thread-112/INFO]: [AutoUpdatePlugins] [AutoUpdatePlugins] [BUILD] 25.0.2
[23:58:55] [Thread-112/INFO]: [AutoUpdatePlugins] [AutoUpdatePlugins] [BUILD] * Try:
[23:58:55] [Thread-112/INFO]: [AutoUpdatePlugins] [AutoUpdatePlugins] [BUILD] > Run with --stacktrace option to get the stack trace.
[23:58:55] [Thread-112/INFO]: [AutoUpdatePlugins] [AutoUpdatePlugins] [BUILD] > Run with --info or --debug option to get more log output.
[23:58:55] [Thread-112/INFO]: [AutoUpdatePlugins] [AutoUpdatePlugins] [BUILD] > Run with --scan to get full insights.
[23:58:55] [Thread-112/INFO]: [AutoUpdatePlugins] [AutoUpdatePlugins] [BUILD] > Get more help at https://help.gradle.org.
[23:58:55] [Thread-112/INFO]: [AutoUpdatePlugins] [AutoUpdatePlugins] [BUILD] BUILD FAILED in 5s

it's strange it shown this once and otherwise just -1

almost all custom plugins I wanted to build from github shown this error

  1. I couldn't get to work this:
    VotingPlugin: "https://bencodez.com/job/VotingPlugin/lastSuccessfulBuild/artifact/VotingPlugin/1
    I'm not really sure what artifact should be there, I've tried 0, 1, VotingPlugin, and I cannot get it done 😅 I think I've tried https://www.bencodez.com/job/VotingPlugin/lastSuccessfulBuild/artifact/?get=^VotingPlugin\\.jar but didn't work neither

  2. I couldn't get these plugins to work: https://www.spigotmc.org/resources/voidspawn.19350/, https://www.spigotmc.org/resources/anti-item-pickup.27759/
    maybe if they're old & have wrong plugin.yml? It shown something it's not valid plugin? But VoidSpawn is quite new one so I don't understand why it doesn't work.

  3. Would I be able to use autobuild on https://github.com/HibiscusMC/HMCWraps, https://www.spigotmc.org/resources/worldborder-1-15.80466/, https://github.com/IntellectualSites/PlotSquared/, https://github.com/kangarko/ChatControl-Red/ (this one prob needs libraries so idk)? Does it support both maven & gradle?

  4. Don't you have idea how to get something like this please? https://www.zrips.net/cmivault/ & https://www.zrips.net/cmiv/ to get always the latest one?

  5. Don't you have idea how to get luckperms the latest build (not from spigot, but really latest from https://luckperms.net/ ?)
    & ideally for correct software, so like bukkit/velocity. Or just tell me how do I even download it for velocity? Same with https://spark.lucko.me/download. I tried https://ci.lucko.me/job/LuckPerms/ & spark like this but I couldn't get it work, I tried to remove "/lastSuccessfulBuild/artifact/" part too and use just one \ etc.
    LuckPerms: "https://ci.lucko.me/job/LuckPerms/lastSuccessfulBuild/artifact/?get=LuckPerms-Bukkit-[0-9].*\\.jar"
    spark: "https://ci.lucko.me/job/spark/lastSuccessfulBuild/artifact/?get=spark-.*-velocity\\.jar"
    Same with SkinsRestorer: "https://ci.codemc.io/job/SkinsRestorer/job/SkinsRestorer/lastSuccessfulBuild/artifact/?get=^SkinsRestorer\.jar$"

  6. I think there are sometimes missing message to which it corresponds

16:21:38] [/WARN]: [AutoUpdatePlugins] Build failed with exit code -1
[16:21:38] [/INFO]: [AutoUpdatePlugins] ItemJoin ---- https://ci-dev.craftationgaming.com/job/ItemJoin/
[16:21:38] [/INFO]: [AutoUpdatePlugins] Download for GeoTebexCoupons was not successful
[16:21:38] [/WARN]: [AutoUpdatePlugins] Download failed (attempt 1) - retrying lenient mode (old-plugin behavior)
[16:21:38] [/WARN]: [AutoUpdatePlugins] Downloaded file is not a valid JAR
[16:21:39] [/WARN]: [AutoUpdatePlugins] Download failed (attempt 2) - retrying lenient mode (old-plugin behavior)
[16:21:39] [/WARN]: [AutoUpdatePlugins] Downloaded file is not a valid JAR
[16:21:39] [/WARN]: [AutoUpdatePlugins] Download failed (attempt 3) - retrying lenient mode (old-plugin behavior)
[16:21:39] [/WARN]: [AutoUpdatePlugins] Downloaded file is not a valid JAR
[16:21:40] [/INFO]: [AutoUpdatePlugins] ItemJoin ---- https://github.com/RockinChaos/ItemJoin/

e.g. I don't know which plugin has this not a valid JAR from these, but I think something ismilar happened for some plugins from 3.

  1. https://ci.codemc.io/job/retrooper/job/packetevents/ -> is there any way to get artefacts? They seem to be missing there, or do you recommend using their github? But it looks a bit messy https://github.com/retrooper/packetevents/actions, if so, how would the url looks like?

  2. Archived resources issue

[18:50:39] [/INFO]: [AutoUpdatePlugins] BlockParticles ---- "https://modrinth.com/plugin/blockparticles" # archived
[18:50:39] [/INFO]: [AutoUpdatePlugins] Failed to download plugin from modrinth: https://api.modrinth.com/v2/project/blockparticles" # archived/version?offset=0&limit=100
[18:50:39] [/INFO]: [AutoUpdatePlugins] Download for BlockParticles was not successful

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions