First, the app release process
Compile, package, and complete the app on 1,jenkins
Application published on 2,workflow
3, verify the host correctness after approval, workflow automatic completion of the release
4, an error occurred during the publishing process, the error message is viewed in workflow to decide whether to republish or rollback after the change
Second, the app release case demonstration
Compile, package, and complete the app on 1,jenkins
Sign in to Jenkins Link: http://jenkins.cheyaoshicorp.com/
To find the target app, take AppapiservicE For example, click appapiservice
650) this.width=650; "class=" Confluence-embedded-image "title=" Research Center > App Release Process > Image2016-4-7 13:14:34.png "width = "Src=" http://wiki.cheyaoshicorp.com/download/attachments/9732473/image2016-4-7%2013%3A14%3A34.png?version =1&modificationdate=1460006074000&api=v2 "alt=" Image2016-4-7%2013%3a14%3a34.png?version "/>
Click "Build with Parameters" in the left menu bar
650) this.width=650; "class=" Confluence-embedded-image "title=" Research Center > App Release Process > Image2016-4-7 13:16:19.png "width = "Src=" http://wiki.cheyaoshicorp.com/download/attachments/9732473/image2016-4-7%2013%3A16%3A19.png?version =1&modificationdate=1460006180000&api=v2 "alt=" Image2016-4-7%2013%3a16%3a19.png?version "/>
Selecting an environment in the Branch column (also used as a parameter for dynamic packaging), the environment is divided into master (production environment), UAT (uat Environment), Dev (development environment)
Then select the corresponding tag and click " start building " when you are done. This completes the operation of compiling, packaging, and uploading the app to the CMDB server.
650) this.width=650; "class=" Confluence-embedded-image "title=" Research Center > App Release Process > Image2016-4-7 13:24:4.png "width= "Src=" Http://wiki.cheyaoshicorp.com/download/attachments/9732473/image2016-4-7%2013%3A24%3A4.png?version=1 &modificationdate=1460006645000&api=v2 "alt=" image2016-4-7%2013%3a24%3a4.png?version= "/>
2, Workflow submit application release request
Login workflow, Link: http://workflow.cheyaoshicorp.com/
In the function menu on the left, select Initiate request
650) this.width=650; "class=" Confluence-embedded-image "title=" Research Center > App Release Process > Image2016-4-7 13:33:0.png "width= "Src=" Http://wiki.cheyaoshicorp.com/download/attachments/9732473/image2016-4-7%2013%3A33%3A0.png?version=1 &modificationdate=1460007180000&api=v2 "alt=" image2016-4-7%2013%3a33%3a0.png?version= "/>
Click the app app release
650) this.width=650; "class=" Confluence-embedded-image "title=" Research Center > App Release Process > Image2016-4-7 13:34:22.png "width = "Src=" http://wiki.cheyaoshicorp.com/download/attachments/9732473/image2016-4-7%2013%3A34%3A22.png?version =1&modificationdate=1460007262000&api=v2 "alt=" Image2016-4-7%2013%3a34%3a22.png?version "/>
Select the app name and environment in the new page;
The environment is divided into dev (development environment), UAT (UAT Environment), PRO (production environment).
650) this.width=650; "class=" Confluence-embedded-image "title=" Research Center > App Release Process > Image2016-4-7 14:11:48.png "width = "Src=" http://wiki.cheyaoshicorp.com/download/attachments/9732473/image2016-4-7%2014%3A11%3A48.png?version =1&modificationdate=1460009509000&api=v2 "alt=" Image2016-4-7%2014%3a11%3a48.png?version "/>
650) this.width=650; "class=" Confluence-embedded-image "title=" Research Center > App Release Process > Image2016-4-7 14:12:13.png "width = "Src=" http://wiki.cheyaoshicorp.com/download/attachments/9732473/image2016-4-7%2014%3A12%3A13.png?version =1&modificationdate=1460009533000&api=v2 "alt=" Image2016-4-7%2014%3a12%3a13.png?version "/>
3, verify that the host is correct, and complete the application and approval
After selecting a good app name and environment, the system will automatically list the eligible server IP, we check the target server by checking the box in front of the IP address, please do not select the wrong server
In the release version of this column to fill in the correct version information, the version of the naming method is Appname_tag(the tag here is Jenkins tag), for example, I filled out here is appapiservice_dev_ 201603271810
After filling out, submit your application and then approve it on workflow
650) this.width=650; "class=" Confluence-embedded-image "title=" Research Center > App Release Process > Image2016-4-7 13:49:14.png "width = "Src=" http://wiki.cheyaoshicorp.com/download/attachments/9732473/image2016-4-7%2013%3A49%3A14.png?version =1&modificationdate=1460008154000&api=v2 "alt=" Image2016-4-7%2013%3a49%3a14.png?version "/>
4. Confirm that the publication is successful
Log in to the workflow, confirm the status of the request, and the status is completed to indicate that the publication was successful. If the publication fails, you can click on the task to view the error message, and then according to the error information to decide whether to modify the re-issued release or fallback version.
650) this.width=650; "class=" Confluence-embedded-image "title=" Research Center > App Release Process > Image2016-4-7 13:58:21.png "width = "Src=" http://wiki.cheyaoshicorp.com/download/attachments/9732473/image2016-4-7%2013%3A58%3A21.png?version =1&modificationdate=1460008701000&api=v2 "alt=" Image2016-4-7%2013%3a58%3a21.png?version "/>
This article is from the "Zengestudy" blog, make sure to keep this source http://zengestudy.blog.51cto.com/1702365/1844752
App Publishing Process