Skip to content

Add in-product prompt for CI adoption if jenkins detected

Ross Byrne requested to merge 423489-prompt-for-ci-adoption-jenkeins into master

What does this MR do and why?

Resolves #423489 (closed).

Add in-product prompt for CI adoption if jenkins detected.

Screenshots or screen recordings

When Jenkinsfile is Present

Before After
Screenshot_2023-11-16_at_16.46.46 Screenshot_2023-11-16_at_11.01.07

When Jenkinsfile is Not Present

Before After
Screenshot_2023-11-16_at_16.46.46 Screenshot_2023-11-16_at_11.00.16

When AutoDevops is Enabled

Before After
Screenshot_2023-11-16_at_11.08.44 Screenshot_2023-11-16_at_11.08.44

Mobile Size

Before After
Screenshot_2023-11-16_at_16.40.54 Screenshot_2023-11-16_at_16.37.34

How to set up and validate locally

  1. Create a Project
  2. Make sure AutoDevops is not enabled, see: http://gdk.test:3000/<group>/<project>/-/settings/ci_cd
  3. Navigate to http://gdk.test:3000/<group>/<project>/-/pipelines
  4. Confirm Jenkins Migration Prompt is not there
  5. Create a file called Jenkinsfile in the root of the repository
  6. Navigate back to http://gdk.test:3000/<group>/<project>/-/pipelines
  7. Confirm Prompt is present

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #423489 (closed)

Edited by Ross Byrne

Merge request reports