Skip to content

Commit e46d183

Browse files
[APM-CI] update codecov step (#449)
1 parent 090b938 commit e46d183

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Jenkinsfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ pipeline {
1717
PIPELINE_LOG_LEVEL='INFO'
1818
NOTIFY_TO = credentials('notify-to')
1919
JOB_GCS_BUCKET = credentials('gcs-bucket')
20+
CODECOV_SECRET = 'secret/apm-team/ci/apm-agent-python-codecov'
2021
}
2122
options {
2223
timeout(time: 1, unit: 'HOURS')
@@ -119,9 +120,6 @@ pipeline {
119120
beforeAgent true
120121
allOf {
121122
anyOf {
122-
not {
123-
changeRequest()
124-
}
125123
branch 'master'
126124
branch "\\d+\\.\\d+"
127125
branch "v\\d?"
@@ -226,7 +224,8 @@ class PythonParallelTaskGenerator extends DefaultParallelTaskGenerator {
226224
steps.env.WEBFRAMEWORK = "${y}"
227225
steps.codecov(repo: 'apm-agent-python',
228226
basedir: "${steps.env.BASE_DIR}",
229-
flags: "-e PYTHON_VERSION,WEBFRAMEWORK")
227+
flags: "-e PYTHON_VERSION,WEBFRAMEWORK",
228+
secret: "${steps.env.CODECOV_SECRET}")
230229
}
231230
}
232231
}

0 commit comments

Comments
 (0)