system-config/modules/jenkins/files
Sergey Lukjanov 600e4271dd Fix/improve projects_yaml_alphabetized script
* use 'if ! command; then' condition to check diff
* previously "diff projects_list projects_list.sorted > projects_list.diff"
  command returns exit code 1 and due to the 'bash -xe' it fails execution
* make sort case insensitive

Now this script prints something like:

+ sed -e '/^- project: /!d' -e 's/^- project: //'
modules/openstack_project/templates/review.projects.yaml.erb
+ LC_ALL=C
+ sort projects_list -o projects_list.sorted
+ diff projects_list projects_list.sorted
+ echo 'The following projects should be alphabetized: '
The following projects should be alphabetized:
+ cat projects_list.diff
+ grep -e '> '
> openstack/openstack-doc-tools
> stackforge/cliff
> stackforge/entropy
> stackforge/fuel-devops
> stackforge/MRaaS
> stackforge/puppet_openstack_builder
> stackforge/stevedore
> stackforge/tooz
+ exit 1

Change-Id: Ib6160dc401a70ada16fa961ae8d941b3e8845d4b
2013-12-20 12:39:18 +04:00
..
cgroups Restore cgroup-bin Upstart jobs on Ubuntu Quantal. 2013-01-30 22:06:09 +00:00
slave_scripts Fix/improve projects_yaml_alphabetized script 2013-12-20 12:39:18 +04:00
10-ptrace.conf Aggregate jenkins modules into one module. 2012-08-12 18:22:26 +00:00
gitconfig Aggregate jenkins modules into one module. 2012-08-12 18:22:26 +00:00
jenkins-sudo-grep.sudo Add script to log jenkins sudo attempts. 2012-09-04 18:37:46 +00:00
localrc Aggregate jenkins modules into one module. 2012-08-12 18:22:26 +00:00
logger.conf configure the jenkins logger 2013-07-23 11:59:46 -07:00
openstack-page-bkg.jpg Aggregate jenkins modules into one module. 2012-08-12 18:22:26 +00:00
openstack.css Aggregate jenkins modules into one module. 2012-08-12 18:22:26 +00:00
openstack.png Aggregate jenkins modules into one module. 2012-08-12 18:22:26 +00:00
pip.conf Revert "Use b.pypi.python.org pypi mirror instead of pypi." 2013-03-01 22:22:09 +00:00
pubring.gpg Aggregate jenkins modules into one module. 2012-08-12 18:22:26 +00:00
pydistutils.cfg Revert "Use b.pypi.python.org pypi mirror instead of pypi." 2013-03-01 22:22:09 +00:00
rubygems.sh Aggregate jenkins modules into one module. 2012-08-12 18:22:26 +00:00
settings.xml add maven settings file for jenkins user 2013-02-27 21:30:28 +00:00
ssh_config Aggregate jenkins modules into one module. 2012-08-12 18:22:26 +00:00
stackforge.png Aggregate jenkins modules into one module. 2012-08-12 18:22:26 +00:00
versions.conf Aggregate jenkins modules into one module. 2012-08-12 18:22:26 +00:00