-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JENKINS-61700] Windows upload needs required build_version parameter (…
…#50) * Add buildVersion to pipeline syntax, validation and errors * Add buildVersion to config.jelly * Forgot to add DataBoundSetter * [JENKINS-61700] Clarify level of support for Windows applications Co-authored-by: Mez Pahlan <[email protected]>
- Loading branch information
1 parent
a716606
commit 65a909f
Showing
10 changed files
with
79 additions
and
3 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
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
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
15 changes: 15 additions & 0 deletions
15
src/main/java/io/jenkins/plugins/appcenter/validator/BuildVersionValidator.java
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,15 @@ | ||
package io.jenkins.plugins.appcenter.validator; | ||
|
||
import java.util.function.Predicate; | ||
|
||
import javax.annotation.Nonnull; | ||
|
||
public final class BuildVersionValidator extends Validator { | ||
|
||
@Nonnull | ||
@Override | ||
protected Predicate<String> predicate() { | ||
return value -> !value.contains(" "); | ||
} | ||
|
||
} |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<?jelly escape-by-default='true'?> | ||
<div> | ||
Upload new versions of your Android, iOS, and MacOS applications to AppCenter. | ||
Upload new versions of your Android, iOS, MacOS, and (limited) Windows applications to AppCenter. | ||
</div> |
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
9 changes: 9 additions & 0 deletions
9
src/main/resources/io/jenkins/plugins/appcenter/AppCenterRecorder/help-buildVersion.html
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,9 @@ | ||
<div> | ||
<p> | ||
<strong>NOTE:</strong> Build version might be mandatory on certain platform releases. Supports variable substitution. | ||
</p> | ||
<hr/> | ||
<p> | ||
For example: <code>1.2.0</code> or <code>${version}</code> | ||
</p> | ||
</div> |
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