Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-72534

Use variable in Stream Codeline

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • p4-plugin
    • None
    • Jenkins 2.437
      P4 1.14.2

      I have a project with multiple streams and each stream has multiple jobs. I tried the multi-branch pipeline but was not too fond of the hierarchy. I had to navigate into multiple folders to know if all the jobs were green. Also, the configuration must be done in the jenkinsfile, I had an issue where the job crashed before the polling, thus the next job was never triggered.

      The second approach was to use folders and pipelines to create the hierarchy I liked. It worked well for the 1st stream. I duplicated the jobs for the second stream and I needed to change the "Stream Codeline" on each job.

      My solution was to add a property to the stream folder and reference it in the "Stream Codeline", but it is not currently possible. I would have to change the stream only once instead of once per job.

      Is it possible to have this feature?

            Unassigned Unassigned
            odussault Olivier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: