Commit 1c4ed658 by Han Su Kim

Small change, new variable for jenkins job

parent 476448c3
......@@ -10,11 +10,11 @@ manage="cd /edx/app/edxapp/edx-platform && sudo -u www-data /edx/bin/python.edxa
if [ "$report" = "true" ]; then
$ssh ubuntu@"$ip" "$manage lms gen_cert_report -c $course_id --settings aws"
elif [ ! -z "username" ]; then
elif [ "$regenerate" = "true" ] ; then
$ssh ubuntu@"$ip" "$manage lms regenerate_user -c $course_id -u $username --settings aws"
else
$ssh ubuntu@"$ip" "$manage lms ungenerated_certs -c $course_id --settings aws"
if [ ! -z "$force_certificate_state" ]; then
if [ "$force_certificate_state" ]; then
$ssh ubuntu@"$ip" "$manage lms ungenerated_certs -c $course_id -f $force_certificate_state --settings aws"
fi
fi
......@@ -10,11 +10,11 @@ manage="cd /edx/app/edxapp/edx-platform && sudo -u www-data /edx/bin/python.edxa
if [ "$report" = "true" ]; then
$ssh ubuntu@"$ip" "$manage lms gen_cert_report -c $course_id --settings aws"
elif [ ! -z "username" ]; then
elif [ "$regenerate" = "true" ] ; then
$ssh ubuntu@"$ip" "$manage lms regenerate_user -c $course_id -u $username --settings aws"
else
$ssh ubuntu@"$ip" "$manage lms ungenerated_certs -c $course_id --settings aws"
if [ ! -z "$force_certificate_state" ]; then
if [ "$force_certificate_state" ]; then
$ssh ubuntu@"$ip" "$manage lms ungenerated_certs -c $course_id -f $force_certificate_state --settings aws"
fi
fi
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