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

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

    • 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") }

      }
      }
      }

      }

          [JENKINS-50409] Flexible Publish Plugin does not list 'Execute Shell' as an 'Action'

          Eric Wallengren created issue -
          ikedam made changes -
          Component/s New: job-dsl-plugin [ 16720 ]
          Component/s Original: flexible-publish-plugin [ 16130 ]
          Assignee Original: bap [ bap ] New: Daniel Spilker [ daspilker ]
          Jamie Tanna made changes -
          Assignee Original: Daniel Spilker [ daspilker ] New: Jamie Tanna [ jamietanna ]

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

              Created:
              Updated: