Uploaded image for project: 'Jenkins Artifactory Plug-in'
  1. Jenkins Artifactory Plug-in
  2. HAP-1354

How to modify the build info in declarative pipeline

    XMLWordPrintable

    Details

    • Type: Support Ticket
    • Status: Resolved
    • Priority: 4 - Normal
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 3.0.0
    • Component/s: Common
    • Labels:
      None

      Description

      Hi,

      I'm running a build that uses a Python script to download Conan packages. Unfortunately I can't use the Conan client (in scripted Pipeline) as the build needs to run without Jenkins too.

      Is there a way to modify the build info in declarative Pipeline syntax to add these build dependencies? The Python script is under my control, so it may generate a dependency file or something similiar that may be handed over to the build info.

      However, I'm missing the following information:

      • How to manipulate the build info using declarative pipeline (or maybe afterwards via REST API which would be a workaround for me)?
      • Is there a solution how third-party applications (like my Python script) may provide information that can be passed to the build info?

      Many thanks for clarification.

        Attachments

          Activity

            People

            Assignee:
            eyalb Eyal Ben Moshe
            Reporter:
            gpxricky Kevin Wiedener
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: