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

Support multiple commands #76

Open
danielbeardsley opened this issue Jul 3, 2017 · 0 comments
Open

Support multiple commands #76

danielbeardsley opened this issue Jul 3, 2017 · 0 comments

Comments

@danielbeardsley
Copy link
Owner

We want to be able to support cimpler running several commands are reporting each one as a separate CI status / log.

Suggested Implementation

Config

Instead of command: "some command":

/**
 * A list of shell commands that will be individual builds created
 * The exit code of this command determines success or failure    
 * of the build. Both stdout and stderr are sent to the log.      
 */
buildsTasks: {
   "Unit":        "test-suite ...",
   "Integration": "test-suite ...",
   "Image Diff":  "test-suite ...",
},

When injecting a build, inject one build for each of the above commands. Include the key name "Unit" and so on as build.processName or something so the commit-status plugin can use that when reporting the status.

@g1y g1y self-assigned this Oct 18, 2017
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

No branches or pull requests

2 participants