@Library('jenkins-shared-library') _

def smallfile


pipeline {
    agent any

    stages {
        stage('Build') {
            steps {
                script {
                    def yamlFile = readFile('project.yaml')
                    def smallfile = log.readYaml(yamlFile)

//                     base = xxx.base.module
//                     core = xxx.core.module
//                     htj = xxx.htj.module
//                     web = xxx.web
//                     // 遍历 base 对象（假设 base 是一个集合）
//                     if (base instanceof List) {
//                         base.each { item ->
//                             echo "Base Item: ${item.name}" // 输出每个项的内容
//                         }
//                     } else {
//                         echo "Base is not a list"
//                     }
                }
            }
        }








    }
}