-
Bug
-
Resolution: Unresolved
-
Critical
-
None
-
2.60.1
I am running into an issue with Jenkins 2.60.1 and the new "remoting-free" jenkins-cli. When running build command with string, boolean and other parameters, it works fine.
However, using the File Parameter fails with the message
ERROR: This command is requesting the deprecated -remoting mode. See [https://jenkins.io/redirect/cli-command-requires-channel]
Uploading a file as a parameter is not mentioned anywhere, as far as I could find, and the help page is not helpful at all.
If I invoke the command with -remoting mode enabled, it works, but I would expect this functionality to work even in http mode.
For reference, this is the command I am using:
$ java -jar jenkins-cli.jar -s https://jenkins.example.com:443/ build testing -p paramfile.txt=hello.txt
This works without any problems with older versions.