@@ -34,7 +34,7 @@ public GradlePluginTest() {
34
34
envVars = new HashMap <String , String >(System .getenv ()) {{
35
35
putIfAbsent (BITESTS_ENV_VAR_PREFIX + "URL" , getArtifactoryUrl ());
36
36
putIfAbsent (BITESTS_ENV_VAR_PREFIX + "USERNAME" , getUsername ());
37
- putIfAbsent (BITESTS_ENV_VAR_PREFIX + "PASSWORD" , getPassword ());
37
+ putIfAbsent (BITESTS_ENV_VAR_PREFIX + "PASSWORD" , getAccessToken ());
38
38
putIfAbsent (BITESTS_ARTIFACTORY_ENV_VAR_PREFIX + "LOCAL_REPO" , localRepo1 );
39
39
putIfAbsent (BITESTS_ARTIFACTORY_ENV_VAR_PREFIX + "VIRTUAL_REPO" , virtualRepo );
40
40
}};
@@ -95,7 +95,7 @@ public void publicationsTestKotlinDsl(String gradleVersion) throws IOException {
95
95
public void ciServerTest (String gradleVersion ) throws IOException {
96
96
// Create test environment
97
97
createTestDir (GRADLE_EXAMPLE_CI_SERVER );
98
- generateBuildInfoProperties (getArtifactoryUrl (), getUsername (), getPassword (), localRepo1 , virtualRepo , "" , true , true );
98
+ generateBuildInfoProperties (getArtifactoryUrl (), getUsername (), getAccessToken (), localRepo1 , virtualRepo , "" , true , true );
99
99
Map <String , String > extendedEnv = new HashMap <String , String >(envVars ) {{
100
100
put (BuildInfoConfigProperties .PROP_PROPS_FILE , BUILD_INFO_PROPERTIES_TARGET .toString ());
101
101
}};
@@ -112,7 +112,7 @@ public void ciServerTest(String gradleVersion) throws IOException {
112
112
public void ciServerPublicationsTest (String gradleVersion ) throws IOException {
113
113
// Create test environment
114
114
createTestDir (GRADLE_EXAMPLE_CI_SERVER );
115
- generateBuildInfoProperties (getArtifactoryUrl (), getUsername (), getPassword (), localRepo1 , virtualRepo , "mavenJava,customIvyPublication" , true , true );
115
+ generateBuildInfoProperties (getArtifactoryUrl (), getUsername (), getAccessToken (), localRepo1 , virtualRepo , "mavenJava,customIvyPublication" , true , true );
116
116
Map <String , String > extendedEnv = new HashMap <String , String >(envVars ) {{
117
117
put (BuildInfoConfigProperties .PROP_PROPS_FILE , BUILD_INFO_PROPERTIES_TARGET .toString ());
118
118
}};
@@ -129,7 +129,7 @@ public void ciServerPublicationsTest(String gradleVersion) throws IOException {
129
129
public void requestedByTest (String gradleVersion ) throws IOException {
130
130
// Create test environment
131
131
createTestDir (GRADLE_EXAMPLE_CI_SERVER );
132
- generateBuildInfoProperties (getArtifactoryUrl (), getUsername (), getPassword (), localRepo1 , virtualRepo , "mavenJava,customIvyPublication" , false , true );
132
+ generateBuildInfoProperties (getArtifactoryUrl (), getUsername (), getAccessToken (), localRepo1 , virtualRepo , "mavenJava,customIvyPublication" , false , true );
133
133
Map <String , String > extendedEnv = new HashMap <String , String >(envVars ) {{
134
134
put (BuildInfoConfigProperties .PROP_PROPS_FILE , BUILD_INFO_PROPERTIES_TARGET .toString ());
135
135
}};
@@ -146,7 +146,7 @@ public void requestedByTest(String gradleVersion) throws IOException {
146
146
public void ciServerResolverOnlyTest (String gradleVersion ) throws IOException {
147
147
// Create test environment
148
148
createTestDir (GRADLE_EXAMPLE_CI_SERVER );
149
- generateBuildInfoProperties (getArtifactoryUrl (), getUsername (), getPassword (), localRepo1 , virtualRepo , "" , false , false );
149
+ generateBuildInfoProperties (getArtifactoryUrl (), getUsername (), getAccessToken (), localRepo1 , virtualRepo , "" , false , false );
150
150
Map <String , String > extendedEnv = new HashMap <String , String >(envVars ) {{
151
151
put (BuildInfoConfigProperties .PROP_PROPS_FILE , BUILD_INFO_PROPERTIES_TARGET .toString ());
152
152
}};
0 commit comments