Jenkinsfile: remove files with find first
This commit is contained in:
parent
4757a9448e
commit
0a4fa6b6fe
|
@ -45,7 +45,7 @@ PGPORT=`python -c 'import struct; import socket; s=socket.socket(); s.setsockopt
|
|||
}
|
||||
}
|
||||
success {
|
||||
sh "rm -rf ${env.TMPDIR}"
|
||||
sh "find ${env.TMPDIR} -type f -delete; rm -rf ${env.TMPDIR}"
|
||||
cleanWs()
|
||||
}
|
||||
}
|
||||
|
|
|
@ -253,7 +253,7 @@ class Validation(UserEditCoreView):
|
|||
partner = self.validation_request.origin.ou.slug
|
||||
if not partner and self.request.user.ou:
|
||||
partner = self.request.user.ou.slug
|
||||
super(UserEditCoreView, self).form_valid(form)
|
||||
super(UserEditView, self).form_valid(form)
|
||||
form.instance.attributes.validated = True
|
||||
form.instance.attributes.validation_context = 'online'
|
||||
form.instance.attributes.validation_date = now().date()
|
||||
|
|
Loading…
Reference in New Issue