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

Commit df94a8a

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

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Jenkinsfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,15 @@ pipeline {
4747
label 'gcp-linux-worker-0'
4848
}
4949
steps {
50+
environment {
51+
CODECOV_TOKEN = credentials('jenkins-codecov-token')
52+
}
5053
dir('src/github.com/docker/lunchbox') {
5154
checkout scm
52-
sh 'ls -la'
5355
sh 'make ci-coverage'
5456
archiveArtifacts 'cov/all.out'
5557
archiveArtifacts 'cov/coverage.html'
56-
sh 'curl -s https://codecov.io/bash | bash -s - -t 0b5323a7-aa90-4855-95ad-c859a917d611 -f cov/all.out -K'
58+
sh 'curl -s https://codecov.io/bash | bash -s - -f cov/all.out -K'
5759
}
5860
}
5961
}
@@ -65,7 +67,6 @@ pipeline {
6567
dir('src/github.com/docker/lunchbox') {
6668
deleteDir()
6769
unstash 'e2e'
68-
sh 'ls -la'
6970
sh './docker-app-e2e-linux'
7071
}
7172
}
@@ -78,7 +79,6 @@ pipeline {
7879
dir('src/github.com/docker/lunchbox') {
7980
deleteDir()
8081
unstash 'e2e'
81-
sh 'ls -la'
8282
sh './docker-app-e2e-darwin'
8383
}
8484
}

0 commit comments

Comments
 (0)