#!/bin/bash # Jenkins Configuraitons Directory cd $JENKINS_HOME # Add general configurations, job configurations, and user content git add -- *.xml jobs/*/*.xml userContent/* ansible/* # only add user configurations if they exist if [ -d users ]; then user_configs=`ls users/*/config.xml` if [ -n &quot;$user_configs&quot; ]; then git add $user_configs fi fi # mark as deleted anything that's been, well, deleted to_remove=`git status | grep &quot;deleted&quot; | awk '{print $3}'` if [ -n &quot;$toremove&quot; ]; then git rm --ignore-unmatch $toremove fi git commit -m &quot;Automated Jenkins commit&quot; git push -q -u origin master 文章格式核对完成后,便在公众号上发布了。</description>
#!/bin/bash # Jenkins Configuraitons Directory cd $JENKINS_HOME # Add general configurations, job configurations, and user content git add -- *.xml jobs/*/*.xml userContent/* ansible/* # only add user configurations if they exist if [ -d users ]; then user_configs=`ls users/*/config.xml` if [ -n &quot;$user_configs&quot; ]; then git add $user_configs fi fi # mark as deleted anything that's been, well, deleted to_remove=`git status | grep &quot;deleted&quot; | awk '{print $3}'` if [ -n &quot;$toremove&quot; ]; then git rm --ignore-unmatch $toremove fi git commit -m &quot;Automated Jenkins commit&quot; git push -q -u origin master 文章格式核对完成后,便在公众号上发布了。</description>
<ahref="/wechat/articles/2019/09/2019-09-16-jenkins-world-contributor-summit-and-ask-the-experts-booth/"class="link primary-color dim">Jenkins World 贡献者峰会及专家答疑展位</a>
</h1>
...
...
@@ -454,33 +481,6 @@ var trackOutboundLink = function(id, url) {