fixed jenkinsfile

This commit is contained in:
2020-11-14 11:59:07 +01:00
parent 7b15975a8a
commit 5b1a646eae
2 changed files with 4 additions and 4 deletions

View File

@@ -28,7 +28,7 @@ public class RedeemCommandListeners implements Listener, CommandExecutor {
if (rewards != -1){
dbConn.remove_toclaim(discordid);
Bukkit.dispatchCommand(Bukkit.getConsoleSender(), "eco give " + p.getName() + rewards);
Bukkit.dispatchCommand(Bukkit.getConsoleSender(), "eco give " + p.getName() + " " + rewards);
p.sendMessage(ChatColor.GREEN + "You received " + rewards + " dollars!");
return true;

6
Jenkinsfile vendored
View File

@@ -3,10 +3,10 @@ pipeline {
stages {
stage('Build Docker Image') {
steps {
sh 'docker build -t worldcraftdiscordbot:latest .'
sh 'docker tag worldcraftdiscordbot:latest worldcraftdiscordbot:latest:v${env.BUILD_ID}'
sh "docker build -t worldcraftdiscordbot:latest ."
sh "docker tag worldcraftdiscordbot:latest worldcraftdiscordbot:latest:v${env.BUILD_ID}"
}
}
}
}
}