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

Add support for XCode Plugin's import developer profile feature

    Details

    • Similar Issues:

      Description

      Plugin: https://wiki.jenkins-ci.org/display/JENKINS/Xcode+Plugin

      StepContext.groovy
      steps {
          xcodeDeveloperProfile {
              profile('foo')
          }
      }
      

      After job-dsl-plugin v1.43 release, deprecated method JobManagement.getCredentialsId(String description) has been removed. This causes XCode jobs to fail without support for XCode Plugin's import developer profile since there is no way to reference this credential. There's an existing pull request that should cover this. However it is blocked pending agreement about credentials. I believe the import developer profile feature should pass through.

        Attachments

          Activity

          Hide
          daspilker Daniel Spilker added a comment -

          The XCode plugin's credentials do not allow to specify an ID, so users have to use the UUID.

          steps {
              xcodeDeveloperProfile {
                  profile('cc2d3304-2edf-440c-bec2-3d96df431ec1')
              }
          }
          

          Can you file a feature request for the XCode plugin to add support for custom IDs for credentials? The Credentials plugin supports this for more than a year.

          Show
          daspilker Daniel Spilker added a comment - The XCode plugin's credentials do not allow to specify an ID, so users have to use the UUID. steps { xcodeDeveloperProfile { profile( 'cc2d3304-2edf-440c-bec2-3d96df431ec1' ) } } Can you file a feature request for the XCode plugin to add support for custom IDs for credentials? The Credentials plugin supports this for more than a year.
          Hide
          patcadelina Patrick Cadelina added a comment -

          Ack, here's the ticket JENKINS-32987

          Show
          patcadelina Patrick Cadelina added a comment - Ack, here's the ticket JENKINS-32987
          Hide
          daspilker Daniel Spilker added a comment -

          The upcoming generic DSL (https://github.com/jenkinsci/job-dsl-plugin/pull/816) will enable support for the XCode plugin:

          job('example') {
            steps {
              developerProfileLoader {
                profileId('5445afdd-d9ff-406e-92ad-0b4302edcaf6')
              }
            }
          }
          
          Show
          daspilker Daniel Spilker added a comment - The upcoming generic DSL ( https://github.com/jenkinsci/job-dsl-plugin/pull/816 ) will enable support for the XCode plugin: job( 'example' ) { steps { developerProfileLoader { profileId( '5445afdd-d9ff-406e-92ad-0b4302edcaf6' ) } } }
          Hide
          daspilker Daniel Spilker added a comment -

          With XCode plugin 1.4.11 it's possible to set a custom ID. The Automatically Generated DSL enables this syntax:

          job('example') {
            steps {
              developerProfileLoader {
                profileId('foo')
              }
            }
          }
          
          Show
          daspilker Daniel Spilker added a comment - With XCode plugin 1.4.11 it's possible to set a custom ID. The Automatically Generated DSL enables this syntax: job( 'example' ) { steps { developerProfileLoader { profileId( 'foo' ) } } }

            People

            • Assignee:
              daspilker Daniel Spilker
              Reporter:
              patcadelina Patrick Cadelina
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: