-
Bug
-
Resolution: Unresolved
-
Major
-
None
Hi Team,
We are not able to execute Jenkins job using Jenkins-cli when we have multiple file partameter in Jenlkins job and we are getting below error -
*ERROR: This command is requesting the -remoting mode which is no longer supported. See [*https://jenkins.io/redirect/cli-command-requires-channel**]
We have tried following things from our side for 2 different jenkins version i.e. 2.204.4 and 2.289.1 to trigger job remotely by cli-
Case | Result | Command |
---|---|---|
job does not have any file parameter | job tireggered without any issue | java -jar jenkins-cli.jar -s jenkins_url -auth username:password build CLI_TEST -r 20 -s -v -p STRING_TEST=AYUSHI |
job have 1 file parameter | job tireggered without any issue only for #1 command | For both command job was triggered in first we are providing standard input to file parameter and in second we are providing file 1. java -jar jenkins-cli.jar -s jenkins_url -auth username:password build CLI_TEST -r 20 -s -v -p STRING_TEST=AYUSHI -p FILE_TEST1= <a.txt 2. java -jar jenkins-cli.jar -s jenkins_url -auth username:password build CLI_TEST -r 20 -s -v -p STRING_TEST=AYUSHI -p FILE_TEST1=a.txt #2 give error please attached screenshot for reference |
job have 2 file parameter | Job was not triggered | For both command job is not triggereing in first we are providing standard input to file parameter and in second we are providing file 1. java -jar jenkins-cli.jar -s jenkins_url -auth username:password build CLI_TEST -r 20 -s -v -p STRING_TEST=AYUSHI -p FILE_TEST1= <a.txt -p FILE_TEST2= <b.txt (this is not working) 2. java -jar jenkins-cli.jar -s jenkins_url -auth username:password build CLI_TEST -r 20 -s -v -p STRING_TEST=AYUSHI -p FILE_TEST1=a.txt -p FILE_TEST2=b.txt #2 give error please attached screenshot for reference |
Can you tell us how we can solve error of triggering job remotely by cli when we have multiple file parameter ?
Regards,
Ayushi Kasat
[JENKINS-65954] Remote execution of job is failing by Jenkins CLI
Description |
Original:
Hi Team,
We are not able to execute Jenkins job using Jenkins-cli when we have multiple file partameter in Jenlkins job and we are getting below error - *ERROR: This command is requesting the -remoting mode which is no longer supported. See https://jenkins.io/redirect/cli-command-requires-channel* We have tried following things from our side for 2 different jenkins version i.e. 2.204.4 and 2.289.1 to trigger job remotely by cli- ||Case||Result||Command|| |job does not have any file parameter|job tireggered without any issue|java -jar jenkins-cli.jar -s jenkins_url -auth username:password build CLI_TEST -r 20 -s -v -p STRING_TEST=AYUSHI| |job have 1 file parameter |job tireggered without any issue|For both command job was triggered in first we are providing standard input to file parameter and in second we are providing file 1. java -jar jenkins-cli.jar -s jenkins_url -auth username:password build CLI_TEST -r 20 -s -v -p STRING_TEST=AYUSHI -p FILE_TEST1= <a.txt 2. java -jar jenkins-cli.jar -s jenkins_url -auth username:password build CLI_TEST -r 20 -s -v -p STRING_TEST=AYUSHI -p FILE_TEST1=a.txt | |job have 2 file parameter |*Job was not triggered* | For both command *job is not triggereing* in first we are providing standard input to file parameter and in second we are providing file 1. java -jar jenkins-cli.jar -s jenkins_url -auth username:password build CLI_TEST -r 20 -s -v -p STRING_TEST=AYUSHI -p FILE_TEST1= <a.txt -p FILE_TEST2= <b.txt 2. java -jar jenkins-cli.jar -s jenkins_url -auth username:password build CLI_TEST -r 20 -s -v -p STRING_TEST=AYUSHI -p FILE_TEST1=a.txt -p FILE_TEST2=b.txt| Can you tell us how we can solve above error of triggering job remotely by cli when we have multiple file parameter ? Regards, Ayushi Kasat |
New:
Hi Team,
We are not able to execute Jenkins job using Jenkins-cli when we have multiple file partameter in Jenlkins job and we are getting below error - *ERROR: This command is requesting the -remoting mode which is no longer supported. See [https://jenkins.io/redirect/cli-command-requires-channel*] We have tried following things from our side for 2 different jenkins version i.e. 2.204.4 and 2.289.1 to trigger job remotely by cli- ||Case||Result||Command|| |job does not have any file parameter|job tireggered without any issue|java -jar jenkins-cli.jar -s jenkins_url -auth username:password build CLI_TEST -r 20 -s -v -p STRING_TEST=AYUSHI| |job have 1 file parameter |job tireggered without any issue|For both command job was triggered in first we are providing standard input to file parameter and in second we are providing file 1. java -jar jenkins-cli.jar -s jenkins_url -auth username:password build CLI_TEST -r 20 -s -v -p STRING_TEST=AYUSHI -p FILE_TEST1= <a.txt 2. java -jar jenkins-cli.jar -s jenkins_url -auth username:password build CLI_TEST -r 20 -s -v -p STRING_TEST=AYUSHI -p FILE_TEST1=a.txt| |job have 2 file parameter |*Job was not triggered* | For both command *job is not triggereing* in first we are providing standard input to file parameter and in second we are providing file 1. java -jar jenkins-cli.jar -s jenkins_url -auth username:password build CLI_TEST -r 20 -s -v -p STRING_TEST=AYUSHI -p FILE_TEST1= <a.txt -p FILE_TEST2= <b.txt 2. java -jar jenkins-cli.jar -s jenkins_url -auth username:password build CLI_TEST -r 20 -s -v -p STRING_TEST=AYUSHI -p FILE_TEST1=a.txt -p FILE_TEST2=b.txt| Can you tell us how we can solve above error of triggering job remotely by cli when we have multiple file parameter ? Regards, Ayushi Kasat |
Description |
Original:
Hi Team,
We are not able to execute Jenkins job using Jenkins-cli when we have multiple file partameter in Jenlkins job and we are getting below error - *ERROR: This command is requesting the -remoting mode which is no longer supported. See [https://jenkins.io/redirect/cli-command-requires-channel*] We have tried following things from our side for 2 different jenkins version i.e. 2.204.4 and 2.289.1 to trigger job remotely by cli- ||Case||Result||Command|| |job does not have any file parameter|job tireggered without any issue|java -jar jenkins-cli.jar -s jenkins_url -auth username:password build CLI_TEST -r 20 -s -v -p STRING_TEST=AYUSHI| |job have 1 file parameter |job tireggered without any issue|For both command job was triggered in first we are providing standard input to file parameter and in second we are providing file 1. java -jar jenkins-cli.jar -s jenkins_url -auth username:password build CLI_TEST -r 20 -s -v -p STRING_TEST=AYUSHI -p FILE_TEST1= <a.txt 2. java -jar jenkins-cli.jar -s jenkins_url -auth username:password build CLI_TEST -r 20 -s -v -p STRING_TEST=AYUSHI -p FILE_TEST1=a.txt| |job have 2 file parameter |*Job was not triggered* | For both command *job is not triggereing* in first we are providing standard input to file parameter and in second we are providing file 1. java -jar jenkins-cli.jar -s jenkins_url -auth username:password build CLI_TEST -r 20 -s -v -p STRING_TEST=AYUSHI -p FILE_TEST1= <a.txt -p FILE_TEST2= <b.txt 2. java -jar jenkins-cli.jar -s jenkins_url -auth username:password build CLI_TEST -r 20 -s -v -p STRING_TEST=AYUSHI -p FILE_TEST1=a.txt -p FILE_TEST2=b.txt| Can you tell us how we can solve above error of triggering job remotely by cli when we have multiple file parameter ? Regards, Ayushi Kasat |
New:
Hi Team,
We are not able to execute Jenkins job using Jenkins-cli when we have multiple file partameter in Jenlkins job and we are getting below error - **ERROR: This command is requesting the -remoting mode which is no longer supported. See* [*https://jenkins.io/redirect/cli-command-requires-channel**] We have tried following things from our side for 2 different jenkins version i.e. 2.204.4 and 2.289.1 to trigger job remotely by cli- ||Case||Result||Command|| |job does not have any file parameter|job tireggered without any issue|java -jar jenkins-cli.jar -s jenkins_url -auth username:password build CLI_TEST -r 20 -s -v -p STRING_TEST=AYUSHI| |job have 1 file parameter |job tireggered without any issue|For both command job was triggered in first we are providing standard input to file parameter and in second we are providing file 1. java -jar jenkins-cli.jar -s jenkins_url -auth username:password build CLI_TEST -r 20 -s -v -p STRING_TEST=AYUSHI -p FILE_TEST1= <a.txt 2. java -jar jenkins-cli.jar -s jenkins_url -auth username:password build CLI_TEST -r 20 -s -v -p STRING_TEST=AYUSHI -p FILE_TEST1=a.txt| |job have 2 file parameter |*Job was not triggered* | For both command *job is not triggereing* in first we are providing standard input to file parameter and in second we are providing file 1. java -jar jenkins-cli.jar -s jenkins_url -auth username:password build CLI_TEST -r 20 -s -v -p STRING_TEST=AYUSHI -p FILE_TEST1= <a.txt -p FILE_TEST2= <b.txt 2. java -jar jenkins-cli.jar -s jenkins_url -auth username:password build CLI_TEST -r 20 -s -v -p STRING_TEST=AYUSHI -p FILE_TEST1=a.txt -p FILE_TEST2=b.txt| Can you tell us how we can solve above error of triggering job remotely by cli when we have multiple file parameter ? Regards, Ayushi Kasat |
Attachment | New: image-2021-06-22-18-52-29-089.png [ 55042 ] |
Attachment | New: image-2021-06-22-18-53-44-230.png [ 55043 ] |
Description |
Original:
Hi Team,
We are not able to execute Jenkins job using Jenkins-cli when we have multiple file partameter in Jenlkins job and we are getting below error - **ERROR: This command is requesting the -remoting mode which is no longer supported. See* [*https://jenkins.io/redirect/cli-command-requires-channel**] We have tried following things from our side for 2 different jenkins version i.e. 2.204.4 and 2.289.1 to trigger job remotely by cli- ||Case||Result||Command|| |job does not have any file parameter|job tireggered without any issue|java -jar jenkins-cli.jar -s jenkins_url -auth username:password build CLI_TEST -r 20 -s -v -p STRING_TEST=AYUSHI| |job have 1 file parameter |job tireggered without any issue|For both command job was triggered in first we are providing standard input to file parameter and in second we are providing file 1. java -jar jenkins-cli.jar -s jenkins_url -auth username:password build CLI_TEST -r 20 -s -v -p STRING_TEST=AYUSHI -p FILE_TEST1= <a.txt 2. java -jar jenkins-cli.jar -s jenkins_url -auth username:password build CLI_TEST -r 20 -s -v -p STRING_TEST=AYUSHI -p FILE_TEST1=a.txt| |job have 2 file parameter |*Job was not triggered* | For both command *job is not triggereing* in first we are providing standard input to file parameter and in second we are providing file 1. java -jar jenkins-cli.jar -s jenkins_url -auth username:password build CLI_TEST -r 20 -s -v -p STRING_TEST=AYUSHI -p FILE_TEST1= <a.txt -p FILE_TEST2= <b.txt 2. java -jar jenkins-cli.jar -s jenkins_url -auth username:password build CLI_TEST -r 20 -s -v -p STRING_TEST=AYUSHI -p FILE_TEST1=a.txt -p FILE_TEST2=b.txt| Can you tell us how we can solve above error of triggering job remotely by cli when we have multiple file parameter ? Regards, Ayushi Kasat |
New:
Hi Team,
We are not able to execute Jenkins job using Jenkins-cli when we have multiple file partameter in Jenlkins job and we are getting below error - **ERROR: This command is requesting the -remoting mode which is no longer supported. See* [*https://jenkins.io/redirect/cli-command-requires-channel**] We have tried following things from our side for 2 different jenkins version i.e. 2.204.4 and 2.289.1 to trigger job remotely by cli- ||Case||Result||Command|| |job does not have any file parameter|job tireggered without any issue|java -jar jenkins-cli.jar -s jenkins_url -auth username:password build CLI_TEST -r 20 -s -v -p STRING_TEST=AYUSHI| |job have 1 file parameter |job tireggered without any issue|For both command job was triggered in first we are providing standard input to file parameter and in second we are providing file 1. java -jar jenkins-cli.jar -s jenkins_url -auth username:password build CLI_TEST -r 20 -s -v -p STRING_TEST=AYUSHI -p FILE_TEST1= <a.txt 2. java -jar jenkins-cli.jar -s jenkins_url -auth username:password build CLI_TEST -r 20 -s -v -p STRING_TEST=AYUSHI -p FILE_TEST1=a.txt| |job have 2 file parameter |*Job was not triggered* | For both command *job is not triggereing* in first we are providing standard input to file parameter and in second we are providing file 1. java -jar jenkins-cli.jar -s jenkins_url -auth username:password build CLI_TEST -r 20 -s -v -p STRING_TEST=AYUSHI -p FILE_TEST1= <a.txt -p FILE_TEST2= <b.txt *(this is not working)* 2. java -jar jenkins-cli.jar -s jenkins_url -auth username:password build CLI_TEST -r 20 -s -v -p STRING_TEST=AYUSHI -p FILE_TEST1=a.txt -p FILE_TEST2=b.txt #2 give error please screenshot for reference !image-2021-06-22-18-53-44-230.png|width=814,height=40! | Can you tell us how we can solve error of triggering job remotely by cli when we have multiple file parameter ? Regards, Ayushi Kasat |
Description |
Original:
Hi Team,
We are not able to execute Jenkins job using Jenkins-cli when we have multiple file partameter in Jenlkins job and we are getting below error - **ERROR: This command is requesting the -remoting mode which is no longer supported. See* [*https://jenkins.io/redirect/cli-command-requires-channel**] We have tried following things from our side for 2 different jenkins version i.e. 2.204.4 and 2.289.1 to trigger job remotely by cli- ||Case||Result||Command|| |job does not have any file parameter|job tireggered without any issue|java -jar jenkins-cli.jar -s jenkins_url -auth username:password build CLI_TEST -r 20 -s -v -p STRING_TEST=AYUSHI| |job have 1 file parameter |job tireggered without any issue|For both command job was triggered in first we are providing standard input to file parameter and in second we are providing file 1. java -jar jenkins-cli.jar -s jenkins_url -auth username:password build CLI_TEST -r 20 -s -v -p STRING_TEST=AYUSHI -p FILE_TEST1= <a.txt 2. java -jar jenkins-cli.jar -s jenkins_url -auth username:password build CLI_TEST -r 20 -s -v -p STRING_TEST=AYUSHI -p FILE_TEST1=a.txt| |job have 2 file parameter |*Job was not triggered* | For both command *job is not triggereing* in first we are providing standard input to file parameter and in second we are providing file 1. java -jar jenkins-cli.jar -s jenkins_url -auth username:password build CLI_TEST -r 20 -s -v -p STRING_TEST=AYUSHI -p FILE_TEST1= <a.txt -p FILE_TEST2= <b.txt *(this is not working)* 2. java -jar jenkins-cli.jar -s jenkins_url -auth username:password build CLI_TEST -r 20 -s -v -p STRING_TEST=AYUSHI -p FILE_TEST1=a.txt -p FILE_TEST2=b.txt #2 give error please screenshot for reference !image-2021-06-22-18-53-44-230.png|width=814,height=40! | Can you tell us how we can solve error of triggering job remotely by cli when we have multiple file parameter ? Regards, Ayushi Kasat |
New:
Hi Team,
We are not able to execute Jenkins job using Jenkins-cli when we have multiple file partameter in Jenlkins job and we are getting below error - **ERROR: This command is requesting the -remoting mode which is no longer supported. See* [*https://jenkins.io/redirect/cli-command-requires-channel**] We have tried following things from our side for 2 different jenkins version i.e. 2.204.4 and 2.289.1 to trigger job remotely by cli- ||Case||Result||Command|| |job does not have any file parameter|job tireggered without any issue|java -jar jenkins-cli.jar -s jenkins_url -auth username:password build CLI_TEST -r 20 -s -v -p STRING_TEST=AYUSHI| |job have 1 file parameter |job tireggered without any issue|For both command job was triggered in first we are providing standard input to file parameter and in second we are providing file 1. java -jar jenkins-cli.jar -s jenkins_url -auth username:password build CLI_TEST -r 20 -s -v -p STRING_TEST=AYUSHI -p FILE_TEST1= <a.txt 2. java -jar jenkins-cli.jar -s jenkins_url -auth username:password build CLI_TEST -r 20 -s -v -p STRING_TEST=AYUSHI -p FILE_TEST1=a.txt| |job have 2 file parameter |*Job was not triggered* | For both command *job is not triggereing* in first we are providing standard input to file parameter and in second we are providing file 1. java -jar jenkins-cli.jar -s jenkins_url -auth username:password build CLI_TEST -r 20 -s -v -p STRING_TEST=AYUSHI -p FILE_TEST1= <a.txt -p FILE_TEST2= <b.txt *(this is not working)* 2. java -jar jenkins-cli.jar -s jenkins_url -auth username:password build CLI_TEST -r 20 -s -v -p STRING_TEST=AYUSHI -p FILE_TEST1=a.txt -p FILE_TEST2=b.txt #2 give error please attached screenshot for reference | Can you tell us how we can solve error of triggering job remotely by cli when we have multiple file parameter ? Regards, Ayushi Kasat |
Description |
Original:
Hi Team,
We are not able to execute Jenkins job using Jenkins-cli when we have multiple file partameter in Jenlkins job and we are getting below error - **ERROR: This command is requesting the -remoting mode which is no longer supported. See* [*https://jenkins.io/redirect/cli-command-requires-channel**] We have tried following things from our side for 2 different jenkins version i.e. 2.204.4 and 2.289.1 to trigger job remotely by cli- ||Case||Result||Command|| |job does not have any file parameter|job tireggered without any issue|java -jar jenkins-cli.jar -s jenkins_url -auth username:password build CLI_TEST -r 20 -s -v -p STRING_TEST=AYUSHI| |job have 1 file parameter |job tireggered without any issue|For both command job was triggered in first we are providing standard input to file parameter and in second we are providing file 1. java -jar jenkins-cli.jar -s jenkins_url -auth username:password build CLI_TEST -r 20 -s -v -p STRING_TEST=AYUSHI -p FILE_TEST1= <a.txt 2. java -jar jenkins-cli.jar -s jenkins_url -auth username:password build CLI_TEST -r 20 -s -v -p STRING_TEST=AYUSHI -p FILE_TEST1=a.txt| |job have 2 file parameter |*Job was not triggered* | For both command *job is not triggereing* in first we are providing standard input to file parameter and in second we are providing file 1. java -jar jenkins-cli.jar -s jenkins_url -auth username:password build CLI_TEST -r 20 -s -v -p STRING_TEST=AYUSHI -p FILE_TEST1= <a.txt -p FILE_TEST2= <b.txt *(this is not working)* 2. java -jar jenkins-cli.jar -s jenkins_url -auth username:password build CLI_TEST -r 20 -s -v -p STRING_TEST=AYUSHI -p FILE_TEST1=a.txt -p FILE_TEST2=b.txt #2 give error please attached screenshot for reference | Can you tell us how we can solve error of triggering job remotely by cli when we have multiple file parameter ? Regards, Ayushi Kasat |
New:
Hi Team,
We are not able to execute Jenkins job using Jenkins-cli when we have multiple file partameter in Jenlkins job and we are getting below error - **ERROR: This command is requesting the -remoting mode which is no longer supported. See* [*https://jenkins.io/redirect/cli-command-requires-channel**] We have tried following things from our side for 2 different jenkins version i.e. 2.204.4 and 2.289.1 to trigger job remotely by cli- ||Case||Result||Command|| |job does not have any file parameter|job tireggered without any issue|java -jar jenkins-cli.jar -s jenkins_url -auth username:password build CLI_TEST -r 20 -s -v -p STRING_TEST=AYUSHI| |job have 1 file parameter |job tireggered without any issue only for #1 command |For both command job was triggered in first we are providing standard input to file parameter and in second we are providing file 1. java -jar jenkins-cli.jar -s jenkins_url -auth username:password build CLI_TEST -r 20 -s -v -p STRING_TEST=AYUSHI -p FILE_TEST1= <a.txt 2. java -jar jenkins-cli.jar -s jenkins_url -auth username:password build CLI_TEST -r 20 -s -v -p STRING_TEST=AYUSHI -p FILE_TEST1=a.txt #2 give error please attached screenshot for reference | |job have 2 file parameter |*Job was not triggered* | For both command *job is not triggereing* in first we are providing standard input to file parameter and in second we are providing file 1. java -jar jenkins-cli.jar -s jenkins_url -auth username:password build CLI_TEST -r 20 -s -v -p STRING_TEST=AYUSHI -p FILE_TEST1= <a.txt -p FILE_TEST2= <b.txt *(this is not working)* 2. java -jar jenkins-cli.jar -s jenkins_url -auth username:password build CLI_TEST -r 20 -s -v -p STRING_TEST=AYUSHI -p FILE_TEST1=a.txt -p FILE_TEST2=b.txt #2 give error please attached screenshot for reference | Can you tell us how we can solve error of triggering job remotely by cli when we have multiple file parameter ? Regards, Ayushi Kasat |