-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use http module & fix circular dependency & extend queue function
- Loading branch information
Showing
13 changed files
with
71 additions
and
93 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
app/www/assets/polyfills-legacy.f1bc0338.js → app/www/assets/polyfills-legacy.6b731a58.js
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,24 +65,22 @@ async function runJenkins({ | |
app | ||
} | ||
) | ||
await request | ||
.post( | ||
{ | ||
url | ||
}, | ||
{ | ||
username: buildConfig.username, | ||
password: buildConfig.password | ||
} | ||
) | ||
.then(() => { | ||
sh.echo(success('成功调起Jenkins构建')) | ||
}) | ||
// sh.exec( | ||
// `curl -u ${buildConfig.username}:${buildConfig.password} "${url}"`, | ||
// { silent: true } | ||
// ) | ||
// sh.echo(success('成功调起Jenkins构建')) | ||
// await request | ||
// .get({ | ||
// url: 'http://tdeploy:[email protected]/view/git_bug/job/git_wjweb_bug/buildWithParameters?token=wojiayunbug&build_app=all', | ||
// data: { | ||
// username: buildConfig.username, | ||
// password: buildConfig.password | ||
// } | ||
// }) | ||
// .then(() => { | ||
// sh.echo(success('成功调起Jenkins构建')) | ||
// }) | ||
sh.exec( | ||
`curl -u ${buildConfig.username}:${buildConfig.password} "${url}"`, | ||
{ silent: true } | ||
) | ||
sh.echo(success('成功调起Jenkins构建')) | ||
} | ||
|
||
module.exports = runJenkins | ||
|
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
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
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
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
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
3ee7d7e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs: