Skip to content

Commit e067c9d

Browse files
authored
Fix failing tests caused by removing 'artifactory.'
1 parent 8e6da85 commit e067c9d

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Deployer settings
2-
artifactory.publish.publications=${publications}
3-
artifactory.publish.contextUrl=${contextUrl}
4-
artifactory.publish.repoKey=${localRepo}
5-
artifactory.publish.username=${username}
6-
artifactory.publish.password=${password}
7-
artifactory.publish.unstable=false
8-
artifactory.publish.buildInfo=true
9-
artifactory.publish.maven=true
10-
artifactory.publish.ivy=true
2+
publish.publications=${publications}
3+
publish.contextUrl=${contextUrl}
4+
publish.repoKey=${localRepo}
5+
publish.username=${username}
6+
publish.password=${password}
7+
publish.unstable=false
8+
publish.buildInfo=true
9+
publish.maven=true
10+
publish.ivy=true
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Resolver settings
2-
artifactory.resolve.contextUrl=${contextUrl}
3-
artifactory.resolve.repoKey=${virtualRepo}
4-
artifactory.resolve.username=${username}
5-
artifactory.resolve.password=${password}
2+
resolve.contextUrl=${contextUrl}
3+
resolve.repoKey=${virtualRepo}
4+
resolve.username=${username}
5+
resolve.password=${password}

build-info-extractor/src/test/java/org/jfrog/build/extractor/client/DeploymentUrlUtilsTest.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public void getDeploymentUrl() throws UnsupportedEncodingException {
3737
props.put(ClientProperties.PROP_DEPLOY_PARAM_PROP_PREFIX + "buildName", "moo");
3838
props.put(ClientProperties.PROP_DEPLOY_PARAM_PROP_PREFIX + "buildNumber", "1");
3939
String deploymentUrl = DeploymentUrlUtils.getDeploymentUrl(artifactoryUrl, props);
40-
Assert.assertEquals(deploymentUrl, artifactoryUrl + ";buildName=moo;buildNumber=1");
40+
Assert.assertEquals(deploymentUrl, artifactoryUrl + ";buildNumber=1;buildName=moo");
4141
}
4242

4343
public void getDeploymentUrlWithEncodingNeeded() throws UnsupportedEncodingException {
@@ -46,7 +46,7 @@ public void getDeploymentUrlWithEncodingNeeded() throws UnsupportedEncodingExcep
4646
props.put(ClientProperties.PROP_DEPLOY_PARAM_PROP_PREFIX + "build Name", "moo");
4747
props.put(ClientProperties.PROP_DEPLOY_PARAM_PROP_PREFIX + "build Number", "1");
4848
String deploymentUrl = DeploymentUrlUtils.getDeploymentUrl(artifactoryUrl, props);
49-
Assert.assertEquals(deploymentUrl, artifactoryUrl + ";build+Number=1;build+Name=moo");
49+
Assert.assertEquals(deploymentUrl, artifactoryUrl + ";build+Name=moo;build+Number=1");
5050
}
5151

5252

0 commit comments

Comments
 (0)