-
Notifications
You must be signed in to change notification settings - Fork 202
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support output format for list option
Direct cli user messages to standard error rather than standard out. Standard out is reserved for primary output, which in cases like `--list --output yaml` would be the yaml formatted plugin list. This separation of output is consistent with general cli guidelines, https://clig.dev/#the-basics. Fixes: #377 #284 #227
- Loading branch information
Showing
21 changed files
with
743 additions
and
332 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# From 'plugin-management-cli' dir: | ||
# build: | ||
# docker build -t jnks-plugin-tool -f src/test/docker/Dockerfile . | ||
# run: | ||
# docker run --rm -it jnks-plugin-tool | ||
# docker run --rm -it --entrypoint bash jnks-plugin-tool | ||
# | ||
FROM jenkins/jenkins:lts | ||
COPY target/jenkins-plugin-manager-*.jar /opt/jenkins-plugin-manager.jar | ||
WORKDIR $JENKINS_HOME | ||
ENTRYPOINT ["java", "-jar", "/opt/jenkins-plugin-manager.jar"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.