Esempio n. 1
0
 def job_types(self):
     """
     :returns: a list of Jenkins job types currently supported by this instance of PyJen
              Elements from this list may be used when creating new jobs on this Jenkins instance,
              so long as the accompanying job type is supported by the live Jenkins server
     :rtype: :class:`list` of :class:`str`
     """
     return Job.supported_types()
Esempio n. 2
0
    def test_supported_types(self):
        actual = Job.supported_types()

        self.assertIn("project", actual)
        self.assertGreater(len(actual), 1)