[JIRA] (JENKINS-58328) Add repository browser support (e.g. Fisheye) to pipeline jobs

14 views
Skip to first unread message

matthew.mallard@jetisre.com (JIRA)

unread,
Jul 3, 2019, 2:55:02 PM7/3/19
to jenkinsc...@googlegroups.com
Matthew Mallard created an issue
 
Jenkins / New Feature JENKINS-58328
Add repository browser support (e.g. Fisheye) to pipeline jobs
Issue Type: New Feature New Feature
Assignee: Mark Waite
Components: git-plugin, pipeline
Created: 2019-07-03 18:54
Priority: Minor Minor
Reporter: Matthew Mallard

When configuring a freestyle job you have the ability to add a repository browser when selecting Git under source code management. This functionality would be beneficial in pipeline jobs.

 

Example:

pipeline {
stage ('Checkout develop branch') {
steps

Unknown macro: { git branch}

}
}

 

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

matthew.mallard@jetisre.com (JIRA)

unread,
Jul 3, 2019, 2:56:01 PM7/3/19
to jenkinsc...@googlegroups.com
Matthew Mallard updated an issue
Change By: Matthew Mallard
When configuring a freestyle job you have the ability to add a repository browser when selecting Git under source code management. This functionality would be beneficial in pipeline jobs.

 

Example:
{quote}

pipeline {        
        stage ('Checkout develop branch') {
            steps {
                git branch: "develop",
                credentialsId: 'buildit',
                    url: 'ssh://g...@my.server.local:7999/project/repo.git'
                    fisheyeUrl: 'https://fisheyeInstance/browse/repo'
            }
        }
     }          
{quote}

 

matthew.mallard@jetisre.com (JIRA)

unread,
Jul 3, 2019, 2:57:02 PM7/3/19
to jenkinsc...@googlegroups.com
Matthew Mallard updated an issue
When configuring a freestyle job you have the ability to add a repository browser when selecting Git under source code management. This functionality would be beneficial in pipeline jobs.

 

Example:

?? pipeline {        

        stage ('Checkout develop branch') {
            steps {
                git branch: "develop",
                credentialsId: 'buildit',
                    url: 'ssh://g...@my.server.local:7999/project/repo.git'
                    fisheyeUrl: 'https://fisheyeInstance/browse/repo'
            }
        }
     }   ??         

 

matthew.mallard@jetisre.com (JIRA)

unread,
Jul 3, 2019, 2:57:03 PM7/3/19
to jenkinsc...@googlegroups.com

mark.earl.waite@gmail.com (JIRA)

unread,
Jul 3, 2019, 3:37:02 PM7/3/19
to jenkinsc...@googlegroups.com

mark.earl.waite@gmail.com (JIRA)

unread,
Jul 3, 2019, 3:37:03 PM7/3/19
to jenkinsc...@googlegroups.com
 

The git step is an intentionally simplified short form of the more general purpose checkout step. It does not include most of the options available from the checkout step, including the repository browser support options. The git step documentation says:

Note that this step is shorthand for the generic SCM step:

checkout([$class: 'GitSCM', branches: [[name: '*/master']],
userRemoteConfigs: [[url: 'http://git-server/user/repository.git']]])

The Pipeline Syntax page in your Jenkins installation will allow you to use the Jenkins UI to define the checkout step. Once defined using the helper in the Pipeline Syntax page, you can paste that text into the job definition.

Change By: Mark Waite
Status: Open Fixed but Unreleased
Resolution: Won't Fix

mark.earl.waite@gmail.com (JIRA)

unread,
Jul 3, 2019, 3:38:02 PM7/3/19
to jenkinsc...@googlegroups.com
Mark Waite closed an issue as Won't Fix
Change By: Mark Waite
Status: Resolved Closed

matthew.mallard@jetisre.com (JIRA)

unread,
Jul 8, 2019, 10:05:02 AM7/8/19
to jenkinsc...@googlegroups.com
Matthew Mallard commented on New Feature JENKINS-58328
 
Re: Add repository browser support (e.g. Fisheye) to pipeline jobs

Thanks for that info Mark and I apologize for leaving this open. I ended up stumbling upon the GitSCM plugin after submitting this ticket. I should have closed this upon finding that.

Reply all
Reply to author
Forward
0 new messages