[JIRA] (JENKINS-40283) Job cannot be invoked from TFS Release Management

2 views
Skip to first unread message

dastahel@microsoft.com (JIRA)

unread,
Dec 7, 2016, 11:27:01 AM12/7/16
to jenkinsc...@googlegroups.com
David Staheli created an issue
 
Jenkins / Bug JENKINS-40283
Job cannot be invoked from TFS Release Management
Issue Type: Bug Bug
Assignee: David Staheli
Components: tfs-plugin
Created: 2016/Dec/07 4:26 PM
Priority: Minor Minor
Reporter: David Staheli

When the TFS build/release task "Jenkins Queue Job" runs in a TFS Release Management process, the environment variable "Build.Repository.Uri" is not available. This results in a crash with the following stack trace:

{{java.lang.Error: java.net.URISyntaxException: Cannot parse Git URI-ish: The uri was empty or null
at hudson.plugins.tfs.model.GitCodePushedEventArgs.getRepoURIish(GitCodePushedEventArgs.java:23)
at hudson.plugins.tfs.CommitParameterAction.<init>(CommitParameterAction.java:20)
at hudson.plugins.tfs.model.BuildCommand.contributeTeamBuildParameterActions(BuildCommand.java:227)
at hudson.plugins.tfs.model.BuildCommand.perform(BuildCommand.java:110)}}

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

scm_issue_link@java.net (JIRA)

unread,
Dec 8, 2016, 8:32:02 AM12/8/16
to jenkinsc...@googlegroups.com
SCM/JIRA link daemon commented on Bug JENKINS-40283
 
Re: Job cannot be invoked from TFS Release Management

Code changed in jenkins
User: David Staheli
Path:
tfs/src/main/java/hudson/plugins/tfs/model/BuildCommand.java
http://jenkins-ci.org/commit/tfs-plugin/aa7b022f2d0b740eb363bb917e23b3d61d17935f
Log:
Merge pull request #142 from jenkinsci/users/davidstaheli/rm1

Fix exception when invoked from TFS Release Management (JENKINS-40283)

Compare: https://github.com/jenkinsci/tfs-plugin/compare/29594a63f8ac...aa7b022f2d0b

dastahel@microsoft.com (JIRA)

unread,
Dec 8, 2016, 8:35:12 AM12/8/16
to jenkinsc...@googlegroups.com
David Staheli resolved as Fixed
 
Change By: David Staheli
Status: Open Resolved
Resolution: Fixed

dastahel@microsoft.com (JIRA)

unread,
Dec 8, 2016, 8:35:14 AM12/8/16
to jenkinsc...@googlegroups.com
David Staheli closed an issue as Fixed
Change By: David Staheli
Status: Resolved Closed
Reply all
Reply to author
Forward
0 new messages