1
0
Fork 0
mirror of https://git.tt-rss.org/fox/ttrss-docker-compose synced 2025-06-11 04:19:53 +02:00

limit CI builds to static-dockerhub branch

This commit is contained in:
Andrew Dolgov 2022-11-24 07:51:15 +03:00
parent baf7f5a23a
commit 0d39b4eabe
No known key found for this signature in database
GPG key ID: 1A56B4FA25D4AF2A

13
Jenkinsfile vendored
View file

@ -47,6 +47,9 @@ pipeline {
}
}
stage('build') {
when {
branch "static-dockerhub"
}
environment {
REPO_TIMESTAMP = sh(returnStdout: true,
script: "git --git-dir 'tt-rss/.git' --no-pager log --pretty='%ct' -n1 HEAD")
@ -108,6 +111,9 @@ pipeline {
}
}
stage('phpdoc') {
when {
branch "static-dockerhub"
}
steps {
sh """
docker run --rm \
@ -131,13 +137,6 @@ pipeline {
}
}
}
/*stage('cleanup') {
steps {
sh """
docker system prune -f -a
"""
}
}*/
}
post {