هذه الصفحة غير متوفرة حاليًا بلغتك المحلية. نحن نعمل جاهدين على إضافة المزيد من اللغات. شاكرين تفهمك ودعمك المستمر لنا.

Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive

Building an Application Component

Updated on 2023-06-25 GMT+08:00

Before deploying ServiceStage, you need to build the software package into an image or build the source code into a software package. Therefore, after you set the application source when creating an application component, ServiceStage generates a build job for the application component.

NOTE:

Components whose runtime system is Docker cannot be built.

Viewing Application Component Building

  1. Log in to ServiceStage, choose Application Management > Application List, and click an application to go to the Overview page.
  2. On the Component List tab, click a component to go to the Overview page.
  3. Click the Build Job tab to view the status of the application component build job.

Maintaining a Build Job

Table 1 Maintenance

Operation

Operation Description

Edit

Click Edit to go to the build job configuration page. For details, see Editing a Package Build Job or Editing a Source Code Job.

Build Now

Click Build Now to start a build job.

Query details/build history

  • Click View Other Build Records and view the build history.
  • Click Logs to view the build log.
  • Click Code Check to view the code check overview and details.
    Currently, the following code check plug-ins are supported: Checkstyle, FindBugs, and PMD.
    NOTE:

    Only the Maven build project supports code check.

Editing a Package Build Job

  1. Log in to ServiceStage, choose Application Management > Application List, and click an application to go to the Overview page.
  2. On the Component List tab, click a component to go to the Overview page.
  3. Click the Build Job tab and click Edit. The build job configuration page is displayed.
  4. (Optional) Set Description.
  5. Set Build Type.

    • System default
      1. Select the language of the basic image, which must be the same as that of the software package.
      2. Set Basic Image Tag.

        The build node can download basic images only when it can access the public network.

    • Custom Dockerfile

      Enter custom commands in the compilation box.

    • Image

      Set Basic Image.

  6. Set Image Class.

    • Public: This is a widely used standard image that contains an OS and pre-installed public applications and is visible to all users. You can configure the applications or software in the public image as needed.
    • Private: A private image contains an OS or service data, pre-installed public applications, and private applications. It is available only to the user who created it.

  7. Set Archived Image Address.
  8. Select Cluster.
  9. (Optional) Specify Node Label to deliver the build job to a fixed node based on the node label.
  10. Click Build Now to start the build.

    Click Save to save the settings (not to start the build).

Editing a Source Code Job

  1. Log in to ServiceStage, choose Application Management > Application List, and click an application to go to the Overview page.
  2. On the Component List tab, click a component to go to the Overview page.
  3. Click the Build Job tab and click Edit. The build job configuration page is displayed.

    1. (Optional) Set Description.
    2. Select Cluster.
    3. (Optional) Specify Node Label to deliver the build job to a fixed node based on the node label.
    4. Click Next.

  4. Set the environment.

    1. Edit a build template.

      Select Maven, Ant, Gradle, Go, Docker, or Build Common Cmd. You can compile and archive binary packages or Docker images at the same time.

    2. Select an archive mode.
      • Publish Build Artifact: Binary package archive plug-in, archived to the SWR software repository.
      • Publish Build Image: Image archive plug-in, archived to the SWR image repository.

  5. Click Build to save the settings and start the build.

    Click Save to save the settings (not to start the build).

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback