File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,13 @@ exports.run = function (options) {
27
27
if ( process . env . TRAVIS ) {
28
28
options . message += ' -- ' + process . env . TRAVIS_COMMIT_MESSAGE + ' \n\n' +
29
29
'Triggered by commit: https://github.com/' + process . env . TRAVIS_REPO_SLUG + '/commit/' + process . env . TRAVIS_COMMIT + '\n' +
30
- 'Travis build: https://travis-ci.org/' + process . env . TRAVIS_REPO_SLUG + '/builds/' + process . env . TRAVIS_BUILD_ID ;
30
+ 'Travis CI build: https://travis-ci.org/' + process . env . TRAVIS_REPO_SLUG + '/builds/' + process . env . TRAVIS_BUILD_ID ;
31
+ }
32
+
33
+ if ( process . env . CIRCLECI ) {
34
+ options . message += ' -- \n\n' +
35
+ 'Triggered by commit: https://github.com/' + process . env . CIRCLE_PROJECT_USERNAME + '/' + CIRCLE_PROJECT_REPONAME + '/commit/' + process . env . CIRCLE_SHA1 + '\n' +
36
+ 'CircleCI build: ' + CIRCLE_BUILD_URL ;
31
37
}
32
38
33
39
// for your convenience - here you can hack credentials into the repository URL
You can’t perform that action at this time.
0 commit comments