jenkinsci / jenkinsci/docker-workflow-plugin

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

Open
#733 0 comments 1 reaction 0 assignees View on GitHub
component:docker-workflow-plugin imported-jira-issue priority:minor resolution:unresolved
Dominant language
Java
Stars
527
Forks
422
Avg merge
10m
Merged PRs (30d)
1

Description

Currently https://github.com/jenkinsci/docker-workflow-plugin/blob/7213897eed01ee9e981911fc152fb8e06b8ed8c8/src/main/java/org/jenkinsci/plugins/docker/workflow/client/DockerClient.java#L185

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 https://github.com/jenkinsci/docker-workflow-plugin/blob/7213897eed01ee9e981911fc152fb8e06b8ed8c8/src/main/java/org/jenkinsci/plugins/docker/workflow/client/DockerClient.java#L185

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
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.