diff --git a/.zuul.yaml b/.zuul.yaml index 1521b21ff..3e9b6b3d4 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -1,3 +1,9 @@ +- job: + name: jjb-tox-linters + parent: tox + vars: + tox_envlist: linters + - job: name: jjb-tox-cross-python-jenkins description: Tests compatibility with master branch of python-jenkins @@ -22,6 +28,7 @@ rtd_webhook_id: '47271' check: jobs: + - jjb-tox-linters - jjb-tox-cross-python-jenkins - jjb-tox-docs-linkcheck - tox-cover diff --git a/jenkins_jobs/modules/project_multibranch.py b/jenkins_jobs/modules/project_multibranch.py index 4ed5414b0..ac85974fb 100644 --- a/jenkins_jobs/modules/project_multibranch.py +++ b/jenkins_jobs/modules/project_multibranch.py @@ -1851,6 +1851,7 @@ def add_filter_by_name_wildcard_behaviors(traits, data): fail_required=True, ) + def add_notification_context_trait(traits, data): """Change the default GitHub check notification context from "continuous-integration/jenkins/SUFFIX" to a custom label / suffix. @@ -1889,4 +1890,4 @@ def add_notification_context_trait(traits, data): elif type(nc_suffix) == bool: nc_trait_suffix.text = str(nc_suffix).lower() else: - nc_trait_suffix.text = nc_suffix \ No newline at end of file + nc_trait_suffix.text = nc_suffix diff --git a/tests/cmd/subcommands/test_list.py b/tests/cmd/subcommands/test_list.py index 94ce88cb7..002030b7f 100644 --- a/tests/cmd/subcommands/test_list.py +++ b/tests/cmd/subcommands/test_list.py @@ -32,8 +32,8 @@ class ListFromJenkinsTests(TestWithScenarios, CmdTestsBase): dict( jobs=["folder1", "folder1/job1", "folder1/job2"], globs=[], - found=["folder1", "folder1/job1", "folder1/job2"] - ) + found=["folder1", "folder1/job1", "folder1/job2"], + ), ), ( "multiple_with_glob",