Copy Artifact Plugin - How pass Major, Minor, Revision variables from downstream, upstream "make all" job ?

10 views
Skip to first unread message

Eddie Sutton

unread,
Apr 1, 2015, 7:03:41 PM4/1/15
to jenkins...@googlegroups.com
My question is how do I pass parameters from a downstream job to the “make-all” job?


I am working on CI to support a cross-platform build of a C++ Qt 5.4 app.

The myapp-make-all job that builds 3 downstream projects:

— myapp-makeall
- myapp-android
- myapp-osx
- myapp-windows

If myapp-makeall succeeds I manually launch the job myapp-copy-artifacts job that uses the “Copy Artifacts Plugin”.

I do not know how to do this automatically. Advice is appreciated.

Artifacts are:
myapp-android-3.0.2030-release-signed.apk
myapp-osx-3.0.2030.dmg
myapp-source-3.0.2030.zip
myapp-win-3.0.2030.exe



I want to set the “Copy Artifact Plugin” “Target directory” to:

myapp-${PLATFORM}-${MAJOR}.${MINOR}.${REVISION}

How are parameters passed downstream to upstream?


-Ed


Reply all
Reply to author
Forward
0 new messages