summaryrefslogtreecommitdiffstats
path: root/jenkins_jobs/modules/scm.py
diff options
context:
space:
mode:
Diffstat (limited to 'jenkins_jobs/modules/scm.py')
-rw-r--r--jenkins_jobs/modules/scm.py10
1 files changed, 8 insertions, 2 deletions
diff --git a/jenkins_jobs/modules/scm.py b/jenkins_jobs/modules/scm.py
index c594ff20..193ceccd 100644
--- a/jenkins_jobs/modules/scm.py
+++ b/jenkins_jobs/modules/scm.py
@@ -1679,8 +1679,14 @@ class SCM(jenkins_jobs.modules.base.Base):
def gen_xml(self, xml_parent, data):
# multibranch-pipeline scm implementation is incompatible with SCM
- if data.get("project-type") in ["multibranch", "multibranch-defaults"]:
- logging.debug("SCM Module skipped for multibranch project-type.")
+ if data.get("project-type") in [
+ "multibranch",
+ "multibranch-defaults",
+ "pipeline",
+ ]:
+ logging.debug(
+ "SCM Module skipped for %s project-type." % data.get("project-type")
+ )
return
scms_parent = XML.Element("scms")