2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-29 09:13:08 +00:00

CI: change the user to common user

This commit is contained in:
hu-weihua 2017-07-04 23:31:23 -04:00
parent c1aa6dfcd5
commit 30ec8ec305
2 changed files with 4 additions and 3 deletions

View File

@ -22,7 +22,8 @@ script:
- echo $GITHUB_TOKEN
- git log --pretty=format:"%s %b" -2
- perl travis.pl
#- perl travis.pl
- if [ $TRAVIS_EVENT_TYPE == "pull_request" ]; then perl ./travis.pl; fi

View File

@ -157,8 +157,8 @@ sub send_back_comment{
}
print "[send_back_comment] method = $post_method to $post_url \n";
#`curl -u "$ENV{'USERNAME'}:$ENV{'PASSWORD'}" -X $post_method -d '{"body":"$message"}' $post_url 2>&1 > /dev/null`;
`curl -u "denfshuaishuai\@icloud.com:ds18811031107" -X $post_method -d '{"body":"$message"}' $post_url 2>&1 > /dev/null`;
`curl -u "$ENV{'USERNAME'}:$ENV{'PASSWORD'}" -X $post_method -d '{"body":"$message"}' $post_url 2>&1 > /dev/null`;
# `curl -u "denfshuaishuai\@icloud.com:ds18811031107" -X $post_method -d '{"body":"$message"}' $post_url 2>&1 > /dev/null`;
}
#--------------------------------------------------------