forked from nemccarthy/stash-pullrequest-builder-plugin
-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make project and repository name available everywhere in project conf…
…iguration Make StashBuildEnvironmentContributor provide destinationRepositoryOwner and destinationRepositoryName variables through the buildEnvironmentFor() function with a Job argument. ${destinationRepositoryOwner} and ${destinationRepositoryName} can now be used in configuration fields that are not tied to a specific build. In particular, they can be used in the repository browser URL, e.g. http://stash/projects/${destinationRepositoryOwner}/repos/${destinationRepositoryName}/ Builds triggered by Stash Pull Request Builder will have those variables replaced with the actual values from the pull request.
- Loading branch information
1 parent
5bccdee
commit 5719ae1
Showing
3 changed files
with
60 additions
and
0 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