6 Star 8 Fork 10

open-hand / choerodon-asgard

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
Clone or download
.gitlab-ci.yml 2.28 KB
Copy Edit Web IDE Raw Blame History
Administrator authored 2020-09-29 10:08 . [ci skip] update .gitlab-ci.yml
include: https://api.choerodon.com.cn/devops/v1/projects/1529/ci_contents/pipelines/f83ed07e-610e-4ad3-a81b-4cb6c273097a/content.yaml
#include: https://api.choerodon.com.cn/devops/v1/projects/1529/ci_contents/pipelines/0e4647d1-1a6c-4a6b-ae62-ce31cd46c5ef/content.yaml
#
##image: registry.cn-shanghai.aliyuncs.com/c7n/cibase:0.10.0
##
##stages:
## - build
## - release
##
##
##build backend:
## stage: build
## script:
## - update_pom_version
## - mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent test -Dmaven.test.failure.ignore=true -DskipTests=true -U
## - >-
## mvn --batch-mode verify sonar:sonar
## -Dsonar.host.url=$SONAR_URL
## -Dsonar.login=$SONAR_LOGIN
## -Dsonar.gitlab.project_id=$CI_PROJECT_PATH
## -Dsonar.gitlab.commit_sha=$CI_COMMIT_SHA
## -Dsonar.gitlab.ref_name=$CI_COMMIT_REF_NAME
## -Dsonar.analysis.serviceGroup=$GROUP_NAME
## -Dsonar.analysis.commitId=$CI_COMMIT_SHA
## -Dsonar.projectKey=${GROUP_NAME}:${PROJECT_NAME}
## - mvn package spring-boot:repackage
## - mv target/app.jar $PWD/docker
## - kaniko -c $PWD/docker -f $PWD/docker/Dockerfile -d ${DOCKER_REGISTRY}/${GROUP_NAME}/${PROJECT_NAME}:${CI_COMMIT_TAG}
##
##
##release backend:
## stage: release
## script:
## - chart_build
##
##maven-deploy-snapshot:
## stage: build
## script:
## - mvn clean install -Dmaven.springboot.skip=true -DskipTests=true deploy -DaltDeploymentRepository=${CHOERODON_SNAPSHOT_REPOSITORY_ID}::default::${CHOERODON_SNAPSHOT_URL} -Ddeploy.classifier=exec
## # 只有master, release和hotfix分支才发包
## only:
## refs:
## - master
## - /^.*hotfix.*$/
## - /^.*release.*$/
##
##maven-deploy-release:
## stage: build
## script:
## - mvn clean install -Dmaven.springboot.skip=true -DskipTests=true deploy -DaltDeploymentRepository=${CHOERODON_RELEASE_REPOSITORY_ID}::default::${CHOERODON_RELEASE_URL} -Ddeploy.classifier=exec
## only:
## - tags
##
##
##.auto_devops: &auto_devops |
## http_status_code=`curl -o .auto_devops.sh -s -m 10 --connect-timeout 10 -w %{http_code} "${CHOERODON_URL}/devops/ci?token=${Token}&type=microservice"`
## if [ "$http_status_code" != "200" ]; then
## cat .auto_devops.sh
## exit 1
## fi
## source .auto_devops.sh
##
##before_script:
## - *auto_devops

Comment ( 0 )

Sign in for post a comment

Java
1
https://gitee.com/open-hand/choerodon-asgard.git
git@gitee.com:open-hand/choerodon-asgard.git
open-hand
choerodon-asgard
choerodon-asgard
master

Search