Skip to content

Feature request - allow retry workflow #197

Description

@lacostenycoder

Give any pertinent information such as OS, gem version, environment, API version.
Using latest version 2.0.3 with Ruby 2.3

Issue

Need method to rerun a specific workflow

Steps to reproduce

Feature doesn't seem to be supported by the gem

Expected behavior

Allow this feature

Proposals

  • Reason for change

Use case, auto-deploy workflow deploys feature branches to a test server on a hourly schedule. Sometime we need to trigger this manually. Right now only way is to to use Web UI to rerun the workflow. Would love to be able to do this from custom cli. We could use curl according to https://ideas.circleci.com/ideas/CCI-I-192 but would rather use this gem.

  • Suggestions on how to implement

Would like to pass workflow name as a param something like:

build = CircleCi::Build.new  'username', 'reponame', {workflow: 'auto_deploy_test'}, 'master'
build.retry

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions