Skip to content

Commit

Permalink
Chore: add script block
Browse files Browse the repository at this point in the history
Signed-off-by: DhruvJ225 <[email protected]>
  • Loading branch information
DhruvJ225 committed Dec 15, 2023
1 parent 4a1cdb9 commit 41e958f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
10 changes: 7 additions & 3 deletions pipelines/release.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@ pipeline {
}
stage('Publish to Nexus') {
steps {
uploadToArtifactory()
getVersions()
script{
uploadToArtifactory()
getVersions()
}
}
}
}
Expand All @@ -41,7 +43,9 @@ pipeline {
label 'regression-test-trigger'
}
steps {
triggerRegression()
script{
triggerRegression()
}
}
}
}
Expand Down
10 changes: 7 additions & 3 deletions pipelines/weekly.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,10 @@ pipeline {
}
stage('Publish to Nexus') {
steps {
uploadToArtifactory()
getVersions()
script{
uploadToArtifactory()
getVersions()
}
}
}
}
Expand All @@ -44,7 +46,9 @@ pipeline {
label 'regression-test-trigger'
}
steps {
triggerRegression()
script{
triggerRegression()
}
}
}
}
Expand Down

0 comments on commit 41e958f

Please sign in to comment.