[JIRA] (JENKINS-42216) Pipeline job offers inapplicable SCM on initial 'Pipeline from SCM' config

0 views
Skip to first unread message

dbeck@cloudbees.com (JIRA)

unread,
Feb 21, 2017, 9:13:02 AM2/21/17
to jenkinsc...@googlegroups.com
Daniel Beck created an issue
 
Jenkins / Bug JENKINS-42216
Pipeline job offers inapplicable SCM on initial 'Pipeline from SCM' config
Issue Type: Bug Bug
Assignee: Unassigned
Components: workflow-cps-plugin
Created: 2017/Feb/21 2:12 PM
Environment: Jenkins 2.32.2
Pipeline Groovy 2.27
TFS Plugin 5.3.1
Labels: stapler
Priority: Minor Minor
Reporter: Daniel Beck

Possibly bug in CpsScmFlowDefinition, or a Stapler issue.

Install Pipeline and TFS Plugin. Create a Pipeline job. TFVC is offered in the 'Pipeline from SCM' when it shouldn't be, as it's missing the checkout(Job) override (and doesn't override isApplicable(Job)).

Configure 'Pipeline from SCM: None", Apply, and reload. It will select Git, as it's the only applicable one now (NullSCM isn't either).

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
Atlassian logo

jglick@cloudbees.com (JIRA)

unread,
Mar 3, 2017, 2:53:02 PM3/3/17
to jenkinsc...@googlegroups.com
Jesse Glick commented on Bug JENKINS-42216
 
Re: Pipeline job offers inapplicable SCM on initial 'Pipeline from SCM' config

CpsScmFlowDefinition.DescriptorImpl.getApplicableDescriptors needs to use StaplerReferer.findItemFromRequest.

andrew.bayer@gmail.com (JIRA)

unread,
Feb 26, 2018, 4:07:02 PM2/26/18
to jenkinsc...@googlegroups.com
Andrew Bayer assigned an issue to Andrew Bayer
 
Change By: Andrew Bayer
Assignee: Andrew Bayer
This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)
Atlassian logo

andrew.bayer@gmail.com (JIRA)

unread,
Feb 26, 2018, 4:07:04 PM2/26/18
to jenkinsc...@googlegroups.com
Andrew Bayer commented on Bug JENKINS-42216
 
Re: Pipeline job offers inapplicable SCM on initial 'Pipeline from SCM' config

Throwing this on my to-do list - the actual change is trivial, but I need to take the time to write a WebClient test to actually verify it works. And I'm not in the mood at the moment, so I'll do it later. =)

vivek.pandey@gmail.com (JIRA)

unread,
Nov 16, 2018, 11:48:03 AM11/16/18
to jenkinsc...@googlegroups.com
Vivek Pandey updated an issue
 
Change By: Vivek Pandey
Labels: stapler triaged-2018-11
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

yotu.tuy@gmail.com (JIRA)

unread,
Jul 5, 2019, 5:02:03 AM7/5/19
to jenkinsc...@googlegroups.com
Karolina Arancibia Valuskova commented on Bug JENKINS-42216
 
Re: Pipeline job offers inapplicable SCM on initial 'Pipeline from SCM' config

Ran into the same issue, is there a work-around until this is solved? my problem is exactly like the duplicate on this issue.

yotu.tuy@gmail.com (JIRA)

unread,
Jul 5, 2019, 5:04:02 AM7/5/19
to jenkinsc...@googlegroups.com
Ran into the same issue, is there a work-around until this is solved? my problem is exactly like the duplicate on this issue.

This is blocking the build of the job, since it throws a NP when it tries to find the scm

yotu.tuy@gmail.com (JIRA)

unread,
Jul 5, 2019, 5:05:03 AM7/5/19
to jenkinsc...@googlegroups.com
Ran into the same issue, is there a work-around until this is solved? my problem is exactly like the duplicate on this issue.
This is blocking the build of the job, since it throws a NP Null Pointer when it tries to find the scm even though I specified it as 'None'
Reply all
Reply to author
Forward
0 new messages