Skip to content

Commit

Permalink
Update aap_install.groovy
Browse files Browse the repository at this point in the history
  • Loading branch information
chr-stian authored Oct 23, 2023
1 parent 2b4a8bc commit 1d48359
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .ci/aap_install.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Map installerVars = [:]
String pulpcore_version = ''
String automationhub_pulp_ansible_version = ''
String automationhub_pulp_container_version = ''
String fork = 'ansible'

pipeline {
agent {
Expand All @@ -34,6 +35,7 @@ pipeline {

echo "GitHub Repository: ${env.GITHUB_REPO}"
echo "GitHub Fork: ${env.GITHUB_FORK}"
fork = env.GITHUB_FORK ?: 'ansible'
echo "Branch Name: ${env.BRANCH_NAME}"

validateInfo = stepsFactory.yoloSteps.validateYoloParameters(params)
Expand All @@ -58,7 +60,7 @@ pipeline {
steps {
container('aapqa-ansible') {
script {
stepsFactory.commonSteps.checkoutGalaxyNG([galaxyNGBranch: env.BRANCH_NAME, galaxyNGFork: env.GITHUB_FORK])
stepsFactory.commonSteps.checkoutGalaxyNG([galaxyNGBranch: env.BRANCH_NAME, galaxyNGFork: fork])
}
}
}
Expand Down Expand Up @@ -154,7 +156,7 @@ pipeline {
installerVars = [:]

Map ahubPipParams = [
automationhub_git_url: "https://github.com/${env.GITHUB_FORK}/galaxy_ng",
automationhub_git_url: "https://github.com/${fork}/galaxy_ng",
automationhub_git_version: "${env.BRANCH_NAME}",
automationhub_ui_download_url: "https://github.com/ansible/ansible-hub-ui/releases/download/dev/automation-hub-ui-dist.tar.gz",
]
Expand Down

0 comments on commit 1d48359

Please sign in to comment.