import os
from jenkinsapi_utils.jenkins_launcher import JenkinsLancher
-
-launcher = None
-
+systests_dir, _ = os.path.split(__file__)
+war_path = os.path.join(systests_dir, 'jenkins.war' )
+launcher = JenkinsLancher(war_path)
def setUpPackage():
- global launcher
-
- systests_dir, _ = os.path.split(__file__)
- war_path = os.path.join(systests_dir, 'jenkins.war' )
- launcher = JenkinsLancher(war_path)
launcher.start()
-
def tearDownPackage():
launcher.stop()