diff --git a/modules/openstack_project/files/jenkins_job_builder/config/chef-jobs.yaml b/modules/openstack_project/files/jenkins_job_builder/config/chef-jobs.yaml index da44b57862..95104b56ef 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/chef-jobs.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/chef-jobs.yaml @@ -3,6 +3,7 @@ node: '{node}' builders: + - revoke-sudo - gerrit-git-prep - chef-bundler-prep - chef-berkshelf-prep @@ -16,6 +17,7 @@ node: '{node}' builders: + - revoke-sudo - gerrit-git-prep - chef-bundler-prep - chef-cookbook-foodcritic @@ -28,6 +30,7 @@ node: '{node}' builders: + - revoke-sudo - gerrit-git-prep - chef-bundler-prep - chef-cookbook-rubocop @@ -40,6 +43,7 @@ node: bare-precise builders: + - revoke-sudo - gerrit-git-prep - shell: | #!/bin/bash -xe diff --git a/modules/openstack_project/files/jenkins_job_builder/config/gitdm.yaml b/modules/openstack_project/files/jenkins_job_builder/config/gitdm.yaml index 1930ac7959..4bcba1e052 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/gitdm.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/gitdm.yaml @@ -6,6 +6,7 @@ builders: - link-logs - net-info + - revoke-sudo - gerrit-git-prep - shell: | #!/bin/bash -xe diff --git a/modules/openstack_project/files/jenkins_job_builder/config/groups.yaml b/modules/openstack_project/files/jenkins_job_builder/config/groups.yaml index fb8eae7e00..14deaf2ed4 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/groups.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/groups.yaml @@ -3,6 +3,7 @@ node: 'bare-precise' builders: + - revoke-sudo - gerrit-git-prep - shell: | #!/bin/bash -xe @@ -27,6 +28,7 @@ node: '{node}' builders: + - revoke-sudo - gerrit-git-prep - shell: | #!/bin/bash -xe diff --git a/modules/openstack_project/files/jenkins_job_builder/config/hacking.yaml b/modules/openstack_project/files/jenkins_job_builder/config/hacking.yaml index 34e6b2e0b9..bdb3ac0cc2 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/hacking.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/hacking.yaml @@ -3,6 +3,7 @@ node: bare-precise builders: + - revoke-sudo - gerrit-git-prep - shell: | #!/bin/bash -xe diff --git a/modules/openstack_project/files/jenkins_job_builder/config/hooks.yaml b/modules/openstack_project/files/jenkins_job_builder/config/hooks.yaml index 3cff9d2c44..d967b4eaa5 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/hooks.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/hooks.yaml @@ -3,4 +3,5 @@ node: bare-precise builders: + - revoke-sudo - shell: 'curl -X POST https://readthedocs.org/build/{name} >/dev/null' diff --git a/modules/openstack_project/files/jenkins_job_builder/config/javascript.yaml b/modules/openstack_project/files/jenkins_job_builder/config/javascript.yaml index 271e260322..e72ff45740 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/javascript.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/javascript.yaml @@ -8,6 +8,7 @@ - timestamps builders: + - revoke-sudo - gerrit-git-prep - shell: | #!/bin/bash -xe @@ -44,6 +45,7 @@ name: '{name}-js-release-{branch-designator}' builders: + - revoke-sudo - gerrit-git-prep - shell: | #!/bin/bash -xe diff --git a/modules/openstack_project/files/jenkins_job_builder/config/jenkins-plugin-jobs.yaml b/modules/openstack_project/files/jenkins_job_builder/config/jenkins-plugin-jobs.yaml index 5348f2548f..9d0d6b1bc3 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/jenkins-plugin-jobs.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/jenkins-plugin-jobs.yaml @@ -12,6 +12,7 @@ - timestamps builders: + - revoke-sudo - gerrit-git-prep - shell: | #!/bin/bash -xe @@ -39,6 +40,7 @@ - timestamps builders: + - revoke-sudo - gerrit-git-prep - shell: | #!/bin/bash -xe @@ -66,6 +68,7 @@ node: pypi builders: + - revoke-sudo - shell: | #!/bin/bash -xe TAG=`echo $ZUUL_REF | sed 's/^refs.tags.//'` diff --git a/modules/openstack_project/files/jenkins_job_builder/config/manuals-jobs.yaml b/modules/openstack_project/files/jenkins_job_builder/config/manuals-jobs.yaml index f04c9db9bd..0f1638ff24 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/manuals-jobs.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/manuals-jobs.yaml @@ -4,6 +4,7 @@ node: bare-precise prebuilders: + - revoke-sudo - gerrit-git-prep properties: @@ -45,6 +46,7 @@ properties-file: gerrit-doc.properties prebuilders: + - revoke-sudo - gerrit-git-prep maven: @@ -80,6 +82,7 @@ properties-file: gerrit-doc.properties builders: + - revoke-sudo - gerrit-git-prep - shell: | source /usr/local/jenkins/slave_scripts/select-mirror.sh openstack openstack-manuals @@ -99,6 +102,7 @@ node: bare-precise prebuilders: + - revoke-sudo - gerrit-git-prep properties: @@ -134,6 +138,7 @@ node: bare-precise prebuilders: + - revoke-sudo - gerrit-git-prep properties: diff --git a/modules/openstack_project/files/jenkins_job_builder/config/maven-plugin-jobs.yaml b/modules/openstack_project/files/jenkins_job_builder/config/maven-plugin-jobs.yaml index e9dd305cc6..ba7b12c404 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/maven-plugin-jobs.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/maven-plugin-jobs.yaml @@ -12,6 +12,7 @@ - timestamps builders: + - revoke-sudo - gerrit-git-prep - shell: | #!/bin/bash -xe @@ -39,6 +40,7 @@ - timestamps builders: + - revoke-sudo - gerrit-git-prep - shell: | #!/bin/bash -xe @@ -64,6 +66,7 @@ node: pypi builders: + - revoke-sudo - shell: | #!/bin/bash -xe TAG=`echo $ZUUL_REF | sed 's/^refs.tags.//'` diff --git a/modules/openstack_project/files/jenkins_job_builder/config/misc.yaml b/modules/openstack_project/files/jenkins_job_builder/config/misc.yaml index ea9cbb608b..9753b9e2b3 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/misc.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/misc.yaml @@ -21,6 +21,7 @@ name: 'gate-{name}-run-tests' builders: + - revoke-sudo - gerrit-git-prep - run-tests: github-org: '{github-org}' @@ -35,6 +36,7 @@ name: 'gate-{name}-bash8' builders: + - revoke-sudo - gerrit-git-prep - bash8: github-org: '{github-org}' @@ -49,6 +51,7 @@ name: 'gate-{name}-unittests-{env}' builders: + - revoke-sudo - gerrit-git-prep - shell: '/usr/local/jenkins/slave_scripts/run-unittests.sh {env} {github-org} {name}' - assert-no-extra-files diff --git a/modules/openstack_project/files/jenkins_job_builder/config/openstack-publish-jobs.yaml b/modules/openstack_project/files/jenkins_job_builder/config/openstack-publish-jobs.yaml index 0347150af4..fb279e0790 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/openstack-publish-jobs.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/openstack-publish-jobs.yaml @@ -3,6 +3,7 @@ node: bare-precise builders: + - revoke-sudo - gerrit-git-prep - docs: github-org: '{github-org}' @@ -22,6 +23,7 @@ name: '{name}-merge-release-tags' builders: + - revoke-sudo - gerrit-git-prep - shell: | #!/bin/bash -xe diff --git a/modules/openstack_project/files/jenkins_job_builder/config/puppet-module-jobs.yaml b/modules/openstack_project/files/jenkins_job_builder/config/puppet-module-jobs.yaml index 78055cd96c..b0d1060b33 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/puppet-module-jobs.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/puppet-module-jobs.yaml @@ -3,6 +3,7 @@ node: '{node}' builders: + - revoke-sudo - gerrit-git-prep - shell: | export PUPPET_GEM_VERSION='~> {puppet_version}.0' @@ -19,6 +20,7 @@ node: '{node}' builders: + - revoke-sudo - gerrit-git-prep - puppet-lint @@ -30,6 +32,7 @@ node: '{node}' builders: + - revoke-sudo - gerrit-git-prep - puppet-syntax diff --git a/modules/openstack_project/files/jenkins_job_builder/config/pypi-jobs.yaml b/modules/openstack_project/files/jenkins_job_builder/config/pypi-jobs.yaml index 7639d1d5cc..f247f356ec 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/pypi-jobs.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/pypi-jobs.yaml @@ -3,6 +3,7 @@ node: pypi builders: + - revoke-sudo - gerrit-git-prep - shell: | /usr/local/jenkins/slave_scripts/pypi-upload.sh {name} {tarball-site} diff --git a/modules/openstack_project/files/jenkins_job_builder/config/python-bitrot-jobs.yaml b/modules/openstack_project/files/jenkins_job_builder/config/python-bitrot-jobs.yaml index 015142e274..287610598c 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/python-bitrot-jobs.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/python-bitrot-jobs.yaml @@ -8,6 +8,7 @@ - timestamps builders: + - revoke-sudo - python26: github-org: '{github-org}' project: '{name}' @@ -36,6 +37,7 @@ - timestamps builders: + - revoke-sudo - python27: github-org: '{github-org}' project: '{name}' @@ -64,6 +66,7 @@ - timestamps builders: + - revoke-sudo - docs: github-org: '{github-org}' project: '{name}' diff --git a/modules/openstack_project/files/jenkins_job_builder/config/python-jobs.yaml b/modules/openstack_project/files/jenkins_job_builder/config/python-jobs.yaml index c4e8374b15..8bd745543c 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/python-jobs.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/python-jobs.yaml @@ -8,6 +8,7 @@ - timestamps builders: + - revoke-sudo - gerrit-git-prep - coverage: github-org: '{github-org}' @@ -24,6 +25,7 @@ name: 'gate-{name}-pep8' builders: + - revoke-sudo - gerrit-git-prep - pep8: github-org: '{github-org}' @@ -39,6 +41,7 @@ name: 'gate-{name}-pylint' builders: + - revoke-sudo - gerrit-git-prep - pylint: github-org: '{github-org}' @@ -60,6 +63,7 @@ - timestamps builders: + - revoke-sudo - gerrit-git-prep - python26: github-org: '{github-org}' @@ -82,6 +86,7 @@ - timestamps builders: + - revoke-sudo - gerrit-git-prep - python27: github-org: '{github-org}' @@ -104,6 +109,7 @@ - timestamps builders: + - revoke-sudo - gerrit-git-prep - python33: github-org: '{github-org}' @@ -126,6 +132,7 @@ - timestamps builders: + - revoke-sudo - gerrit-git-prep - pypy: github-org: '{github-org}' @@ -142,6 +149,7 @@ name: 'gate-{name}-docs' builders: + - revoke-sudo - gerrit-git-prep - docs: github-org: '{github-org}' @@ -163,6 +171,7 @@ - timestamps builders: + - revoke-sudo - gerrit-git-prep - tox: envlist: '{envlist}' @@ -181,6 +190,7 @@ node: bare-precise builders: + - revoke-sudo - gerrit-git-prep - tarball: github-org: '{github-org}' @@ -198,6 +208,7 @@ node: bare-precise builders: + - revoke-sudo - gerrit-git-prep - tarball: github-org: '{github-org}' @@ -220,6 +231,7 @@ node: bare-precise builders: + - revoke-sudo - gerrit-git-prep - shell: | #!/bin/bash -xe