3 Star 4 Fork 1

Gitee 极速下载/LiquiBASE

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/liquibase/liquibase.github.com
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Jenkinsfile 1.62 KB
一键复制 编辑 原始数据 按行查看 历史
Taylor Buckner 提交于 2019-10-10 15:09 . Fixed issues with Jenkinsfile.
pipeline {
options {
timestamps()
buildDiscarder(logRotator(numToKeepStr: '10', artifactNumToKeepStr: '5', artifactDaysToKeepStr: '45'))
withAWS(credentials: 'JenkinsUserAtAWS')
}
agent {
node {
label 'dockerBuilder'
}
}
environment {
GITHUB_AUTH = credentials('github-auth')
ART_AUTH = credentials('artifactory-auth')
}
stages {
stage('staging-cd') {
when {
branch 'staging'
}
steps {
echo 'Building and Deploying Jekyll `_site/` to Staging.'
script {
sh 'export JEKYLL_VERSION=3.8 && \
docker run \
--volume="$PWD:/srv/jekyll" \
jekyll/jekyll:$JEKYLL_VERSION \
jekyll build'
s3Upload(file:'_site', bucket:'staging.liquibase.org', path:'')
}
slackSend channel: '#liquibase_pro_website',
color: 'good',
message: "Liquibase Staging Site Updated: http://staging.liquibase.org"
}
}
}
post {
success {
slackSend channel: '#jenkinsbuilds',
color: 'good',
message: "SUCCESSFUL: Job '${JOB_NAME} [${BUILD_NUMBER}]' (${env.BUILD_URL})"
}
unsuccessful {
slackSend channel: '#jenkinsbuilds',
color: 'bad',
message: "FAILED: Job '${JOB_NAME} [${BUILD_NUMBER}]' (${env.BUILD_URL})"
}
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors/liquibase.github.com.git
[email protected]:mirrors/liquibase.github.com.git
mirrors
liquibase.github.com
LiquiBASE
master

搜索帮助