|
|
@ -79,19 +79,4 @@ node('haimaxy-jnlp') { |
|
|
//} |
|
|
//} |
|
|
sh "kubectl apply -f k8s.yaml" |
|
|
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" |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
} |