Method for dynamically creating docker container nodes to execute tasks based on jenkins real-time tasks
A technology of dynamic creation and real-time tasks, which is applied in the direction of instruments, program code conversion, program control design, etc., can solve the problem of low resource utilization, achieve the effect of saving resources and meeting business requirements
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0065] 1. Write the information of 100 triggered jobs into the database;
[0066] 2. Develop a customized script to generate a dockerfile; the dockerfile script generates a dockerfile according to the parameters passed in, for example: the incoming linux version parameter is centos7.6 to generate a dockerfile format text for the java operating environment:
[0067] COPY jdk1.8
[0068] ENV JAVA_HOME= / opt / jdk1.8
[0069] ENV PATH=$JAVA_HOME / bin:$PATH
[0070] ENV CLASSPATH=.:$JAVA_HOME / lib / dt.jar:$JAVA_HOME / lib / tools.jar;
[0071] Pass in the parameter JAVA1.8 to generate a dockerfile format text of the java runtime environment:
[0072] COPY jdk1.8
[0073] ENV JAVA_HOME= / opt / jdk1.8
[0074] ENV PATH=$JAVA_HOME / bin:$PATH
[0075] ENV CLASSPATH=.:$JAVA_HOME / lib / dt.jar:$JAVA_HOME / lib / tools.jar;
[0076] Pass in the parameter git to generate a dockerfile format text of the git operating environment:
[0077] COPY git
[0078] ENV GIT_HOME= / opt / git
[0079] ENV PATH=$GIT...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com