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

Workflow plugin unable to save perforce paramters

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: p4-plugin
    • Labels:
    • Environment:
      windows 7, workflow-plugin 1.9, p4 Plugin 1.2.5., Perforce Plugin 1.3.35
    • Similar Issues:

      Description

      Perforce parameters aren't persisted across saves of a job using the using the workflow plugin. See attached screen shots for the steps to add perforce settings.

      1. Select the perforce for SCM. attachment 1
      2. Configure perforce. attachement 2
      3. Save the job.
      4. Look at the saved values. attachement 3

      The perforce settings are lost and only Git is visible for selection.

        Attachments

          Issue Links

            Activity

            Hide
            rg Russell Gallop added a comment -

            Built from bebc56d8b560728b07edeb3572ccd172c831c5ba and that works for me.

            It also seems that the snippet generator can now generate a checkout step for p4 (which is good). Is that an expected effect of this change?

            Show
            rg Russell Gallop added a comment - Built from bebc56d8b560728b07edeb3572ccd172c831c5ba and that works for me. It also seems that the snippet generator can now generate a checkout step for p4 (which is good). Is that an expected effect of this change?
            Hide
            allan_burdajewicz Allan BURDAJEWICZ added a comment -

            Russell Gallop It is indeed an expected effect of this change. It needed to be made applicable for Job (see GenericSCMStep)

            Show
            allan_burdajewicz Allan BURDAJEWICZ added a comment - Russell Gallop It is indeed an expected effect of this change. It needed to be made applicable for Job (see GenericSCMStep )
            Hide
            rg Russell Gallop added a comment -

            Thanks.

            Would it be possible to cut a release with this fix in? I think that this justifies it, particularly as the pipeline plugin fix (JENKINS-28756) could stop people creating pipelines jobs from p4 SCM altogether.

            Show
            rg Russell Gallop added a comment - Thanks. Would it be possible to cut a release with this fix in? I think that this justifies it, particularly as the pipeline plugin fix ( JENKINS-28756 ) could stop people creating pipelines jobs from p4 SCM altogether.
            Hide
            p4paul Paul Allen added a comment -

            Sure, I'll try and get that out for early next week.

            Show
            p4paul Paul Allen added a comment - Sure, I'll try and get that out for early next week.
            Hide
            p4paul Paul Allen added a comment -

            Released.

            Show
            p4paul Paul Allen added a comment - Released.

              People

              Assignee:
              p4paul Paul Allen
              Reporter:
              csr_jenkins steve Childerley
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: