Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: enable upload artifacts #1147

Merged
merged 12 commits into from
Feb 28, 2022
5 changes: 4 additions & 1 deletion .ci/Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env groovy

@Library('apm@current') _
@Library('apm@test/publish') _
v1v marked this conversation as resolved.
Show resolved Hide resolved

pipeline {
agent { label 'ubuntu-18 && immutable' }
Expand All @@ -10,6 +10,8 @@ pipeline {
DOCKER_COMPOSE_VERSION = '1.25.5'
JOB_GIT_CREDENTIALS = "f6c7695a-671e-4f4f-a331-acdce44ff9ba"
PIPELINE_LOG_LEVEL='INFO'
JOB_GCS_BUCKET = 'beats-ci-artifacts'
JOB_GCS_CREDENTIALS = 'beats-ci-gcs-plugin-file-credentials'
}
options {
timeout(time: 1, unit: 'HOURS')
Expand Down Expand Up @@ -100,6 +102,7 @@ pipeline {
dir("${BASE_DIR}"){
withGoEnv(){
sh(label: 'Create release artifacts', script: 'make docker-release')
uploadPackagesToGoogleBucket(pattern: 'build/binaries/**/*')
v1v marked this conversation as resolved.
Show resolved Hide resolved
v1v marked this conversation as resolved.
Show resolved Hide resolved
}
}
}
Expand Down