|
|
|
@@ -7,9 +7,6 @@ node { |
|
|
|
// 镜像仓库的项目,这里建议项目名称和jenkins的item项目名称、以及harbor的项目名称保持一致,否则用一下脚本会出问题 |
|
|
|
// def harbor_project = "demo" |
|
|
|
def mavenPath="/usr/share/maven" |
|
|
|
tools { |
|
|
|
maven 'Maven 3.8.8' |
|
|
|
} |
|
|
|
// 拉取代码 |
|
|
|
stage('pull code') { |
|
|
|
checkout([$class: 'GitSCM', branches: [[name: '*/${branch}']], extensions: [], userRemoteConfigs: [[credentialsId: '0f6d6eaa8754e735262afa495fe2828d611fca17', url: 'http://39.105.23.186:3000/develop/digimeta-MultiSaas.git']]]) |
|
|
|
|