Skip to content
Snippets Groups Projects
Commit dffd1d19 authored by Clemens Lange's avatar Clemens Lange
Browse files

Add cms-addpkg example

parent 32e7bca7
No related branches found
No related tags found
No related merge requests found
Pipeline #1381613 failed
......@@ -71,6 +71,24 @@ cmssw_compile:
- cp -r "${CI_PROJECT_DIR}/ZPeakAnalysis" "${CMSSW_BASE}/src/MyAnalysis/"
- scram b
cmssw_addpkg:
stage: compile
tags:
- cvmfs
variables:
CMS_PATH: /cvmfs/cms.cern.ch
CMSSW_RELEASE: CMSSW_10_6_8_patch1
script:
- shopt -s expand_aliases
- set +u && source ${CMS_PATH}/cmsset_default.sh; set -u
- cmsrel ${CMSSW_RELEASE}
- cd ${CMSSW_RELEASE}/src
- cmsenv
# For a single package analysis, the repository would be called "MyAnalysis"
# Here we mimick this by creating the directory by hand
- git cms-addpkg PhysicsTools/PatExamples
- scram b
cmssw_run:
stage: run
image:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment