当前位置 : 主页 > 编程语言 > java >

jenkins

来源:互联网 收集:自由互联 发布时间:2022-07-17
pipeline { agent any stages { stage('Example') { steps { echo 'Hello World' } } } post { always { echo 'I will always say Hello again!' } } } pipeline { agent any stages { stage('Example') { steps { git credentialsId: '7cdf7d7e-57c0-4623-83
pipeline {
agent any
stages {
stage('Example') {
steps {
echo 'Hello World'
}
}
}
post {
always {
echo 'I will always say Hello again!'
}
}
}

 

pipeline {
agent any
stages {
stage('Example') {
steps {
git credentialsId: '7cdf7d7e-57c0-4623-833d-245c4703db56', url: 'https://gitee.com/wusen0601/javademo5.git'
echo "Hello World ${branch}"
sh '''ant
cp -r /youxi/conf .'''
}
}
}
post {
always {
echo 'I will always say Hello again!'
}
}
}

 


上一篇:基于CSS的3D旋转画册的制作
下一篇:没有了
网友评论