These are chat archives for jenkinsci/jenkins

17th
Jan 2018
rshettynj
@rshettynj
Jan 17 2018 21:59
trying to get some help on jenkins shared library with master and slave nodes in the mix
master jenkins checks out the shared library code.. code looks like this..
rshettynj
@rshettynj
Jan 17 2018 22:04
@Library("dne-shared-library") _
node ('slave') {
                def bp = buildpath {}
                object = load "${bp}/jenkinsUtils.groovy"
                def lastsets = object.readtfschangeset()
                echo "Last successful build with TFS changeset id is ${lastsets}"
getting file not found for the groovy files loaded via shared library on the slave.. What am I doing wrong?