]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
drop some more old code
authorHolger Levsen <holger@layer-acht.org>
Wed, 15 Feb 2012 15:48:42 +0000 (16:48 +0100)
committerHolger Levsen <holger@layer-acht.org>
Wed, 15 Feb 2012 15:48:42 +0000 (16:48 +0100)
debian_build.py

index 66a62b245c491c124a2daddf4a483fe7e4c8b4d7..6ecd005f73c07a5dbbcb82ea15fdc9b4b78b7ab3 100755 (executable)
@@ -494,38 +494,5 @@ if __name__ == '__main__':
             logger.exception(error)
             exit_error()
 
-        # build out-of-tree kernel module binary packages for all defined 
-        # flavours (if the package is a oot-source package)
-        FLAVOURS_FILE=os.path.join(GIT_TARGET_WORKSPACE, GIT_REPO_NAME, "debian/pb_flavours")
-        if os.path.exists(FLAVOURS_FILE):
-            FLAVOURS_FILE=os.path.join(GIT_TARGET_WORKSPACE, GIT_REPO_NAME, "debian/pb_flavours")
-            fh = open(FLAVOURS_FILE, 'r')
-
-
-            for flavour in fh.readlines():
-                flavour=flavour.strip()
-                LINUX_FLAVOUR_REPO_PATH = '/srv/git/r+i/linux-%s.git' % flavour
-                urlencode_expansion_dict = {
-                   'flavour': 'linux-%s' % flavour
-                }
-                url = HudsonUrl()
-                data = urllib.urlencode(
-                    (
-                        ('GIT_REPO_PATH', LINUX_FLAVOUR_REPO_PATH),
-                        ('GIT_BRANCH_NAME', GIT_BRANCH_NAME),
-                        ('DISTRIBUTION', pb_suite),
-                        ('delay', JOB_DELAY)
-                    )
-                )
-                ret = url.open(JOB_URL %(urlencode_expansion_dict) + '%s' %(data))
-
-                if ret.code == 200:
-                    logger.info('jenkins url %s called successfully. ' % JOB_URL %(urlencode_expansion_dict) + '%s' %(data))
-                else: 
-                    logger.info('URL was %s' % JOB_URL %(urlencode_expansion_dict) + '%s' %(data))
-                    logger.info('jenkins sends the following: %s' %(ret.read())                    )
-                    exit_error()
-            fh.close()
-
         exit_ok()