Uploaded image for project: 'Build'
  1. Build
  2. BUILD-737

Find out how to trigger custom actions

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Neutral
    • None
    • None
    • None
    • None

    Description

      With the former, homemade dependency bot, it was possible after a PR with a suggested update was created, to trigger for instance the following Jenkins job for validation purposes: https://git.magnolia-cms.com/projects/ARCHIVE/repos/dep-bot-validate-pr-job/browse

      Using postUpgradeTasks and maybe a curl call (to trigger custom Java code in release-webapp?) experiment with restoring the ability to trigger custom tasks.

      Draft impl

      1. renovate runs
      2. triggers a custom action (bash script): curl }}{{https://magnolia-mgmt.aws.eu-central1.com/endpoints/trigger-validation
      3. some magnolia-mgmt command triggers (simply calls a method in JenkinsService, for instance runCveScan())
      4. jenkins job triggers, and automatically adds build status to the PR

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                roberto.gomez Roberto Gomez
                mmichel Maxime Michel
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoR