From 82e870a8b57d9dc24941744c5e512f578d29ebbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=E7=82=B3?= <15163222+cbing2002@user.noreply.gitee.com> Date: Thu, 19 Dec 2024 17:03:18 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A7=BB=E9=99=A4=E6=97=A0=E7=94=A8=20C?= =?UTF-8?q?I?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 10 ---------- Jenkinsfile | 18 ------------------ 2 files changed, 28 deletions(-) delete mode 100644 Dockerfile delete mode 100644 Jenkinsfile diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 762e683..0000000 --- a/Dockerfile +++ /dev/null @@ -1,10 +0,0 @@ -FROM python:3 - -ENV INPUT_GITEE_USERNAME=Jerrywjy INPUT_GITEE_REPO=spark-store-project/Spark-Wiki \ - INPUT_DIRECTORY=docs INPUT_HTTPS=True INPUT_BRANCH=master PYTHONPATH=/app - -RUN mkdir /app && wget https://gitee.com/Jerrywjy/gitee-pages-action/raw/master/main.py -O /app/main.py \ - && pip install requests rsa -i https://pypi.tuna.tsinghua.edu.cn/simple - - - diff --git a/Jenkinsfile b/Jenkinsfile deleted file mode 100644 index 62d7027..0000000 --- a/Jenkinsfile +++ /dev/null @@ -1,18 +0,0 @@ -pipeline { - agent any - stages { - stage('Build') { - environment{ - password=credentials('Jerry_gitee_pass') - } - agent { - dockerfile { - filename 'Dockerfile' - } - } - steps { - sh "export INPUT_GITEE_PASSWORD=${env.password} && env && python /app/main.py" - } - } - } - } \ No newline at end of file -- Gitee