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

Add support for XCode Plugin's import developer profile feature

      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.

          [JENKINS-32969] Add support for XCode Plugin's import developer profile feature

          Patrick Cadelina created issue -
          Patrick Cadelina made changes -
          Description Original: Plugin: https://wiki.jenkins-ci.org/display/JENKINS/Xcode+Plugin

          {code:title=StepContext.groovy|borderStyle=solid}
          steps {
              xcodeDeveloperProfile {
                  profile('foo')
              }
          }
          {code}

          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. There's an existing [pull request|https://github.com/jenkinsci/job-dsl-plugin/pull/545] that should cover this however it is blocked pending agreement about credentials. I believe the import developer profile feature should pass through.
          New: Plugin: https://wiki.jenkins-ci.org/display/JENKINS/Xcode+Plugin

          {code:title=StepContext.groovy|borderStyle=solid}
          steps {
              xcodeDeveloperProfile {
                  profile('foo')
              }
          }
          {code}

          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. There's an existing [pull request|https://github.com/jenkinsci/job-dsl-plugin/pull/545] that should cover this. However it is blocked pending agreement about credentials. I believe the import developer profile feature should pass through.
          Patrick Cadelina made changes -
          Summary Original: Add support for XCode Plugin New: Add support for XCode Plugin's import developer profile feature
          Patrick Cadelina made changes -
          Description Original: Plugin: https://wiki.jenkins-ci.org/display/JENKINS/Xcode+Plugin

          {code:title=StepContext.groovy|borderStyle=solid}
          steps {
              xcodeDeveloperProfile {
                  profile('foo')
              }
          }
          {code}

          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. There's an existing [pull request|https://github.com/jenkinsci/job-dsl-plugin/pull/545] that should cover this. However it is blocked pending agreement about credentials. I believe the import developer profile feature should pass through.
          New: Plugin: https://wiki.jenkins-ci.org/display/JENKINS/Xcode+Plugin

          {code:title=StepContext.groovy|borderStyle=solid}
          steps {
              xcodeDeveloperProfile {
                  profile('foo')
              }
          }
          {code}

          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|https://github.com/jenkinsci/job-dsl-plugin/pull/545] that should cover this. However it is blocked pending agreement about credentials. I believe the import developer profile feature should pass through.

          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.

          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.

          Ack, here's the ticket JENKINS-32987

          Patrick Cadelina added a comment - Ack, here's the ticket JENKINS-32987

          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')
              }
            }
          }
          

          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' ) } } }
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 168692 ] New: JNJira + In-Review [ 183233 ]

          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')
              }
            }
          }
          

          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' ) } } }
          Daniel Spilker made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

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

              Created:
              Updated:
              Resolved: