aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2020-08-20 01:09:51 +0200
committerGerd Hoffmann <kraxel@redhat.com>2020-08-20 01:09:51 +0200
commit95f2b66bda85f9ab54dcdd1cee1e29fbdcd5a295 (patch)
treef224837321b1720d666bda4363e4ad6ad662431a
parent12be8f3b4bbc0c7a282380b677abde720d6cc40e (diff)
downloadjenkinsfiles-95f2b66bda85f9ab54dcdd1cee1e29fbdcd5a295.tar.gz
mirror setup in the logs
-rw-r--r--Jenkinsfile2
-rw-r--r--centos7-rpmbuild.yaml2
2 files changed, 2 insertions, 2 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index 1024492..6f4b83f 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -24,7 +24,7 @@ pipeline {
uname -a
printenv | sort
cat /etc/os-release
- grep baseurl /etc/yum.repos.d/*
+ /usr/local/bin/configure-mirror
'''
}
}
diff --git a/centos7-rpmbuild.yaml b/centos7-rpmbuild.yaml
index 90a3491..3dedb75 100644
--- a/centos7-rpmbuild.yaml
+++ b/centos7-rpmbuild.yaml
@@ -11,4 +11,4 @@ spec:
- name: "EPEL_MIRROR"
value: "http://spunk.home.kraxel.org/epel/"
tty: true
- command: [ "/bin/sh", "-c", "/usr/local/bin/configure-mirror && cat" ]
+ command: [ "cat" ]