Search⌘ K
AI Features

Exploring Additional Slash Commands

Explore how to expand your use of slash commands in Jenkins X to manage pull requests efficiently. Understand commands like /hold, /lifecycle, and /meow to document actions and automate processes, enhancing collaboration and decision tracking within ChatOps environments.

We saw a few of the most commonly employed slash commands used through a typical pull request process. We’ll expand on that next by creating a new PR and experimenting with a few other commands.

Creating a PR for experimentation

Shell
git checkout master
git pull
git checkout -b my-pr

We created a new branch called my-pr.

Next, we’ll make a minor change to the source code and push it to the newly created branch. Otherwise, GitHub would not allow us to make a pull request if nothing changed.

Shell
echo "My PR" | tee README.md
git add .
git commit \
--message "My second PR with prow"
git push --set-upstream origin my-pr

We are finally ready to create a pull request.

Shell
jx create pullrequest \
--title "My PR" \
--body "What I can say?" \
--batch-mode

Please open the link from the output in your favorite ...