From 135d2cbe0fe9b5e9133d95d2da1ad12c90430a3d Mon Sep 17 00:00:00 2001 From: Jonathan Ervine Date: Tue, 29 Dec 2020 23:30:23 +0800 Subject: [PATCH] New version --- Dockerfile | 2 +- Jenkinsfile | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index de5ad93..7618d66 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,7 +21,7 @@ RUN zypper -n in tar wget gzip && \ cd /pmmp && tar zxvf PHP-7.3-Linux-x86_64.tar.gz ADD php.ini /pmmp/bin/php7/bin/php.ini RUN rm /pmmp/PHP-7.3-Linux-x86_64.tar.gz && \ - wget -q -O - https://github.com/pmmp/PocketMine-MP/releases/download/3.13.0/PocketMine-MP.phar > /pmmp/PocketMine-MP.phar && \ + wget -q -O - https://github.com/pmmp/PocketMine-MP/releases/download/3.17.2/PocketMine-MP.phar > /pmmp/PocketMine-MP.phar && \ chown -R $PM_USER:$PM_GROUP /pmmp VOLUME /plugins diff --git a/Jenkinsfile b/Jenkinsfile index 594db8d..3a0afa4 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -27,9 +27,12 @@ spec: stage('Build with Kaniko') { git url: 'ssh://git@git.ervine.org/jonny/x86_64-suse-pocketmine.git', credentialsId: 'jenkins-to-git' container('kaniko') { - sh '/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache=true --destination=harbor.ervine.dev/library/x86_64/suse/pocketmine:3.13' + sh '/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache=true --destination=harbor.ervine.dev/public/x86_64/suse/pocketmine:3.17.2' } } + stage('Notify gchat') { + hangoutsNotify message: "Pocketmine on SUSE Linux has built",token: "A2ET831pVslqXTqAx6ycu573r",threadByJob: false + } } }