diff --git a/Jenkinsfile b/Jenkinsfile index 2670c40..aa0b07d 100755 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -36,10 +36,10 @@ pipeline { post { always { - giteaStatus( - context: 'Jenkins CI', - status: currentBuild.currentResult // success or failure - ) + step([ + $class: 'GiteaStatusNotifier', + context: 'Jenkins CI' + ]) echo "Clean unused image..." sh "docker image prune -f" }