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