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

Possibility to skip a deployment task during a build by specifying what task to disable with a build parameter

    XMLWordPrintable

Details

    Description

      ....CUT
      One thing missing IMHO is the option activate/inactive a task in the tasklist from an environment parameter.
      For example,That wold be handy if earlier in the deploy/build process choose different artifacts according to which environment my parameterized build will be deployed to.
      And theres other use cases too.
      Any possibilty of seeing such a feature?

      ---CUT

      What you want is the possibility to skip a deployment task during a build by specifying what task to disable with a build parameter. It's been a while I worked on the plugin. So I don't know when the next release will be out. You can add a JIRA ticket for this enhancement. Don't forget to set 'weblogic-deployer' in the component field.

      Regards,

      Attachments

        Activity

          We can imagine that if an env/parametrized variable naming DEPLOY_<task_name>_SKIP is found the following deployment task won't be triggered . <task_anme> corresponding to the value of the task Name field

          raphc Raphael CHAUMIER added a comment - We can imagine that if an env/parametrized variable naming DEPLOY_<task_name>_SKIP is found the following deployment task won't be triggered . <task_anme> corresponding to the value of the task Name field
          raphc Raphael CHAUMIER added a comment - - edited

          This new feature has been added to the 2.12 plugin version.

          For further information. Look at the chapter 'Disabling deployment task at runtime' on the wiki page

          raphc Raphael CHAUMIER added a comment - - edited This new feature has been added to the 2.12 plugin version. For further information. Look at the chapter 'Disabling deployment task at runtime' on the wiki page

          2.12

          raphc Raphael CHAUMIER added a comment - 2.12

          People

            raphc Raphael CHAUMIER
            morpa Josef Andersson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: