Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jenkins
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Jira
Jira
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ym
jenkins
Commits
e9dc4ce9
Commit
e9dc4ce9
authored
Nov 21, 2019
by
YM-RD-AP01\ymadmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
20180082: Job [Deploy_Hi365_Android_SIT] configuration updated
Change performed by ³¯¾_¶§
parent
3bc04cd1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
13 deletions
+9
-13
jobs/Deploy_Hi365_Android_SIT/config.xml
jobs/Deploy_Hi365_Android_SIT/config.xml
+9
-13
No files found.
jobs/Deploy_Hi365_Android_SIT/config.xml
View file @
e9dc4ce9
...
...
@@ -15,14 +15,6 @@
<permission>
hudson.model.Item.Read:longmengua
</permission>
<permission>
hudson.model.Item.Workspace:longmengua
</permission>
</hudson.security.AuthorizationMatrixProperty>
<jenkins.model.BuildDiscarderProperty>
<strategy
class=
"hudson.tasks.LogRotator"
>
<daysToKeep>
-1
</daysToKeep>
<numToKeep>
5
</numToKeep>
<artifactDaysToKeep>
-1
</artifactDaysToKeep>
<artifactNumToKeep>
-1
</artifactNumToKeep>
</strategy>
</jenkins.model.BuildDiscarderProperty>
<com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty
plugin=
"gitlab-plugin@1.5.13"
>
<gitLabConnection>
ylhealth
</gitLabConnection>
</com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty>
...
...
@@ -36,6 +28,14 @@
</hudson.model.StringParameterDefinition>
</parameterDefinitions>
</hudson.model.ParametersDefinitionProperty>
<jenkins.model.BuildDiscarderProperty>
<strategy
class=
"hudson.tasks.LogRotator"
>
<daysToKeep>
-1
</daysToKeep>
<numToKeep>
5
</numToKeep>
<artifactDaysToKeep>
-1
</artifactDaysToKeep>
<artifactNumToKeep>
-1
</artifactNumToKeep>
</strategy>
</jenkins.model.BuildDiscarderProperty>
</properties>
<scm
class=
"hudson.plugins.git.GitSCM"
plugin=
"git@4.0.0"
>
<configVersion>
2
</configVersion>
...
...
@@ -73,10 +73,6 @@ git_short_hash=$(git rev-parse --short HEAD)
version_number=$Version_Number
# determine build type
build_type=
"
debug
"
default_doc=
"
main_sit.dart
"
output_path=
"
${project_path}/build/app/outputs/apk/${build_type}
"
new_apk_name=
"
Hi365_SIT_${current_date}_${version_number}_${git_short_hash}.apk
"
...
...
@@ -84,7 +80,7 @@ new_apk_name="Hi365_SIT_${current_date}_${version_number}_${git_short_hash}
apk_path=
"
${output_path}/${new_apk_name}
"
# build command
flutter build apk --
${build_type} -t lib/${default_doc}
flutter build apk --
debug -t lib/main_sit.dart
# rename apk name
mv ${output_path}/app-${build_type}.apk ${apk_path}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment