Building uboonedaq_datatypes for offline using Jenkins¶
uboonedaq_datatypes is used by both online and offline.
Uboonedaq_datatypes is not a standard mrb package and is not included in the
uboonecode build. Whenever there is a new version of
uboonedaq_datatypes, it must be built separately and distributed ahead of any
uboonecode build that depends on the new version. The offline release depends on online developers to make tags of
The build procedure for
uboonedaq_datatypes generally follows the procedure given on the
uboonedaq wiki. A Jenkins-compatible build script can be found in in
larutils/buildScripts/build_uboonedaq_datatypes.sh. This is the script that is used by Jenkins.
Here are the steps for building and distributing
- Log in to Jenkins (https://buildmaster.fnal.gov).
- Click on the "
uboone" tab and select build project
- Click on "Configure" and edit the desired tag into the build configuration.
- Click on "Build with Parameters." This should build all supported flavors. Wait for build to complete successfully.
uboonedaq_datatypes to scisoft.¶
- Go to an empty directory on any machine where you have kerberized
uboonegpvmXXlogin machines are fine). You will assemble in this directory all files that will be uploaded to
- Fetch results of Jenkins build using
copyFromJenkins. This script is normally invoked with a single argument specifying the Jenkins project name.
This command will fetch Jenkins build "artifacts." There should be one tarball for each binary flavor.
- Upload all files to
copyToSciSoft. Specify all files that you want to upload on the command line, which should be all of the files your current directory.
You will need a kerberos ticket and login access to
uboonedaq_datatypes locally in
/grid/fermiapp/uboone using the tarballs created in the previous step. You can download these from the
scisoft products server, or just use the ones you copied from Jenkins.
- Log in to any
uboonegpvmXXmachine as user
- Go to the microboone products directory.
- Unroll the tarball for each binary flavor into this directory.
tar xf <tarball-path>
- You can unroll many tarballs using a single shell command.
for tb in <tarball-dir>/*; do tar xf $tb; done
Follow instructions in this article, but usually just invoke the script
uboone-rsync.sh as user
uboone on any