我目前有一些来自较旧的Jenkins CI / CD管道配置的现有Jenkinfile。我最近已经开始将服务迁移到Drone CI,但还不确定某些Jenkins(常规)命令如何转换为Drone的yaml语法。
示例(已编辑/示例):
// ...
stage('version')
choice = new ChoiceParameterDefinition('VERSION',['x','y','z'] as String[],'...')
def type = input(id: 'type',message: 'Select one',parameters: [choice])
stage('Tag') {
sh "./some-script/.sh -t ${type}"
}
// ...
有什么可以自动进行转换的东西吗? DroneCI文档非常模糊,并且没有涵盖许多重要的管道设计方面(至少不是从我发现的方面而言)。