Get the latest Pipeline Engine code:
The XNAT pipeline engine is distributed as a code repository that contains the pipeline engine installer. To install the pipeline engine:
Create a folder to contain the pipeline installer, change to that directory, then clone the :
$~$ mkdir pipeline ~$ cd pipeline/ ~/pipeline$ git clone https://www.github.com/nrgXnat/xnat-pipeline-engine.git
Create a destination folder for the pipeline engine. The standard XNAT practice is to use /data/project/pipeline. As with other XNAT folders, the pipeline folder must be accessible by the Tomcat user.
~$ mkdir /data/xnat/pipeline
Run setup.sh with the administrator email address, SMTP server address, XNAT URL, site name, and destination folder:
Alternatively, you can save these options in a file named gradle.properties in the pipeline installer folder:
xnatUrl=http://oldschool.edu siteName=XNAT adminEmailfirstname.lastname@example.org smtpServer=mail.oldschool.edu destination=/data/xnat/pipeline
Now run gradlew from that folder:
The advantage of the latter approach is that you can reinstall updates to the pipeline engine with one simple command rather than having to re-enter the full setup.sh syntax again.