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

Add option to pass parameters/environment values from multibranch to triggered jobs

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      We have one or more multibranch pipelines which uses declarative jenkinsfile to build, puch & deploy docker images.

      Our wish is to do some garbage collection and delete these images and deployments when a branch/pipeline is deleted.

      Depending on our branching strategy we decide if a deployment takes place and we sanitise tags to comply with docker and kubernetes naming schemes.

      Because of this we assign dynamic values to the build context's environment variables/parameters and wish to pass these values to the triggered job for cleanup.

        Attachments

          Activity

          Hide
          aytuncbeken Aytunc BEKEN added a comment - - edited

          I thought about this, However, the way that I implemented triggering jobs do not make it possible to parse Jenkins file of multibranch job. Sorry for the inconvenience.

          Show
          aytuncbeken Aytunc BEKEN added a comment - - edited I thought about this, However, the way that I implemented triggering jobs do not make it possible to parse Jenkins file of multibranch job. Sorry for the inconvenience.

            People

            Assignee:
            aytuncbeken Aytunc BEKEN
            Reporter:
            pbx_g33k Oguzhan Uysal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: