Skip to content

Add link to dashboard on build creation #37

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 15, 2020
Merged

Add link to dashboard on build creation #37

merged 3 commits into from
Jul 15, 2020

Conversation

nagpalkaran95
Copy link
Collaborator

@nagpalkaran95 nagpalkaran95 commented Jul 10, 2020

User facing changelog

  • Add a log line with dashboard link when build is created successfully

return build.createBuild(bsConfig, zip).then(function (message) {
return build.createBuild(bsConfig, zip).then(function (data) {
let message = `${data.message}! ${Constants.userMessages.BUILD_CREATED} with build id: ${data.build_id}`;
let dashboardLink = `Visit the Automate dashboard for test reporting: ${config.dashboardUrl}${data.build_id}`;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Visit the Automate dashboard for test reporting

Can we put this into constants as this might change in future and can be used in other commands as well, for example in stop also we can show the URL to that stopped build.

@suryart suryart merged commit ffe5723 into master Jul 15, 2020
@suryart suryart deleted the CYP_281_link branch July 15, 2020 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants