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

Flexible Publish Plugin does not list 'Execute Shell' as an 'Action'

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • job-dsl-plugin
    • None
    • Ubuntu 16.04.3
      Jenkins 2.107.1
      Flexible Publish Plugin 0.15.2

      When using the UI to create or edit a job, the flexible publish plugin does not list 'Execute Shell' as an action, however when creating a job using DSL, 'Execute Shell' (steps->shell) is a valid action, and the resulting output does show 'Execute Shell'.

      This DSL works:

      freeStyleJob('thisworks') {

      wrappers

      { timestamperBuildWrapper() }

      steps

      { shell("ps -ef") }

      publishers {
      flexiblePublish {
      conditionalAction {
      condition

      { alwaysRun() }

      runner('Run')
      steps

      { shell("ps -ef") }

      }
      }
      }

      }

            jamietanna Jamie Tanna
            fzbassman Eric Wallengren
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: