on-internet
← Community

Jenkins Scripted Pipeline - specifying the workspace directory before node allocates the workspace

Stack Overflow ·

I've got a multibranch pipeline, defined in a scripted pipeline (from a library) that is coordinating ~100 builds, each build across multiple slaves (different operating systems). One of the Operating systems is Windows, which has a 255 character path limitation. Because some of our jobs have ~200 character paths in them (which we can't control because it is a vendor provided hell), i need to change the step/node workspace on our windows slaves, ideally changing it with the node() step, so that git is automatically checked out only once into the custom workspace. I've tried all kinds of variou

Comments

Sign in or sign up to comment and upvote.

No comments yet.