From 834874797ec1c2e72b7740a767e96d8a0d732601 Mon Sep 17 00:00:00 2001 From: YuCheng Hu Date: Fri, 21 Oct 2022 12:30:18 -0400 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Jenkinsfile | 50 -------------------------------------------------- 1 file changed, 50 deletions(-) delete mode 100644 Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile deleted file mode 100644 index f153819..0000000 --- a/Jenkinsfile +++ /dev/null @@ -1,50 +0,0 @@ -pipeline { - agent any - - tools { - nodejs 'node 17.9.1' - } - - environment { - DISABLE_AUTH = 'true' - DB_ENGINE = 'sqlite' - } - - stages { - stage("Pull Source Code"){ - steps { - git credentialsId: 'd8a95129-132d-46d9-a864-06514d16feba', url: 'https://src.ossez.com/USVisaTrack/Usvisatrack-Ui-Docker.git' - } - } - - stage('Config') { - steps { - echo 'Building..' - sh 'cd Vuejs/Admin' - sh 'yarn install' - sh 'npx browserslist@latest --update-db' - } - } - - stage('BUILD VUE') { - steps { - echo 'Vue Building..' - sh 'yarn build' - } - } - stage('BUILD DOCKER') { - steps { - echo 'Testing..' - sh 'docker image prune -f' - sh 'docker build -f Dockerfile -t usvisartrack_ui:0.0.9 --label usvisartrack_ui .' - } - } - stage('DEPLOY DOCKER') { - steps { - echo 'Deploying....' - sh 'docker tag usvisartrack_ui:0.0.9 repo-docker.ossez.com/docker-hub/usvisartrack_ui:0.0.9' - sh 'docker push repo-docker.ossez.com/docker-hub/usvisartrack_ui:0.0.9' - } - } - } -} \ No newline at end of file