[JIRA] (JENKINS-61694) Groovy Hooks may run before or after JOB_CONFIG_ADAPTED

15 views
Skip to first unread message

o.v.nenashev@gmail.com (JIRA)

unread,
Mar 26, 2020, 7:10:03 PM3/26/20
to jenkinsc...@googlegroups.com
Oleg Nenashev updated an issue
 
Jenkins / Bug JENKINS-61694
Groovy Hooks may run before or after JOB_CONFIG_ADAPTED
Change By: Oleg Nenashev
Summary: Groovy Hooks will not reliably work with JCasC may run before or after JOB_CONFIG_ADAPTED
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo

o.v.nenashev@gmail.com (JIRA)

unread,
Mar 26, 2020, 7:11:02 PM3/26/20
to jenkinsc...@googlegroups.com

o.v.nenashev@gmail.com (JIRA)

unread,
Mar 26, 2020, 7:11:02 PM3/26/20
to jenkinsc...@googlegroups.com

o.v.nenashev@gmail.com (JIRA)

unread,
Mar 26, 2020, 7:11:02 PM3/26/20
to jenkinsc...@googlegroups.com
Oleg Nenashev updated an issue
Change By: Oleg Nenashev
After introduction a new milestones in the core,  JCasC and Groovy hooks will not be aligned properly may run before or after  [https://github JOB_CONFIG_ADAPTED depending on how graph is executed . com/jenkinsci/configuration-as-code-plugin/pull/1262] . We need to apply a fix in the Jenkins core to ensure that JCasC and Groovy Hooks still interact in a predictable way.

Proposal:
* Revert [https://github.com/jenkinsci/jenkins/commit/ab12f71a48901ab3b78521382057a03e166fe668] to the orifginal state so that init hook behaves as before: after all initialization steps
* Document Groovy Hooks and explicitly document the state
* Consider introducing new hooks for specific items like post-job-initialization

o.v.nenashev@gmail.com (JIRA)

unread,
Apr 6, 2020, 5:45:02 AM4/6/20
to jenkinsc...@googlegroups.com
Oleg Nenashev updated an issue
Change By: Oleg Nenashev
Labels: jcasc-compatibility lts-candidate

o.v.nenashev@gmail.com (JIRA)

unread,
Apr 6, 2020, 5:45:02 AM4/6/20
to jenkinsc...@googlegroups.com
Change By: Oleg Nenashev
Status: In Review Resolved
Resolution: Fixed
Released As: Jenkins 2.230

ogondza@gmail.com (JIRA)

unread,
Apr 9, 2020, 6:12:03 AM4/9/20
to jenkinsc...@googlegroups.com
Oliver Gondža updated an issue
Change By: Oliver Gondža
Labels: 2.222.2-rejected jcasc-compatibility lts-candidate

dbeck@cloudbees.com (JIRA)

unread,
Apr 21, 2020, 7:25:02 AM4/21/20
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages