Browse Source

update

newbranch
刘技 5 years ago
parent
commit
724410bfba
1 changed files with 0 additions and 15 deletions
  1. 15
      Jenkinsfile

15
Jenkinsfile

@ -79,19 +79,4 @@ node('haimaxy-jnlp') {
//}
sh "kubectl apply -f k8s.yaml"
}
stage('async git repo') {
echo "current git repo: "
sh "git config remote.origin.url"
echo "current git branch: "
echo "${currentGitBranch}"
sh "git config remote.origin.url http://47.106.79.88:10080/liuji/frontend"
sh "git stash"
sh "git checkout ${currentGitBranch}"
sh "git pull"
sh "git stash pop"
sh "git config user.name zhangshan"
sh "git config user.email zhangshan@qniao.cn"
sh "git add . && git commit -m 'async test git repo with dev git repo' && git push"
}
}
Loading…
Cancel
Save