The Unified and Autonomous Development Platform
Edit .onedev-buildspec.yml
Robin Shenb5334753089e
diff --git a/.onedev-buildspec.yml b/.onedev-buildspec.ymlindex 7b55b626fb..f01664bd02 100644--- a/.onedev-buildspec.yml+++ b/.onedev-buildspec.yml@@ -44,7 +44,7 @@ jobs:- mvn -Dmaven.test.skip=true -Dmaven.deploy.password=@secrets:maven-deploy-password@deploy- ''- - curl -u onedev:@secrets:maven-deploy-password@ -f -d \@/root/.m2/archetype-catalog.xml+ - curl -u onedev:@secrets:maven-deploy-password@ -f -d @@/root/.m2/archetype-catalog.xml-X PUT "https://artifact.onedev.io/artifactory/onedev/archetype-catalog.xml"- ''- cd $projectDir/server-product/docker@@ -74,8 +74,8 @@ jobs:artifacts: '*.zip *.sh'reports:- !JobMarkdownReport- filePatterns: doc/**reportName: Incompatibilities+ filePatterns: doc/**startPage: doc/incompatibilities.mdcpuRequirement: 250mmemoryRequirement: 128m@@ -99,7 +99,7 @@ jobs:image: alpine/git:1.0.7commands:- git config --global --unset http.extraHeader- - git push -f https://robinshine:@secrets:github-token@\@github.com/theonedev/server+ - git push -f https://robinshine:@secrets:github-token@@@github.com/theonedev/serverHEAD:maintriggers:- !BranchUpdateTrigger@@ -119,7 +119,7 @@ jobs:- set -e- git fetch --tags- git config --global --unset http.extraHeader- - git push -f --tags https://robinshine:@secrets:github-token@\@github.com/theonedev/onedev+ - git push -f --tags https://robinshine:@secrets:github-token@@@github.com/theonedev/onedevtriggers:- !TagCreateTriggerprojects: onedev-server