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

          patcadelina Patrick Cadelina created issue -
          patcadelina Patrick Cadelina made changes -
          Field Original Value New Value
          Description 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.
          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.
          patcadelina Patrick Cadelina made changes -
          Summary Add support for XCode Plugin Add support for XCode Plugin's import developer profile feature
          patcadelina Patrick Cadelina made changes -
          Description 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.
          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.
          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' ) } } }
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 168692 ] JNJira + In-Review [ 183233 ]
          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' ) } } }
          daspilker Daniel Spilker made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          daspilker Daniel Spilker made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            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: