Skip to content

Commit 1348091

Browse files
VigneshRavichandran09harishagari
authored andcommitted
Pull request #127: Develop
Merge in MCU16CE/code-examples-testing from develop to master * commit '2bf57e60decc0e8ca3e78d7db02b0a00df36307b': updated jenkinsfile main.c in test1 modified jenkinsfile added updated introduced error creation of jira ticket when pipeline fails updated condition added for stage 'Commit Hex File' condition added for stage 'Commit Hex File' updated commitHexFile stage added commitHexFile stage added commitHexFile stage added Committing hex file
2 parents ce598c4 + 2bf57e6 commit 1348091

File tree

4 files changed

+2062
-2
lines changed

4 files changed

+2062
-2
lines changed

.citd/Jenkinsfilek8s

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,21 @@ pipeline {
129129
}
130130
}
131131
}
132-
132+
stage('Commit Hex File'){
133+
when {
134+
anyOf{
135+
allOf {
136+
changeRequest()
137+
expression { return env.CHANGE_TARGET == 'develop' }
138+
}
139+
}
140+
}
141+
steps {
142+
script {
143+
commitHexFile()
144+
}
145+
}
146+
}
133147
// GitHub repo creation
134148
stage('GitHub Repo Creation') {
135149
when {
@@ -247,6 +261,9 @@ pipeline {
247261
}
248262
failure {
249263
script {
264+
createJiraTicket(
265+
jiraProjectName: "CITD"
266+
)
250267
sendMail(
251268
mailId: "${env.NOTIFICATION_EMAIL}",
252269
subject: "Failure Pipeline: ${currentBuild.fullDisplayName}",

0 commit comments

Comments
 (0)