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
-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")
pull/2/head
parent
25c3b3cb89
commit
9d839a0ece
|
|
@ -0,0 +1,3 @@
|
|||
@Library('gitee.com/infrastlabs/fk-jenkins-shared-library@sam-custom') _
|
||||
// onemall()
|
||||
onemall("$MODULE")
|
||||
|
|
@ -0,0 +1,88 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
|
||||
|
||||
<localRepository>/opt/jk_ws/repository</localRepository>
|
||||
|
||||
<pluginGroups>
|
||||
<pluginGroup>org.mortbay.jetty</pluginGroup>
|
||||
</pluginGroups>
|
||||
<proxies></proxies>
|
||||
<servers><!-- distributionAcc: add here -->
|
||||
<server>
|
||||
<id>releases</id>
|
||||
<username>demo_deploy</username>
|
||||
<password>xxx</password>
|
||||
</server>
|
||||
|
||||
<server>
|
||||
<id>snapshots</id>
|
||||
<username>demo_deploy</username>
|
||||
<password>xxx</password>
|
||||
</server>
|
||||
</servers>
|
||||
|
||||
|
||||
<mirrors>
|
||||
<mirror>
|
||||
<id>codehaus-bypass</id>
|
||||
<name>Codehaus bypass mirror</name>
|
||||
<url>http://repo1.maven.org/maven2</url>
|
||||
<mirrorOf>codehaus</mirrorOf>
|
||||
</mirror>
|
||||
<mirror>
|
||||
<!--aliyun mirror reponstory -->
|
||||
<id>nexus-aliyun</id>
|
||||
<mirrorOf>central</mirrorOf>
|
||||
<name>Nexus aliyun</name>
|
||||
<url>http://maven.aliyun.com/nexus/content/groups/public</url>
|
||||
</mirror>
|
||||
</mirrors>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<activation><activeByDefault>true</activeByDefault></activation>
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>nexus</id>
|
||||
<url>http://47.98.177.156:8082/nexus/content/groups/public</url>
|
||||
<releases>
|
||||
<enabled>true</enabled>
|
||||
</releases>
|
||||
<snapshots>
|
||||
<enabled>true</enabled>
|
||||
<updatePolicy>always</updatePolicy>
|
||||
</snapshots>
|
||||
</repository>
|
||||
</repositories>
|
||||
<pluginRepositories>
|
||||
<pluginRepository>
|
||||
<id>nexus</id>
|
||||
<url>http://47.98.177.156:8082/nexus/content/groups/public</url>
|
||||
<releases>
|
||||
<enabled>true</enabled>
|
||||
</releases>
|
||||
<snapshots>
|
||||
<enabled>true</enabled>
|
||||
<updatePolicy>always</updatePolicy>
|
||||
</snapshots>
|
||||
</pluginRepository>
|
||||
</pluginRepositories>
|
||||
|
||||
<!--<distributionManagement>
|
||||
<repository>
|
||||
<id>releases</id>
|
||||
<name>Local Nexus Repository</name>
|
||||
<url>http://192.168.1.99:8082/nexus/content/repositories/releases/</url>
|
||||
</repository>
|
||||
<snapshotRepository>
|
||||
<id>snapshots</id>
|
||||
<name>Local Nexus Repository</name>
|
||||
<url>http://192.168.1.99:8082/nexus/content/repositories/snapshots</url>
|
||||
</snapshotRepository>
|
||||
</distributionManagement> -->
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
</settings>
|
||||
Loading…
Reference in New Issue