jenkins - Delegate specific part of build to slave -
i have project part of build process create native library on remote machine. manual process outside of ci builds made jenkins.
the setup in question jenkins master server build git based maven project, has dependency native library can built on specific machine. jenkins can't compile module, , because of this, manual process.
i install jenkins slave on machine creates native library, , returns compiled files jenkins master, without handling other parts of build.
i having trouble figuring out if possible. number of articles have found on subject discusses jenkins slaves means of distributing build, want slave take responsibility small part of build process, , nothing else. jenkins master should send build request slave , wait result, instead of trying compile code itself.
i same. setup, similar mark o'connor , gaige advising, , using copy artifact plugin.
job a: produces zip file on mac
job b, runs on slave b - windows machine, takes zip input , produces msi
here's important part in config of job b:
restrict job b on proper slave using labels

make sure job b happens after job a

make sure artifacts job sent job b before build

build stuff
archive artifacts produced job b

Comments
Post a Comment