jenkins-infra / plugin-health-scoring

This project aims to introduce a metric system to calculate the health score of each plugin within the Jenkins ecosystem and reflect the final scores on the Plugin Site for the plugin maintainers and users.
https://plugin-health.jenkins.io
MIT License
24 stars 46 forks source link

chore(Jenkinsfile) avoid rebuilding tags and PRs daily #556

Closed dduportal closed 1 month ago

dduportal commented 1 month ago

Fixup of https://github.com/jenkins-infra/plugin-health-scoring/pull/536 which introduces a daily cron trigger.

We forgot that this trigger should be "branch-conditionnal" otherwise it tries to rebuild everything including tags once a day (which is... not a good thing)


Notes:

dduportal commented 1 month ago

Good, thanks!

the tags mentioned in the body had been replayed with the following pipeline:

pipeline {
    agent none
    triggers {
        cron('')
    }
    stages {
        stage('Hello') {
            steps {
                echo 'OK'
            }
        }
    }
}

and now shows no more daily cron trigger!