modified: Dockerfile

modified:   Jenkinsfile
This commit is contained in:
Jonathan Ervine 2020-06-05 15:37:34 +08:00
parent 4af24d2dbe
commit 13cd57e5d7
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ RUN wget -q -O - https://jenkins.pmmp.io/job/PHP-7.3-Aggregate/lastSuccessfulBui
RUN 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
RUN wget -q -O - https://github.com/pmmp/PocketMine-MP/releases/download/3.12.0/PocketMine-MP.phar > /pmmp/PocketMine-MP.phar
RUN wget -q -O - https://github.com/pmmp/PocketMine-MP/releases/download/3.13.0/PocketMine-MP.phar > /pmmp/PocketMine-MP.phar
RUN chown -R $PM_USER:$PM_GROUP /pmmp
VOLUME /plugins

2
Jenkinsfile vendored
View File

@ -1,7 +1,7 @@
node("docker-node") {
docker.withRegistry('https://harbor.ervine.dev', 'jenkins-to-harbor') {
git branch: "3.11.3", url: "ssh://git@git.ervine.org:2222/jonny/x86_64-suse-pocketmine", credentialsId: 'jenkins-to-git'
git branch: "3.11.3", url: "ssh://git@git.ervine.org/jonny/x86_64-suse-pocketmine", credentialsId: 'jenkins-to-git'
sh "git rev-parse HEAD > .git/commit-id"
def commit_id = readFile('.git/commit-id').trim()