Skip to content

[JENKINS-76036] Flag --time has been deprecated, use --timeout instead #733

@jenkins-infra-bot

Description

@jenkins-infra-bot

Currently

LaunchResult result = launch(launchEnv, false, "stop", "--time=1", containerId);

Is implemented like

LaunchResult result = launch(launchEnv, false, "stop", "--time=1", containerId);

Modern docker has deprecated it in favour of `--timeout`:

```
Flag --time has been deprecated, use --timeout instead
```


Originally reported by zerkms, imported from: Flag --time has been deprecated, use --timeout instead
  • status: Open
  • priority: Minor
  • component(s): docker-workflow-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 1
  • imported: 2025-12-07
Raw content of original issue

Currently

LaunchResult result = launch(launchEnv, false, "stop", "--time=1", containerId);

Is implemented like

LaunchResult result = launch(launchEnv, false, "stop", "--time=1", containerId);

Modern docker has deprecated it in favour of `--timeout`:

``` Flag --time has been deprecated, use --timeout instead ```

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions