The RegistryBuilder itself only looks if the underlying CLR type has changed. If not, no updated is performed.
var existingJob = storage.GetJobByUniqueName(jobDefinition.UniqueName);
if (existingJob == null)
{
// Add new Job
...
}
else
{
// Update existing Jobs and triggers
if (!string.Equals(existingJob.Type, jobDefinition.ClrType, StringComparison.OrdinalIgnoreCase))
{
In my opinion the check has to be removed as there are valid reasons behind keeping the underlying CLR-Type but changing other properties.
When trying to update a JobParameter with the RegistryBuilder the parameter will never be updated.
Steps to reproduce
Root Cause
The RegistryBuilder itself only looks if the underlying CLR type has changed. If not, no updated is performed.
In my opinion the check has to be removed as there are valid reasons behind keeping the underlying CLR-Type but changing other properties.