Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
JENKINS-46482 Return String instead of StringParameterValue.
- Loading branch information
Showing
6 changed files
with
14 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
src/main/groovy/com/ceilfors/jenkins/plugins/jiratrigger/parameter/ParameterResolver.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,12 @@ | ||
package com.ceilfors.jenkins.plugins.jiratrigger.parameter | ||
|
||
import com.atlassian.jira.rest.client.api.domain.Issue | ||
import hudson.model.StringParameterValue | ||
|
||
/** | ||
* Responsible for providing a parameter value for Jenkins by digesting JIRA information. | ||
* | ||
* @author ceilfors | ||
*/ | ||
interface ParameterResolver { | ||
|
||
StringParameterValue resolve(Issue issue) | ||
String resolve(Issue issue) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters