updated README badges

This commit is contained in:
Marvin Zhang
2019-08-16 00:20:19 +08:00
parent 629d859f12
commit 5ca969b3db

22
Jenkinsfile vendored
View File

@@ -45,16 +45,18 @@ pipeline {
stage('Deploy') {
steps {
echo 'Deploying....'
if (env.GIT_BRANCH == 'master' || env.GIT_BRANCH == 'develop') {
sh """
cd ./jenkins/${ENV:GIT_BRANCH}
docker-compose stop | true
docker-compose up -d
"""
} else {
sh """
docker push tikazyq/crawlab:${ENV:TAG}
"""
script {
if (env.GIT_BRANCH == 'master' || env.GIT_BRANCH == 'develop') {
sh """
cd ./jenkins/${ENV:GIT_BRANCH}
docker-compose stop | true
docker-compose up -d
"""
} else {
sh """
docker push tikazyq/crawlab:${ENV:TAG}
"""
}
}
}
}