-
Notifications
You must be signed in to change notification settings - Fork 105
Add additional variables for Jenkins #2263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -65,7 +65,11 @@ pipeline { | |||||
|
||||||
:::note | ||||||
- Ensure that you have defined a `SEMGREP_APP_TOKEN` as a credential in Jenkins. | ||||||
- The variable SEMGREP_BASELINE_REF must be set to the main branch, in the example: `origin/master`. | ||||||
- The variable `SEMGREP_BASELINE_REF` must be set to the main branch, in the example: `origin/master`. | ||||||
- You may need to set additional variables, depending on your environment configuration, such as; | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
- `SEMGREP_REPO_NAME` -> An exact, case-sensitive match, to the repository name in Bitbucket | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
- `SEMGREP_REPO_URL` -> The web link to your repository (not the `.git` one) | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
- `SEMGREP_COMMIT` -> Specifically for PRs / diff scans, set this to the HEAD commit of the PR | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
::: | ||||||
|
||||||
## Test the new Jenkins pipeline project | ||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.