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

add command: jx trigger nameOfPipeline #52

Closed
jstrachan opened this issue Jan 12, 2018 · 1 comment
Closed

add command: jx trigger nameOfPipeline #52

jstrachan opened this issue Jan 12, 2018 · 1 comment

Comments

@jstrachan
Copy link
Member

jstrachan commented Jan 12, 2018

it would be nice to have a command line that can be used to trigger a pipeline build on the current jenkins.

Something like...

$ jx trigger foo
Pipeline foo has started

Maybe if no pipeline name is specified and there are > 1 pipelines then we could show a combo box list of options to select using the survey stuff - like this code: https://github.com/jstrachan/jx/blob/033629a9e2c565fb887b61f2d9305479abf44a06/pkg/auth/config.go#L175-L184

e.g.

$ jx trigger 
Please select the pipeline to trigger
-> [x]: pipeline1
   [ ]: pipeline2
   [ ]: pipeline3
@jstrachan jstrachan added this to the 1 milestone Jan 12, 2018
@jstrachan
Copy link
Member Author

am not sure if the command should be trigger or start though - I guess we could add an alias for both ;)

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

1 participant