腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
1
回答
jenkins
pipeline
readYaml如何使用变量指定密钥
、
、
假设yaml文件是这样的: #test.yaml module: - zk module:version = '0.7.1.0.0' moduleList = yamlFile.get("${version}").get(module) 但是这是行不通的,版本(“${yamlFile.get}”)是空对象,
浏览 39
提问于2019-12-10
得票数 1
回答已采纳
1
回答
如何部署sagemaker.workflow.
pipeline
.
Pipeline
?
、
、
我有一个sagemaker.workflow.
pipeline
.
Pipeline
,它包含多个sagemaker.workflow.steps.ProcessingStep,每个ProcessingStep由于
Pipeline
对象不支持.deploy方法,如何部署这个管道?还是仅为大型/批量数据的数据处理和模型培训而设计?
浏览 2
提问于2021-12-09
得票数 3
回答已采纳
1
回答
Jenkins
Pipeline
Jenkinsfile:'node‘和'
pipeline
’指令
、
从我看到的一些示例中,我注意到Jenkinsfile是使用
Pipeline
指令设置的: agent any stage('Build
浏览 11
提问于2017-06-21
得票数 54
回答已采纳
1
回答
在Jenkins声明性管道中运行在同一代理上的并行阶段
、
、
我一直在使用Jenkins管道进行类似的并行测试: agent { label 'php' } stage('build') {为此,我将“无”代理分配给管道,将实际代理分配到所有阶段,但请求输入的阶段除外: agent none stage('build'
浏览 0
提问于2018-09-29
得票数 1
1
回答
詹金斯声明管道。后置块中的条件语句
、
、
pipeline
{ stages {...} success{ archiveArtifacts: ...
浏览 0
提问于2018-03-29
得票数 5
回答已采纳
1
回答
Jenkins -没有在并行阶段创建专用工作区
、
{[
Pipeline
] { (create file)[
Pipeline
] }[
Pipeline
: Debug)[
Pipeline
] { (Release)[
Pipeline
] { (Debug) [
Pip
浏览 10
提问于2022-03-16
得票数 1
2
回答
将值列表存储在声明性Jenkins管道中的环境变量中
、
、
、
我得到了以下管道,但我不知道为什么它在第一行代码中失败: agent any def mypods = [] }
浏览 3
提问于2019-02-14
得票数 4
1
回答
Jenkins并行管道构建
、
、
、
、
] }[
Pipeline
] }[
Pipeline
] }[
Pipeline
] // stage[
Pipeline
] // stage[
Pipeline
] /
浏览 1
提问于2021-01-02
得票数 1
3
回答
如果我将管理器实例传递到流水线之外,带有全局定义管理器的Jenkinsfile会产生错误
、
、
] Start of
Pipeline
Running on Jenkins in /var/jenkins_home/workspace/ci-test_both[
Pipeline
] stage[
Pipeline
] stage [
Pipeline
] { (Declarative: Che
浏览 113
提问于2019-05-26
得票数 1
回答已采纳
1
回答
参数中的Jenkins声明式管道用户变量
、
/usr/bin/env groovy agent any stage('Config API (dev)') { steps {
浏览 0
提问于2018-04-02
得票数 0
回答已采纳
4
回答
在Jenkinsfile中生成失败
、
、
在某些情况下,我想要失败的建设。我该怎么做?throw RuntimeException("Build failed for some specific reason!")org.jenkinsci.plugins.scriptsecurity.sandbox.RejectedAccessException: Scripts not permitted to use new java.lang.RuntimeException java.lang.String
浏览 11
提问于2016-06-07
得票数 108
回答已采纳
1
回答
如何在管道后段定义变量?
、
、
我想在管道后段的不同条件下使用一些共同的值,所以我尝试了如下-post { def variable = "<some dynamic value here>" failure{ "<use variable here>" } script{ "<
浏览 3
提问于2019-11-25
得票数 4
1
回答
如何与Jenkins并行执行阶段?
、
、
我创建了一个测试管道来了解这个并行特性是如何与Jenkins一起工作的。在这里您可以看到代码: sh 'echo Downloading source code from GIT' } sh 'echo Compiling the code' sh 'sle
浏览 2
提问于2021-01-24
得票数 0
回答已采纳
2
回答
如何在Jenkins groovy中将字符串变量添加到sh脚本
、
、
我是jenkins和语法的新手,在将包含带空格的字符串的变量添加到shell脚本时遇到问题。def notes = "My release notes" 问题出在notes变量上,我不能正确地引用它。我尝试过使用\'
浏览 2
提问于2021-04-16
得票数 0
1
回答
在Jenkins管道后阶段无法传递变量
、
、
场景:我无法在后期步骤中传递参数。下面是错误 post {Script{ sh“count=ca changes.txt | wc -l echo ${count}如果[ ${count} == 0 ];然后回显‘条件成功’否则回送‘条件而不是成功’fi”“}‘}’16:24:38 email-2运行shell脚本16:24:39 ++ cat changes.txt 16:24:39 ++ wc -l 16:24:39 + count=7管道}管道/脚本错误执行成功后条件: groovy.lang.MissingPropertyException: No此类属性:$count表示类
浏览 1
提问于2019-12-09
得票数 0
回答已采纳
1
回答
Jenkins管道Kubernetes代理共享卷
、
、
} }}[
Pipeline
] podTemplate[
Pipeline
] node[
Pipeline
] container[
Pipeline
] stage[
Pipel
浏览 0
提问于2018-08-05
得票数 3
1
回答
如何从groovy映射脚本向Jenkins
Pipeline
调用参数
、
、
、
这是为运行在ubuntu Jenkins服务器上的新管道Jenkinsfile准备的 String[] env = env() agent any properties
浏览 60
提问于2019-06-12
得票数 2
1
回答
如何访问Groovy管道脚本中的Shell变量值
、
、
、
、
现在我是Shell,Jenkins,Groovy管道的新手。我的要求是将文件文本读入shell脚本下的变量中,我需要将这个变量值从shell脚本中传递出来,并在Groovy脚本中使用。stages stage('example') { { { sh'''
浏览 5
提问于2021-08-11
得票数 1
回答已采纳
1
回答
jenkinsfile没有将env传递给sh
、
我试图按以下方式在Jenkinsfile中设置环境变量, agent { label 'slave1' } stage ('Build} } failure { echo "
Pipeline
Failed" }} 但它的失败与以下错误Bad s
浏览 1
提问于2019-03-08
得票数 4
回答已采纳
1
回答
Jenkins
Pipeline
:中止阶段中的输入无法触发该阶段已中止的post操作
、
has been aborted" }如果单击Abort按钮,日志输出将仅显示:[
Pipeline
] stageAborted by admin[
Pipeline
] // stage[
Pipeline
] { (Declarative: Post Actions) [
浏览 267
提问于2019-10-30
得票数 2
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
pipeline:pipeline 使用之 Shared Libraries
Jenkins pipeline
前端中的 Pipeline
第2.7篇 Redis 命令 PIPELINE
Redis-benchmark、Pipeline使用介绍
热门
标签
更多标签
云服务器
ICP备案
对象存储
腾讯会议
云直播
活动推荐
运营活动
广告
关闭
领券