You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sh "java -jar target/update-dois-jar-with-dependencies.jar $ConfigFile"
49
52
}
50
53
}
51
54
}
52
55
}
56
+
53
57
// This stage takes the generated report file and sends it to the curator overseeing release.
54
58
// Before moving onto the next stage of UpdateDOIs, their confirmation that the contents of the report file are correct is needed.
55
59
stage('Main: Send email of updateable DOIs to curator'){
@@ -65,6 +69,7 @@ pipeline {
65
69
}
66
70
}
67
71
}
72
+
68
73
// UpdateDOIs should pause at this stage until the curator confirms the report file is correct. Once they do, respond with 'yes' to the user input form that Jenkins brings up.
69
74
stage('User Input Required: Confirm DOIs'){
70
75
steps{
@@ -79,18 +84,33 @@ pipeline {
79
84
}
80
85
}
81
86
}
87
+
82
88
// Now that you have curator approval regarding the report file, this step executes the same jar file again -- this time providing the report file as an argument.
83
89
// With the report file as the second argument, UpdateDOIs executes database modifications.
// This stage backs up the gk_central and release_current databases after they are modified.
95
115
stage('Post: Backup DBs'){
96
116
steps{
@@ -104,6 +124,7 @@ pipeline {
104
124
}
105
125
}
106
126
}
127
+
107
128
// All databases, logs, and data files generated by this step are compressed before moving them to the Reactome S3 bucket. All files are then deleted.
108
129
stage('Post: Archive Outputs'){
109
130
steps{
@@ -117,16 +138,17 @@ pipeline {
117
138
}
118
139
}
119
140
}
141
+
120
142
// This sends an email notifying the mailing list that both the UpdateStableIdentifiers and UpdateDOIs steps have completed. This indicates that gk_central can be reopened.
121
143
stage('Post: Send completion email') {
122
144
steps{
123
-
script{
124
-
def releaseVersion = utils.getReleaseVersion()
145
+
script{
146
+
def releaseVersion = utils.getReleaseVersion()
125
147
def emailSubject ="UpdateStableIdentifier and UpdateDOIs complete for v${releaseVersion}"
126
148
def emailBody ="Hello,\n\nThis is an automated message from Jenkins regarding an update for v${releaseVersion}: Both UpdateStableIdentifiers and UpdateDOIs steps have completed. ${env.GK_CENTRAL_DB} can likely be reopened, but Curation should get \'Human\' confirmation before doing so. \n\nThanks!"
0 commit comments