forked from rayh/xcode-hudson-plugin
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Merge pull request #86 from lampietti/xcode9
add xcode9 new signing support [JENKINS-45509]
- Loading branch information
Showing
4 changed files
with
220 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
package au.com.rayh; | ||
|
||
import org.kohsuke.stapler.DataBoundConstructor; | ||
|
||
public class ProvisioningProfile { | ||
|
||
private static final String PLIST_FORMAT = "<key>${APP_ID}</key><string>${UUID}</string>"; | ||
|
||
private String provisioningProfileAppId; | ||
private String provisioningProfileUUID; | ||
|
||
public ProvisioningProfile() { | ||
} | ||
|
||
@DataBoundConstructor | ||
public ProvisioningProfile(String provisioningProfileAppId, String provisioningProfileUUID) { | ||
this.provisioningProfileAppId = provisioningProfileAppId; | ||
this.provisioningProfileUUID = provisioningProfileUUID; | ||
} | ||
|
||
public String getProvisioningProfileAppId() { | ||
return provisioningProfileAppId; | ||
} | ||
|
||
public void setProvisioningProfileAppId(String provisioningProfileAppId) { | ||
this.provisioningProfileAppId = provisioningProfileAppId; | ||
} | ||
|
||
public String getProvisioningProfileUUID() { | ||
return provisioningProfileUUID; | ||
} | ||
|
||
public void setProvisioningProfileUUID(String provisioningProfileUUID) { | ||
this.provisioningProfileUUID = provisioningProfileUUID; | ||
} | ||
|
||
public String toPlist() { | ||
return PLIST_FORMAT.replace("${APP_ID}", provisioningProfileAppId) | ||
.replace("${UUID}", provisioningProfileUUID); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.