Skip to content

Commit 6cc70f5

Browse files
Merge pull request #1769 from edx/katebygrace/remove-securescm
chore: remove secure scm
2 parents c0c39b2 + b3243dc commit 6cc70f5

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

dataeng/jobs/analytics/SnowflakeCollectMetrics.groovy

+1-4
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ package analytics
22

33
import static org.edx.jenkins.dsl.AnalyticsConstants.common_log_rotator
44
import static org.edx.jenkins.dsl.AnalyticsConstants.common_publishers
5-
import static org.edx.jenkins.dsl.AnalyticsConstants.secure_scm
6-
import static org.edx.jenkins.dsl.AnalyticsConstants.secure_scm_parameters
75

86

97
class SnowflakeCollectMetrics {
@@ -23,7 +21,6 @@ class SnowflakeCollectMetrics {
2321
dslFactory.job(jobConfig['NAME']){
2422

2523
logRotator common_log_rotator(allVars)
26-
parameters secure_scm_parameters(allVars)
2724
parameters {
2825
stringParam('ANALYTICS_TOOLS_URL', allVars.get('ANALYTICS_TOOLS_URL'), 'URL for the analytics tools repo.')
2926
stringParam('ANALYTICS_TOOLS_BRANCH', allVars.get('ANALYTICS_TOOLS_BRANCH'), , 'Branch of analytics tools repo to use.')
@@ -36,7 +33,7 @@ class SnowflakeCollectMetrics {
3633
env('SNOWFLAKE_WAREHOUSE', 'LOADING')
3734
env('METRIC_NAME', jobConfig['NAME'])
3835
}
39-
multiscm secure_scm(allVars) << {
36+
multiscm {
4037
git {
4138
remote {
4239
url('$ANALYTICS_TOOLS_URL')

dataeng/jobs/analytics/SnowflakePublicGrantsCleaner.groovy

+1-4
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,13 @@ import static org.edx.jenkins.dsl.AnalyticsConstants.common_log_rotator
66
import static org.edx.jenkins.dsl.AnalyticsConstants.common_wrappers
77
import static org.edx.jenkins.dsl.AnalyticsConstants.common_publishers
88
import static org.edx.jenkins.dsl.AnalyticsConstants.common_triggers
9-
import static org.edx.jenkins.dsl.AnalyticsConstants.secure_scm_parameters
10-
import static org.edx.jenkins.dsl.AnalyticsConstants.secure_scm
119

1210

1311

1412
class SnowflakePublicGrantsCleaner {
1513
public static def job = { dslFactory, allVars ->
1614
dslFactory.job("snowflake-public-grants-cleaner") {
1715
logRotator common_log_rotator(allVars)
18-
parameters secure_scm_parameters(allVars)
1916
parameters {
2017
stringParam('ANALYTICS_TOOLS_URL', allVars.get('ANALYTICS_TOOLS_URL'), 'URL for the analytics tools repo.')
2118
stringParam('ANALYTICS_TOOLS_BRANCH', allVars.get('ANALYTICS_TOOLS_BRANCH'), 'Branch of analtyics tools repo to use.')
@@ -28,7 +25,7 @@ class SnowflakePublicGrantsCleaner {
2825
env('USER', allVars.get('USER'))
2926
env('ACCOUNT', allVars.get('ACCOUNT'))
3027
}
31-
multiscm secure_scm(allVars) << {
28+
multiscm {
3229
git {
3330
remote {
3431
url('$ANALYTICS_TOOLS_URL')

0 commit comments

Comments
 (0)