Commit b56f636 1 parent 36f987e commit b56f636 Copy full SHA for b56f636
File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ class OSRFCredentials
13
13
credentialsBinding {
14
14
crendentials_list. each { credential_keyword ->
15
15
if (credential_keyword == ' OSRFBUILD_GITHUB_TOKEN' ) {
16
- usernamePassword(' OSRFBUILD_USER ' ,
17
- ' OSRFBUILD_TOKEN ' ,
16
+ usernamePassword(' OSRFBUILD_GITHUB_USER ' ,
17
+ ' OSRFBUILD_GITHUB_TOKEN ' ,
18
18
' github-osrfbuild-apitoken' )
19
19
} else if (credential_keyword == ' OSRFBUILD_JENKINS_TOKEN' ) {
20
20
usernamePassword(' OSRFBUILD_JENKINS_USER' ,
Original file line number Diff line number Diff line change @@ -153,12 +153,12 @@ test_credentials_token_job.with
153
153
echo " + Testing OSRFBUILD_GITHUB_TOKEN ability to push into the fork osrfbuild/homebrew-simulation"
154
154
echo " (out of the test is the ability to create pull requests into osrf/homebrew-simulation)"
155
155
rm -fr homebrew-simulation
156
- git clone https://github.com/\${OSRFBUILD_USER }/homebrew-simulation.git
156
+ git clone https://github.com/\${OSRFBUILD_GITHUB_USER }/homebrew-simulation.git
157
157
cd homebrew-simulation
158
- git config user.name \${OSRFBUILD_USER } --replace-all
159
- git config user.email "\${OSRFBUILD_USER }@openrobotics.org" --replace-all
158
+ git config user.name \${OSRFBUILD_GITHUB_USER } --replace-all
159
+ git config user.email "\${OSRFBUILD_GITHUB_USER }@openrobotics.org" --replace-all
160
160
set +x
161
- git config url."https://osrfbuild:\${OSRFBUILD_TOKEN }@github.com/osrfbuild/homebrew-simulation.git" .InsteadOf https://github.com/osrfbuild/homebrew-simulation.git
161
+ git config url."https://osrfbuild:\${OSRFBUILD_GITHUB_TOKEN }@github.com/osrfbuild/homebrew-simulation.git" .InsteadOf https://github.com/osrfbuild/homebrew-simulation.git
162
162
set -x
163
163
GIT_TERMINAL_PROMPT=0 git push -u origin master --dry-run
164
164
"" ".stripIndent())
You can’t perform that action at this time.
0 commit comments