No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
vars
LICENSE
README.md

README.md

Jenkins changeset utilities

Example usage:

@Library('github.com/jpalomaki/jenkins-changesets@master') _
pipeline {
    agent {
        docker {
            image 'busybox:latest'
        }
    }
    environment {
        CHANGED_FILES = findNewOrUpdatedFiles('.txt').join(' ')
    }
    stages {
        stage('Echo') {
            steps {
                sh '''
                    for file in $CHANGED_FILES; do
                        echo $file
                    done
                '''
            }
        }
    }
}