From 9d839a0ecee04b35730a16a1c50b9774e8414063 Mon Sep 17 00:00:00 2001 From: sam Date: Sat, 25 Apr 2020 23:12:12 +0800 Subject: [PATCH] init jenkinsfile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit up1 fix up up notes u fix containerTemplate(name: 'git', image: 'alpine/git' fix up up u checkout scm dir("/opt/ws") { fix1 jk_ws up dir judge fix 帝 fix fix2 clone-src mvn install git config --global up -s ./mvn-setting.xml init jenkinsfile up1 fix up up notes u fix containerTemplate(name: 'git', image: 'alpine/git' fix up up u checkout scm dir("/opt/ws") { fix1 jk_ws up dir judge fix 帝 fix fix2 clone-src mvn install git config --global up ./mvn-settings.xml central mirror aliyun lib: onemall testParam: onemall("$MODULE") --- Jenkinsfile | 3 ++ mvn-settings.xml | 88 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 91 insertions(+) create mode 100644 Jenkinsfile create mode 100644 mvn-settings.xml diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 000000000..1339bace4 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,3 @@ +@Library('gitee.com/infrastlabs/fk-jenkins-shared-library@sam-custom') _ +// onemall() +onemall("$MODULE") diff --git a/mvn-settings.xml b/mvn-settings.xml new file mode 100644 index 000000000..da35596c2 --- /dev/null +++ b/mvn-settings.xml @@ -0,0 +1,88 @@ + + + + /opt/jk_ws/repository + + + org.mortbay.jetty + + + + + releases + demo_deploy + xxx + + + + snapshots + demo_deploy + xxx + + + + + + + codehaus-bypass + Codehaus bypass mirror + http://repo1.maven.org/maven2 + codehaus + + + + nexus-aliyun + central + Nexus aliyun + http://maven.aliyun.com/nexus/content/groups/public + + + + + + true + + + nexus + http://47.98.177.156:8082/nexus/content/groups/public + + true + + + true + always + + + + + + nexus + http://47.98.177.156:8082/nexus/content/groups/public + + true + + + true + always + + + + + + + + +