You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by jr...@apache.org on 2018/04/20 23:22:52 UTC

qpid-site git commit: QPID-8154: Add an Appveyor build badge for the new Qpid C++ job

Repository: qpid-site
Updated Branches:
  refs/heads/asf-site e5edf8a8f -> 9484d263e


QPID-8154: Add an Appveyor build badge for the new Qpid C++ job


Project: http://git-wip-us.apache.org/repos/asf/qpid-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-site/commit/9484d263
Tree: http://git-wip-us.apache.org/repos/asf/qpid-site/tree/9484d263
Diff: http://git-wip-us.apache.org/repos/asf/qpid-site/diff/9484d263

Branch: refs/heads/asf-site
Commit: 9484d263e1ade77ff0b2c888b0a9a1e69cf40323
Parents: e5edf8a
Author: Justin Ross <jr...@apache.org>
Authored: Fri Apr 20 16:22:38 2018 -0700
Committer: Justin Ross <jr...@apache.org>
Committed: Fri Apr 20 16:22:38 2018 -0700

----------------------------------------------------------------------
 content/dashboard.html   | 2 +-
 input/_transom_config.py | 6 ++++++
 input/dashboard.md       | 4 ++--
 3 files changed, 9 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-site/blob/9484d263/content/dashboard.html
----------------------------------------------------------------------
diff --git a/content/dashboard.html b/content/dashboard.html
index ec4a785..bc451e7 100644
--- a/content/dashboard.html
+++ b/content/dashboard.html
@@ -150,7 +150,7 @@ https://github.com/apache/qpid-proton/blob/go1{/dir}/{file}#L{line}"/>
   <td><a href="https://github.com/apache/qpid-cpp/blob/master/README.md">Qpid C++</a></td>
   <td><a href="/releases/qpid-cpp-1.38.0">1.38.0</a></td>
   <td><a href="https://issues.apache.org/jira/projects/QPID">Summary</a> &#x2022; <a href="https://issues.apache.org/jira/issues/?jql=project+%3D+QPID+and+resolution+is+null+and+component+in+%28%22C%2B%2B+Broker%22%2C+%22C%2B%2B+Build%22%2C+%22C%2B%2B+Client%22%2C+%22C%2B%2B+Clustering%22%2C+%22C%2B%2B+Documentation%22%2C+%22C%2B%2B+Tests%22%2C+%22C%2B%2B+Tools%22%2C+%22.NET+Client%22%2C+%22Perl+Client%22%2C+%22Python+Client+%28Wrapped%29%22%2C+%22QMF%22%2C+%22Ruby+Client%22%29">Open issues</a> &#x2022; <a href="https://issues.apache.org/jira/issues/?jql=project+%3D+QPID+and+component+in+%28%22C%2B%2B+Broker%22%2C+%22C%2B%2B+Build%22%2C+%22C%2B%2B+Client%22%2C+%22C%2B%2B+Clustering%22%2C+%22C%2B%2B+Documentation%22%2C+%22C%2B%2B+Tests%22%2C+%22C%2B%2B+Tools%22%2C+%22.NET+Client%22%2C+%22Perl+Client%22%2C+%22Python+Client+%28Wrapped%29%22%2C+%22QMF%22%2C+%22Ruby+Client%22%29">All issues</a> &#x2022; <a href="https://issues.apache.org/jira/secure/CreateIssue!default.jspa?pid=12310520"
 >Create issue</a></td>
-  <td><a href="https://builds.apache.org/blue/organizations/jenkins/Qpid-cpp-trunk-test/activity"><img src="https://builds.apache.org/buildStatus/icon?job=Qpid-cpp-trunk-test" height="20"/></a></td>
+  <td><a href="https://builds.apache.org/blue/organizations/jenkins/Qpid-cpp-trunk-test/activity"><img src="https://builds.apache.org/buildStatus/icon?job=Qpid-cpp-trunk-test" height="20"/></a> <a href="https://ci.appveyor.com/project/ApacheSoftwareFoundation/qpid-cpp/branch/master"><img src="https://ci.appveyor.com/api/projects/status/wma611lkq1fcyo18?svg=true" height="20"/></a></td>
   <td><a href="https://git-wip-us.apache.org/repos/asf/qpid-cpp.git">Git</a> &#x2022; <a href="https://github.com/apache/qpid-cpp">GitHub</a></td>
 </tr>
 <tr>

http://git-wip-us.apache.org/repos/asf/qpid-site/blob/9484d263/input/_transom_config.py
----------------------------------------------------------------------
diff --git a/input/_transom_config.py b/input/_transom_config.py
index 7fd53ec..e8e3754 100644
--- a/input/_transom_config.py
+++ b/input/_transom_config.py
@@ -113,6 +113,12 @@ def dashboard_asf_git_links(repo_key):
 
     return " &#x2022; ".join(links)
 
+def appveyor_ci_badge(party_key, job_key, badge_key, branch="master"):
+    job_url = "https://ci.appveyor.com/project/{}/{}/branch/{}".format(party_key, job_key, branch)
+    image_url = "https://ci.appveyor.com/api/projects/status/{}?svg=true".format(badge_key)
+
+    return "<a href=\"{}\"><img src=\"{}\" height=\"20\"/></a>".format(job_url, image_url)
+
 def asf_jenkins_badge(job_key):
     job_url = "https://builds.apache.org/blue/organizations/jenkins/{}/activity".format(job_key)
     image_url = "https://builds.apache.org/buildStatus/icon?job={}".format(job_key)

http://git-wip-us.apache.org/repos/asf/qpid-site/blob/9484d263/input/dashboard.md
----------------------------------------------------------------------
diff --git a/input/dashboard.md b/input/dashboard.md
index 5e16b31..0f0528e 100644
--- a/input/dashboard.md
+++ b/input/dashboard.md
@@ -33,8 +33,8 @@
 
 | Module | Release | Issues | Tests | Source code |
 | ------ | ------- | ------ | ----- | ----------- |
-| [Qpid Broker-J]({{site_url}}/components/broker-j/index.html)            | {{broker_j_release.brief_link}} | {{dashboard_asf_jira_links("QPID", 12310520, ["Broker-J", "Java Build", "Java Documentation", "Java Performance Tests", "Java Tests", "Java Tools"])}} | {{travis_ci_badge("apache", "qpid-broker-j")}}  | {{dashboard_asf_git_links("qpid-broker-j")}} |
-| [Qpid C++](https://github.com/apache/qpid-cpp/blob/master/README.md)       | {{cpp_release.brief_link}} | {{dashboard_asf_jira_links("QPID", 12310520, ["C++ Broker", "C++ Build", "C++ Client", "C++ Clustering", "C++ Documentation", "C++ Tests", "C++ Tools", ".NET Client", "Perl Client", "Python Client (Wrapped)", "QMF", "Ruby Client"])}} | {{asf_jenkins_badge("Qpid-cpp-trunk-test")}} | {{dashboard_asf_git_links("qpid-cpp")}} |
+| [Qpid Broker-J]({{site_url}}/components/broker-j/index.html)               | {{broker_j_release.brief_link}} | {{dashboard_asf_jira_links("QPID", 12310520, ["Broker-J", "Java Build", "Java Documentation", "Java Performance Tests", "Java Tests", "Java Tools"])}} | {{travis_ci_badge("apache", "qpid-broker-j")}}  | {{dashboard_asf_git_links("qpid-broker-j")}} |
+| [Qpid C++](https://github.com/apache/qpid-cpp/blob/master/README.md)       | {{cpp_release.brief_link}} | {{dashboard_asf_jira_links("QPID", 12310520, ["C++ Broker", "C++ Build", "C++ Client", "C++ Clustering", "C++ Documentation", "C++ Tests", "C++ Tools", ".NET Client", "Perl Client", "Python Client (Wrapped)", "QMF", "Ruby Client"])}} | {{asf_jenkins_badge("Qpid-cpp-trunk-test")}} {{appveyor_ci_badge("ApacheSoftwareFoundation", "qpid-cpp", "wma611lkq1fcyo18")}} | {{dashboard_asf_git_links("qpid-cpp")}} |
 | [Qpid Dispatch]({{site_url}}/components/dispatch-router/index.html)        | {{dispatch_release.brief_link}} | {{dashboard_asf_jira_links("DISPATCH", 12315321)}} | {{travis_ci_badge("apache", "qpid-dispatch")}} | {{dashboard_asf_git_links("qpid-dispatch")}} |
 | [Qpid Interop Test]({{site_url}}/components/interop-test/index.html)       | - | {{dashboard_asf_jira_links("QPIDIT", 12318621)}} | - | {{dashboard_asf_git_links("qpid-interop-test")}} |
 | [Qpid JMS]({{site_url}}/components/jms/index.html)                         | {{jms_release.brief_link}} | {{dashboard_asf_jira_links("QPIDJMS", 12314524)}} | {{asf_jenkins_badge("Qpid-JMS-Test-JDK8")}} {{travis_ci_badge("apache", "qpid-jms")}} {{asf_jenkins_badge("Qpid-JMS-Test-JDK8-Windows")}} | {{dashboard_asf_git_links("qpid-jms")}} |


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org