I have a simple Pipeline defined named pirateship.
I am able to build with the CLI:
➜ ~ ssh -p 22222 -l admin localhost build -s pirateship Started pirateship #12 Completed pirateship #12 : SUCCESS ➜ ~
Using the console command does not work however:
➜ ~ ssh -p 22222 -l admin localhost console pirateship ERROR: No such job 'pirateship'; perhaps you meant 'build-all-software'? ➜ ~
jglick suggested that the fix may be similar to the fix for JENKINS-28071
- relates to
-
JENKINS-28071 BuildCommand limited to AbstractProject
-
- Resolved
-
- links to
[JENKINS-41527] "console" CLI command does not work with Pipeline projects
Link |
New:
This issue relates to |
Component/s | Original: pipeline [ 21692 ] |
Labels | Original: pipeline | New: cli pipeline |
Assignee | Original: CloudBees Inc. [ cloudbees ] | New: Jesse Glick [ jglick ] |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Remote Link | New: This issue links to "PR 2874 (Web Link)" [ 16403 ] |
Remote Link | New: This issue links to "workflow-job PR 49 (Web Link)" [ 16404 ] |
Status | Original: In Progress [ 3 ] | New: In Review [ 10005 ] |
https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/hudson/cli/ConsoleCommand.java#L33