File tree Expand file tree Collapse file tree 5 files changed +62
-75
lines changed
sonar-orchestrator/src/main/java/com/sonar/orchestrator/locator Expand file tree Collapse file tree 5 files changed +62
-75
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : Build
2
+ on :
3
+ push :
4
+ branches :
5
+ - master
6
+ - branch-*
7
+ pull_request :
8
+ merge_group :
9
+ workflow_dispatch :
10
+
11
+ jobs :
12
+ build :
13
+ concurrency :
14
+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
15
+ cancel-in-progress : ${{ github.ref_name != github.event.repository.default_branch }}
16
+ runs-on : ubuntu-24.04-large
17
+ name : Build
18
+ permissions :
19
+ id-token : write
20
+ contents : write
21
+ steps :
22
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
23
+ - uses : jdx/mise-action@bfb9fa0b029db830a8c570757cee683df207a6c5 # v2.4.0
24
+ with :
25
+ version : 2025.7.12
26
+ - uses : SonarSource/ci-github-actions/get-build-number@v1
27
+ - uses : SonarSource/ci-github-actions/build-maven@v1
28
+ env :
29
+ DEVELOCITY_ACCESS_KEY : develocity.sonar.build=${{ env.DEVELOCITY_TOKEN }}
30
+ with :
31
+ deploy-pull-request : true
32
+ artifactory-reader-role : private-reader
33
+ artifactory-deployer-role : qa-deployer
34
+ use-develocity : true
35
+ - name : Check license compliance
36
+ run : ./check-license-compliance.sh
37
+
38
+ promote :
39
+ needs : [build]
40
+ concurrency :
41
+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
42
+ cancel-in-progress : ${{ github.ref_name != github.event.repository.default_branch }}
43
+ runs-on : ubuntu-24.04-large
44
+ name : Promote
45
+ permissions :
46
+ id-token : write
47
+ contents : write
48
+ steps :
49
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
50
+ - uses : jdx/mise-action@bfb9fa0b029db830a8c570757cee683df207a6c5 # v2.4.0
51
+ with :
52
+ cache_save : false
53
+ version : 2025.7.12
54
+ - uses : SonarSource/ci-github-actions/get-build-number@v1
55
+ - uses : SonarSource/ci-github-actions/promote@v1
56
+ with :
57
+ promote-pull-request : true
Original file line number Diff line number Diff line change
1
+ [tools ]
2
+ java = " 21.0"
3
+ maven = " 3.9"
4
+
Original file line number Diff line number Diff line change 27
27
public class ArtifactoryFactory {
28
28
29
29
private static final String DEFAULT_ARTIFACTORY_PREFIX = "https://repox.jfrog.io" ;
30
- private static final String DEFAULT_ARTIFACTORY_URL = DEFAULT_ARTIFACTORY_PREFIX + "/repox " ;
30
+ private static final String DEFAULT_ARTIFACTORY_URL = DEFAULT_ARTIFACTORY_PREFIX + "/artifactory " ;
31
31
32
32
/**
33
33
* Two types of Artifactory are supported: Maven and Default.
You can’t perform that action at this time.
0 commit comments