Skip to content

Commit

Permalink
update build script to cope with the branch rename
Browse files Browse the repository at this point in the history
  • Loading branch information
Emily-Jiang committed Jul 19, 2023
1 parent eda4929 commit 794cf3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions buildScripts/release.groovy
Expand Up @@ -17,7 +17,7 @@ pipeline {
string(description: 'The SCM tag to apply', name: 'tag')
choice(choices: 'Draft\nFinal', description: 'Revision Type', name: 'revremark')
choice(choices: moduleString, description: 'Module', name: 'module')
string(description: 'Branch to use', name: 'branch', defaultValue: 'master')
string(description: 'Branch to use', name: 'branch', defaultValue: 'main')
string(description: 'A list of the staging repositories to be used for the build', name: 'stagingList', defaultValue: '')
}

Expand Down Expand Up @@ -46,7 +46,7 @@ pipeline {
def settings = '-s /home/jenkins/.m2/settings.xml'

if (params.stagingList != '') {
sh "wget https://github.com/eclipse/microprofile-build-infra/raw/master/buildScripts/staging-augmenter-ubi8"
sh "wget https://github.com/eclipse/microprofile-build-infra/raw/main/buildScripts/staging-augmenter-ubi8"
sh "chmod +x ./staging-augmenter-ubi8"
sh "./staging-augmenter-ubi8 -r ${params.stagingList} -o ../output-settings.xml /home/jenkins/.m2/settings.xml"

Expand Down

0 comments on commit 794cf3c

Please sign in to comment.