forked from orrc/google-play-android-publisher-plugin
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIXED JENKINS-38613] Enable specifying the credential as a parameter.
- Loading branch information
Showing
4 changed files
with
28 additions
and
7 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
4 changes: 2 additions & 2 deletions
4
...main/resources/org/jenkinsci/plugins/googleplayandroidpublisher/ApkPublisher/config.jelly
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
20 changes: 20 additions & 0 deletions
20
...g/jenkinsci/plugins/googleplayandroidpublisher/ApkPublisher/help-googleCredentialsId.html
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<div> | ||
Specifies which credential to use in order to connect to Google Play. | ||
<p/> | ||
The selected credential must be a "Google Service Account from private | ||
key" — if you have not added one already, refer to the documentation | ||
on <a href="https://plugins.jenkins.io/google-play-android-publisher">this | ||
plugin's page</a>. | ||
<p/> | ||
By choosing the "Parameter expression" option, you can also provide a | ||
credential at build time, either from an environment variable, or from | ||
a build parameter, e.g. the Credentials Parameter type.<br/> | ||
But you can use any type of expression, so long as it expands to the | ||
name of a "Google Service Account from private key" credential at | ||
build time. | ||
<hr/> | ||
This field supports substituting environment variables in the form | ||
<tt>${SOME_VARIABLE}</tt> at build time.<br/> | ||
Note that variables in the form <tt>$SOME_VARIABLE</tt> are | ||
<em>not</em> accepted by the Credentials Plugin. | ||
</div> |