-
Notifications
You must be signed in to change notification settings - Fork 421
Description
Currently
docker-workflow-plugin/src/main/java/org/jenkinsci/plugins/docker/workflow/client/DockerClient.java
Line 185 in 7213897
| 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
docker-workflow-plugin/src/main/java/org/jenkinsci/plugins/docker/workflow/client/DockerClient.java
Line 185 in 7213897
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 ```