This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| from distutils.version import LooseVersion | |
| import os | |
| import subprocess | |
| import yaml | |
| rosdistro_path = '../../release_trunk/distros' | |
| distros = ['cturtle', 'diamondback','electric', 'fuerte', 'groovy', 'hydro'] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Place the following jar files under /var/lib/jenkins/plugins/groovy/WEB-INF/lib/ | |
| * http-builder-0.7.jar | |
| * httpclient-4.3.2.jar (httpcomponents-client-4.3.2) | |
| * httpcore-4.3.1.jar (httpcomponents-client-4.3.2) | |
| * resolver.jar (Xerces.2.11.0) | |
| Groovy script: | |
| import groovyx.net.http.HTTPBuilder | |
| import groovyx.net.http.ContentType |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from catkin_pkg.package import parse_package_string | |
| import rosdistro | |
| result_repos = {} | |
| result_pkgs = {} | |
| i = rosdistro.get_index(rosdistro.get_index_url()) | |
| d = rosdistro.get_cached_distribution(i, 'indigo') | |
| f = d._distribution_file | |
| for name in sorted(f.release_packages.keys()): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from catkin_pkg.package import parse_package_string | |
| import rosdistro | |
| i = rosdistro.get_index(rosdistro.get_index_url()) | |
| for distro in ['groovy', 'hydro', 'indigo']: | |
| print(distro) | |
| d = rosdistro.get_cached_distribution(i, distro) | |
| f = d._distribution_file | |
| for name in sorted(f.release_packages.keys()): | |
| xml = d.get_release_package_xml(name) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from catkin_pkg.package import parse_package_string | |
| import rosdistro | |
| i = rosdistro.get_index(rosdistro.get_index_url()) | |
| for distro in ['groovy', 'hydro', 'indigo']: | |
| print(distro) | |
| maintainers = {} | |
| d = rosdistro.get_cached_distribution(i, distro) | |
| f = d._distribution_file | |
| for name in sorted(f.release_packages.keys()): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import subprocess | |
| import yaml | |
| from catkin_pkg.package import parse_package_string | |
| import rosdistro | |
| i = rosdistro.get_index(rosdistro.get_index_url()) | |
| for distro in reversed(sorted(i.distributions.keys())): | |
| print(distro) | |
| d = rosdistro.get_cached_distribution(i, distro) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| import os | |
| import sys | |
| from ament_tools.packages import find_unique_packages | |
| import pygraphviz | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| job_prefix = 'jenkins21605_' | |
| println 'Deleting jobs from previous tests...' | |
| for (p in Jenkins.instance.allItems) { | |
| if (!p.name.startsWith(job_prefix)) continue | |
| println '- ' + p.name | |
| p.delete() | |
| } | |
| println '' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| job_prefix = 'jenkins21605_caseA_' | |
| println 'Deleting jobs from previous tests...' | |
| for (p in Jenkins.instance.allItems) { | |
| if (!p.name.startsWith(job_prefix)) continue | |
| println '- ' + p.name | |
| p.delete() | |
| } | |
| println '' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| job_prefix = 'jenkins21605_caseB_' | |
| println 'Deleting jobs from previous tests...' | |
| for (p in Jenkins.instance.allItems) { | |
| if (!p.name.startsWith(job_prefix)) continue | |
| println '- ' + p.name | |
| p.delete() | |
| } | |
| println '' |
OlderNewer