Commit 5561123f authored by Marco Clemencic's avatar Marco Clemencic
Browse files

Fix Jenkins main script to work with new configuration layout

see lhcb-core/LHCbNightlyConf!159
parent 119f64e0
......@@ -25,7 +25,7 @@ fi
# Dump the current configuration to stdout (ignore errors)
set +e
python -m LbNightlyTools.Configuration configs
lbn-check-config
set -e
rm -rf slot-params-*.txt
......@@ -34,5 +34,4 @@ rm -rf slot-params-*.txt
lbn-enabled-slots --debug \
--flavour "${flavour}" \
${slots:+--slots "${slots}"} \
--config-dir "configs" \
--output 'slot-params-{name}.txt'
......@@ -47,7 +47,7 @@ class Script(PlainScript):
help='do not look for active slots, but use the '
'provided space or comma separated list')
self.parser.set_defaults(config_dir='configs',
self.parser.set_defaults(config_dir=None,
flavour='nightly',
output='slot-params-{name}.txt',
slots=None)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment