Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit d2685a8

Browse files
committed
Use codecov token from Jenkins credentials
Signed-off-by: Joffrey F <[email protected]>
1 parent bf58d61 commit d2685a8

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Jenkinsfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,17 +45,20 @@ pipeline {
4545
stage('Test') {
4646
parallel {
4747
stage("Coverage report") {
48+
environment {
49+
CODECOV_TOKEN = credentials('jenkins-codecov-token')
50+
}
51+
4852
agent {
4953
label 'gcp-linux-worker-0'
5054
}
5155
steps {
5256
dir('src/github.com/docker/lunchbox') {
5357
checkout scm
54-
sh 'ls -la'
5558
sh 'make ci-coverage'
5659
archiveArtifacts 'cov/all.out'
5760
archiveArtifacts 'cov/coverage.html'
58-
sh 'curl -s https://codecov.io/bash | bash -s - -t 0b5323a7-aa90-4855-95ad-c859a917d611 -f cov/all.out -K'
61+
sh 'curl -s https://codecov.io/bash | bash -s - -f cov/all.out -K'
5962
}
6063
}
6164
}

0 commit comments

Comments
 (0)