File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
azure-pipelines/templates/steps Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -12,10 +12,15 @@ parameters:
1212 default : $(Build.SourcesDirectory)
1313- name : javaVersion
1414 default : " 1.17"
15+ - name : vstsUsernameVariable
16+ default : ENV_VSTS_MVN_ANDROIDCOMMON_USERNAME
17+ - name : vstsAccessTokenVariable
18+ default : ENV_VSTS_MVN_ANDROIDCOMMON_ACCESSTOKEN
19+
1520steps :
1621- bash : |
17- echo "##vso[task.setvariable variable=ENV_VSTS_MVN_ANDROIDCOMMON_USERNAME ]VSTS"
18- echo "##vso[task.setvariable variable=ENV_VSTS_MVN_ANDROIDCOMMON_ACCESSTOKEN ]$(System.AccessToken)"
22+ echo "##vso[task.setvariable variable=${{ parameters.vstsUsernameVariable }} ]VSTS"
23+ echo "##vso[task.setvariable variable=${{ parameters.vstsAccessTokenVariable }} ]$(System.AccessToken)"
1924 displayName : ' Set VSTS Fields in Environment'
2025- task : Gradle@3
2126 displayName : ' Run Spotbugs'
You can’t perform that action at this time.
0 commit comments