zoukankan      html  css  js  c++  java
  • Jenkins Pipelines Summary

    示例1:

    pipeline{
        agent {label "xxx"} // label is a special machine registered in Jenkins
        environment{
            CLONE_TRAINER_TEST_CMD = '''
            cd $wksp  // shell command
        '''
    
        START_TRAINER_TEST_CLIENT_CMD = '''
            // shell command
        '''
        }
        stages{
            stage("xxx"){   // can define by yourself, it will display in the beginning of Jenkins output log
                parallel{
                    stage("xxx"){  // define task scenaria, such as 'build'
                        agent {label "xxx"}  // a special machine
                        steps{
                            sh env.CLONE_TRAINER_TEST_CMD
                            sh '''
                                cd $wksp // shell command
                               '''
                        }
                    }
                    
                    stage("xxx"){
                        agent {label "xxx"}
                        steps{
                            // shell command
                        }
                    }
                }
            }
        }
    }
  • 相关阅读:
    稀疏核机
    核方法
    变分法
    拉格朗日乘子
    序列数据
    连续隐含变量
    线性回归模型
    采样方法
    线性分类模型
    一些音乐下的评论
  • 原文地址:https://www.cnblogs.com/sayiqiu/p/10562303.html
Copyright © 2011-2022 走看看