Skip to content
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

Undetermined behavior for steps that were not yet executed #12

Closed
flosell opened this issue Nov 30, 2016 · 0 comments
Closed

Undetermined behavior for steps that were not yet executed #12

flosell opened this issue Nov 30, 2016 · 0 comments
Labels

Comments

@flosell
Copy link
Owner

flosell commented Nov 30, 2016

If a step wasn't executed yet, the cctray.xml shows undetermined data:

<Projects>
<Project name="some sample pipeline :: some-slow-step" activity="Building" lastBuildStatus="Unknown" lastBuildLabel="1" lastBuildTime="2016-11-30T15:09:45.881Z" webUrl="http://localhost:8081/pipeline/#/builds/1/1"/>
<Project name="some sample pipeline :: wait-for-interaction" activity="" lastBuildStatus="Unknown" lastBuildLabel="" lastBuildTime="2016-11-30T15:09:47.411Z" webUrl="http://localhost:8081/pipeline/#/builds//2"/>
<Project name="some sample pipeline :: either" activity="" lastBuildStatus="Unknown" lastBuildLabel="" lastBuildTime="2016-11-30T15:09:47.412Z" webUrl="http://localhost:8081/pipeline/#/builds//3"/>
<Project name="some sample pipeline :: some-failing-step" activity="" lastBuildStatus="Unknown" lastBuildLabel="" lastBuildTime="2016-11-30T15:09:47.412Z" webUrl="http://localhost:8081/pipeline/#/builds//1-3"/>
<Project name="some sample pipeline :: some-successful-step" activity="" lastBuildStatus="Unknown" lastBuildLabel="" lastBuildTime="2016-11-30T15:09:47.412Z" webUrl="http://localhost:8081/pipeline/#/builds//2-3"/>
</Projects>

Notice the last build time is just the current time, lastBuildLabel and activity are empty strings and the web-url does not contain a build-number.
Instead, we should aim something that gives users at least some value, i.e. a build that hasn't been running yet is probably sleeping, we can point to the url of the most recent build, ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant