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

Make (Self-Promotion)condition work incorporating all the dependencies.

    • GSoC 2019. Coding Phase 1, GSoC 2019. Coding Phase 2, GSoC 2019. Coding Phase 3

      `As a first approach make the Self-Promotion Condition work incorporating all the required refactorings or make a different analogous class.

      Approach:

      • For this PromotionBadge, PromotionCondition,*a new *PromotionProcess, Promotion classes must be changed and integrated together.
      • Once this is complete we can add other methods/functions for other promotion processes subsequently.

      Expected Flow:

      Pass Promotion Description(via DSL)(a low level implementation) -> Reaches PromotionCondition -> Reaches SelfPromotion -> Assigns Badges -> Returns to PromotionProcess for final Promotion -> GetsPromotion Badge/Label -> Triggers the Promotion Job (a low level implementation).

      Acceptance Criteria:

      • This class successfully communicates with its dependent classes like PromotionProcess, JobPropertyImpl,etc.
      • Can inherit "conditions" from PromotionProcess.
      • Can run successfully with no compilation/run time errors+Unit Tests.

          [JENKINS-57816] Make (Self-Promotion)condition work incorporating all the dependencies.

          Prastik Gyawali created issue -
          Prastik Gyawali made changes -
          Epic Link New: JENKINS-57634 [ 199564 ]
          Prastik Gyawali made changes -
          Rank New: Ranked higher
          Prastik Gyawali made changes -
          Description New: As a first approach make the Self-Promotion Condition work incorporating all the required refactorings.

          Approach:
           * For this PromotionBadge,PromotionCondition,a new PromotionProcess,Promotion classes must be changed and integrated together.
           * Once this is complete we can add other methods/functions for other promotion processes subsequently.
          Prastik Gyawali made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Prastik Gyawali made changes -
          Description Original: As a first approach make the Self-Promotion Condition work incorporating all the required refactorings.

          Approach:
           * For this PromotionBadge,PromotionCondition,a new PromotionProcess,Promotion classes must be changed and integrated together.
           * Once this is complete we can add other methods/functions for other promotion processes subsequently.
          New: As a first approach make the Self-Promotion Condition work incorporating all the required refactorings.

          Approach:
           * For this *PromotionBadge,PromotionCondition,*a new *PromotionProcess, Promotion* classes must be changed and integrated together.
           * Once this is complete we can add other methods/functions for other promotion processes subsequently.

          +Expected Flow:+

          Pass Promotion Description(via DSL)(a low level implementation) -> Reaches *PromotionCondition* -> Reaches SelfPromotion -> Assigns Badges -> Returns to *PromotionProcess* for final Promotion -> GetsPromotion Badge/Label -> Triggers the Promotion Job (a low level implementation).
          Prastik Gyawali made changes -
          Status Original: In Progress [ 3 ] New: Open [ 1 ]
          Prastik Gyawali made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Prastik Gyawali made changes -
          Description Original: As a first approach make the Self-Promotion Condition work incorporating all the required refactorings.

          Approach:
           * For this *PromotionBadge,PromotionCondition,*a new *PromotionProcess, Promotion* classes must be changed and integrated together.
           * Once this is complete we can add other methods/functions for other promotion processes subsequently.

          +Expected Flow:+

          Pass Promotion Description(via DSL)(a low level implementation) -> Reaches *PromotionCondition* -> Reaches SelfPromotion -> Assigns Badges -> Returns to *PromotionProcess* for final Promotion -> GetsPromotion Badge/Label -> Triggers the Promotion Job (a low level implementation).
          New: As a first approach make the Self-Promotion Condition work incorporating all the required refactorings or make a different analogous class.

          Approach:
           * For this *PromotionBadge,PromotionCondition,*a new *PromotionProcess, Promotion* classes must be changed and integrated together.
           * Once this is complete we can add other methods/functions for other promotion processes subsequently.

          +Expected Flow:+

          Pass Promotion Description(via DSL)(a low level implementation) -> Reaches *PromotionCondition* -> Reaches SelfPromotion -> Assigns Badges -> Returns to *PromotionProcess* for final Promotion -> GetsPromotion Badge/Label -> Triggers the Promotion Job (a low level implementation).

          Acceptance Criteria:
           * This class successfully communicates with its dependent classes like PromotionProcess, JobPropertyImpl,etc.
           * Can inherit "conditions" from PromotionProcess.
           * Can run successfully with no compilation/run time errors.
          Prastik Gyawali made changes -
          Description Original: As a first approach make the Self-Promotion Condition work incorporating all the required refactorings or make a different analogous class.

          Approach:
           * For this *PromotionBadge,PromotionCondition,*a new *PromotionProcess, Promotion* classes must be changed and integrated together.
           * Once this is complete we can add other methods/functions for other promotion processes subsequently.

          +Expected Flow:+

          Pass Promotion Description(via DSL)(a low level implementation) -> Reaches *PromotionCondition* -> Reaches SelfPromotion -> Assigns Badges -> Returns to *PromotionProcess* for final Promotion -> GetsPromotion Badge/Label -> Triggers the Promotion Job (a low level implementation).

          Acceptance Criteria:
           * This class successfully communicates with its dependent classes like PromotionProcess, JobPropertyImpl,etc.
           * Can inherit "conditions" from PromotionProcess.
           * Can run successfully with no compilation/run time errors.
          New: As a first approach make the Self-Promotion Condition work incorporating all the required refactorings or make a different analogous class.

          Approach:
           * For this *PromotionBadge,PromotionCondition,*a new *PromotionProcess, Promotion* classes must be changed and integrated together.
           * Once this is complete we can add other methods/functions for other promotion processes subsequently.

          +Expected Flow:+

          Pass Promotion Description(via DSL)(a low level implementation) -> Reaches *PromotionCondition* -> Reaches SelfPromotion -> Assigns Badges -> Returns to *PromotionProcess* for final Promotion -> GetsPromotion Badge/Label -> Triggers the Promotion Job (a low level implementation).

          *Acceptance Criteria:*
           * This class successfully communicates with its dependent classes like PromotionProcess, JobPropertyImpl,etc.
           * Can inherit "conditions" from PromotionProcess.
           * Can run successfully with no compilation/run time errors+*Unit Tests.*
          Oleg Nenashev made changes -
          Sprint Original: GSoC 2019. Coding Phase 1 [ 686 ] New: GSoC 2019. Coding Phase 1, GSoC 2019. Coding Phase 2 [ 686, 691 ]

            ananyak Ananya K
            derndren161 Prastik Gyawali
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: