• Not defined

      As per infra's Jenkins best practices, we should support dry-run mode for all of our Jenkins jobs. This allows us to test changes in test environments easily. By default, dry-run should be enabled in Jenkins staging.

      ATs:

      • All Optimize Jenkins pipelines support dry-run mode

        This is the controller panel for Smart Panels app

            [OPT-5560] Support dry-run mode for all pipelines

            Leonhardt Wille added a comment - - edited

            I'd suggest to make the default value of the DRY_RUN parameter environment-dependent, e.g.

            parameters {
              booleanParam('DRY_RUN', (binding.variables.get("ENVIRONMENT") != "prod"), 'Enable dry-run mode.')
            }
            

            background: The ENVIRONMENT variable is available to all Jenkins instances operated by the Infra team.

            Leonhardt Wille added a comment - - edited I'd suggest to make the default value of the DRY_RUN parameter environment-dependent, e.g. parameters { booleanParam( 'DRY_RUN' , (binding.variables.get( "ENVIRONMENT" ) != "prod" ), 'Enable dry-run mode.' ) } background: The ENVIRONMENT variable is available to all Jenkins instances operated by the Infra team.

              Unassigned Unassigned
              joshua.windels Joshua Windels
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: