[JIRA] (JENKINS-58820) scan Multibranch pipeline doe snot detect new streams when file is branch

0 views
Skip to first unread message

daigno@gmail.com (JIRA)

unread,
Aug 5, 2019, 5:42:01 PM8/5/19
to jenkinsc...@googlegroups.com
Eric Daigneault created an issue
 
Jenkins / Bug JENKINS-58820
scan Multibranch pipeline doe snot detect new streams when file is branch
Issue Type: Bug Bug
Assignee: Unassigned
Components: p4-plugin
Created: 2019-08-05 21:41
Priority: Major Major
Reporter: Eric Daigneault

P4_plugin will  not detect new streams in a multiBranch Scan if the Jenkinsfile`s change action is branch.  Once the file is edited once (thus changing the action to edit) the multibranch scan that will be run next will succeed in finding the new stream and add it's config.

Since we have a highly uniform environment based on conventions edition of the Jenkinsfile for development branch from a mainline is rarely necessary.  99% of the time programmers will only create the stream and work on their things without needing to touch the Jenkins file at all.

 

for example, the scan multibranch pipeline log returns this

 
 

 p4 files -e //proj/demos/2019.2/Jenkinsfile //proj/demos/2019.2/Jenkinsfile - no such file(s).
‘Jenkinsfile’ not found

 

while running the very same command line locally will yield :

 

p4 files -e //proj/demos/2019.2/Jenkinsfile
//proj/demos/2019.2/Jenkinsfile#1 - branch change 2190857 (text)
 

 

editing the file with a bogus change yields this locally :

> p4 files -e //proj/demos/2019.2/Jenkinsfile
//proj/demos/2019.2/Jenkinsfile#2 - edit change 2191573 (text)

 

and running the scan multibranch manually yields this log

 

p4 files -e //proj/demos/2019.2/Jenkinsfile 

p4 files -e //proj/demos/2019.2/Jenkinsfile //proj/demos/2019.2/Jenkinsfile#2 - edit change 2191573 (text) ‘Jenkinsfile’ found 

 
 
and the stream is detected and a build properly scheduled.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

daigno@gmail.com (JIRA)

unread,
Aug 5, 2019, 5:43:02 PM8/5/19
to jenkinsc...@googlegroups.com
Eric Daigneault updated an issue
Change By: Eric Daigneault
Summary: scan Multibranch  pipeline doe snot does not detect new streams when file is branch

j.f.brown@sbcglobal.net (JIRA)

unread,
Aug 8, 2019, 2:42:03 PM8/8/19
to jenkinsc...@googlegroups.com
Joel Brown commented on Bug JENKINS-58820
 
Re: scan Multibranch pipeline does not detect new streams when file is branch

Hi Eric Daigneault - does your company have a Perforce License?   If so, I'd prefer to work with you through our Salesforce on the issue.  And then update this with any conclusion.

j.f.brown@sbcglobal.net (JIRA)

unread,
Aug 9, 2019, 5:23:02 PM8/9/19
to jenkinsc...@googlegroups.com

j.f.brown@sbcglobal.net (JIRA)

unread,
Aug 9, 2019, 6:27:02 PM8/9/19
to jenkinsc...@googlegroups.com
 
Re: scan Multibranch pipeline does not detect new streams when file is branch

Eric Daigneault What type of Stream is this undetected stream?   Development?  Release?  Task?

j.f.brown@sbcglobal.net (JIRA)

unread,
Aug 9, 2019, 6:42:02 PM8/9/19
to jenkinsc...@googlegroups.com
Joel Brown edited a comment on Bug JENKINS-58820
[~newtopian] What type of Stream is this undetected stream?   Development?  Release?  Task?

I can reproduce this with a Task stream.   Please confirm you have the problem with Task Streams - or other.

j.f.brown@sbcglobal.net (JIRA)

unread,
Aug 9, 2019, 7:31:02 PM8/9/19
to jenkinsc...@googlegroups.com
Joel Brown closed an issue as Duplicate
 
Change By: Joel Brown
Status: Open Closed
Resolution: Duplicate

daigno@gmail.com (JIRA)

unread,
Aug 12, 2019, 6:16:02 PM8/12/19
to jenkinsc...@googlegroups.com
Eric Daigneault commented on Bug JENKINS-58820
 
Re: scan Multibranch pipeline does not detect new streams when file is branch

wow... closed already !

 

well, it occurred on development stream.  We do not (yet) use task streams in our process with Jenkins.

 

We do have a perforce Licence, I will talk to our perforce guru in-house see if he or someone else that has access to, can create an issue with support directly

daigno@gmail.com (JIRA)

unread,
Aug 12, 2019, 6:18:03 PM8/12/19
to jenkinsc...@googlegroups.com
Eric Daigneault reopened an issue
 

not related to linked issue, this occurred with development stream not task stream

Change By: Eric Daigneault
Resolution: Duplicate
Status: Closed Reopened

j.f.brown@sbcglobal.net (JIRA)

unread,
Aug 12, 2019, 7:39:02 PM8/12/19
to jenkinsc...@googlegroups.com
Joel Brown commented on Bug JENKINS-58820
 
Re: scan Multibranch pipeline does not detect new streams when file is branch

Eric Daigneault if your "p4 -ztag info" shows support you can email sup...@perforce.com (please provide the p4 info).  Please mention me.

daigno@gmail.com (JIRA)

unread,
Aug 14, 2019, 5:17:01 PM8/14/19
to jenkinsc...@googlegroups.com
Eric Daigneault closed an issue as Duplicate
 

restoring the duplicate status.  Could not reproduce on development stream, stream at the time could have been task stream.

Change By: Eric Daigneault
Status: Reopened Closed
Resolution: Duplicate
Reply all
Reply to author
Forward
0 new messages