fixed jenkinsfile
This commit is contained in:
@@ -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
6
Jenkinsfile
vendored
@@ -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}"
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user