#!groovy
// Ce depot ne construit rien : il porte du CODE DE BUILD, consomme par les depots
// pyimporters de deux facons -- la bibliotheque partagee '@Library(python-archetype@master)'
// pour vars/pythonPipeline.groovy, et le submodule pour resources/Taskfile.yml.
//
// Le job n'existe que pour donner une CIBLE D'UPSTREAM a ces depots : sans lui, modifier
// le pipeline partage ne reconstruit personne, et la regression ne se voit qu'au prochain
// commit fonctionnel d'un consommateur. Meme fichier, au caractere pres, que celui de
// gradle-archetype, gradle-docker-archetype et docker-image-pipeline.
library('tools')

pipeline {
    agent any

    stages {
        stage('Info') {
            steps {
                abortOnNoBuildCommit()
                echo 'This pipeline does nothing. It will only trigger downstream builds.'
            }
        }
    }

    post {
        always {
            script {
                abortOnNoDownstreamCommit()
            }
        }
    }
}
