Add instruction to Jenkinsfile to upload notification to discord

This commit is contained in:
zontreck 2024-12-25 01:52:02 -07:00
parent 55657e8f0d
commit 9d0b8f68b0
3 changed files with 5 additions and 5 deletions

2
Jenkinsfile vendored
View file

@ -42,6 +42,8 @@ pipeline {
always {
archiveArtifacts artifacts: "Releases/*.zip"
cleanWs()
if(env.DISCORD_URL != '')
discordSend customAvatarUrl: '', customFile: '', customUsername: '', description: 'This is an automated build of the modification for Vintage Story.', enableArtifactsList: true, footer: '', image: '', link: '', result: '', scmWebUrl: '', thumbnail: '', title: 'Vintage Storage Build Results', webhookURL: env.DISCORD_URL
}
}
}

View file

@ -8,7 +8,7 @@ This is the mod for Vintage Storage
- Bigger and better inventory space
- ?? Hardened Leather
- ?? Leather frames?
- Drawers
- Drawers (WIP)
- Digitized Storage
# Drawers

View file

@ -8,7 +8,7 @@ namespace VintageStorage
{
public class VintageStorage : ModSystem
{
public static String MOD_ID = "vintagestorage";
public static string MOD_ID = "vintagestorage";
/// <summary>
/// Method to register all mod blocks
@ -26,8 +26,6 @@ namespace VintageStorage
api.Logger.Notification("Block Classes have been registered for Vintage Storage!");
}
@ -35,7 +33,7 @@ namespace VintageStorage
{
// Trim
//api.RegisterBlockEntityClass("DrawerTrim", typeof(DrawerTrim));
api.RegisterBlockEntityClass("DrawerTrim", typeof(DrawerTrim));
}
// Called on server and client