WARNING: Jenkins X version 2.x is unmaintained. Do not use it.
Please refer to the v3 documentation for the latest supported version.
jx step buildpack apply
list of jx commands
jx step buildpack apply
Applies the current teams build pack to the project to add any missing resources like a Jenkinsfile
Synopsis
Applies the build pack for a project to add any missing files like a Jenkinsfile
jx step buildpack apply [flags]
Examples
# applies the current build pack for the current team adding any missing files like Jenkinsfile
jx step buildpack apply
# applies the 'maven' build pack to the current project
jx step buildpack apply --pack maven
Options
-d, --dir string The directory to query to find the projects .git directory
-h, --help help for apply
--jenkinsfile string The name of the Jenkinsfile to use. If not specified then 'Jenkinsfile' will be used
--no-jenkinsfile Disable defaulting a Jenkinsfile if its missing
--pack string The name of the pack to use
Options inherited from parent commands
-b, --batch-mode Runs in batch mode without prompting for user input
--verbose Enables verbose output. The environment variable JX_LOG_LEVEL has precedence over this flag and allows setting the logging level to any value of: panic, fatal, error, warn, info, debug, trace
SEE ALSO
- jx step buildpack - buildpack [command]
Auto generated by spf13/cobra on 2-Sep-2020
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
Last modified September 2, 2020: updated jx commands & API docs from 2.1.138 (4fc0bedc90)