commit | f358b3c33c1a985b953c32bb77ff65ff29e898e2 | [log] [tgz] |
---|---|---|
author | R. Tyler Croy <tyler@monkeypox.org> | Mon Feb 06 01:01:03 2017 -0800 |
committer | R. Tyler Croy <tyler@monkeypox.org> | Mon Feb 06 01:01:03 2017 -0800 |
tree | e87e17cb357fbf42474c483470060689e731f852 | |
parent | 5eb7141b8c19b50a98304094682574a7f4ec4670 [diff] [blame] |
Update the Jenkinsfile to publish containers when running in trusted.ci See also <https://github.com/jenkins-infra/pipeline-library> Fixes INFRA-729
diff --git a/Jenkinsfile b/Jenkinsfile index 7f4f4bb..3170bf9 100644 --- a/Jenkinsfile +++ b/Jenkinsfile
@@ -18,4 +18,10 @@ bats/bin/bats tests """ } + + if (infra.isTrusted()) { + stage('Publish') { + sh './weekly.sh' + } + } }