1 Star 2 Fork 0

devops-ws / learn-pipeline-java

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Jenkinsfile 439 Bytes
一键复制 编辑 原始数据 按行查看 历史
Zhao Xiaojie 提交于 2021-03-03 15:19 . Update Jenkinsfile
pipeline {
agent any
stages {
stage('one') {
steps {
echo 'first stage'
}
}
stage('two') {
steps {
sh 'echo test > log.txt'
archiveArtifacts artifacts: 'log.txt', followSymlinks: false
}
}
stage('three') {
steps {
sh 'echo test > three.txt'
archiveArtifacts artifacts: 'three.txt', followSymlinks: false
}
}
}
}
1
https://gitee.com/devops-ws/learn-pipeline-java.git
git@gitee.com:devops-ws/learn-pipeline-java.git
devops-ws
learn-pipeline-java
learn-pipeline-java
master

搜索帮助