jenkins_url + /api/json?tree=jobs[name,color]
jenkins_url + /job/${job_name}/api/json?tree=builds[number,status,timestamp,id,result]
| def configuration = [ | |
| [ | |
| name : "Core", | |
| repositories: "jenkins" | |
| ], | |
| [ | |
| name : "Infra", | |
| repositories: "*", | |
| owner : "jenkins-infra" |
| ```bash | |
| # rm /etc/SUSEConnect | |
| # rm -f /etc/zypp/{repos,services,credentials}.d/* | |
| # rm -f /usr/lib/zypp/plugins/services/* | |
| # sed -i '/^# Added by SMT reg/,+1d' /etc/hosts | |
| # /usr/sbin/registercloudguest --force-new | |
| ``` | |
| ## Reference |
| #!/bin/bash | |
| # downloads latest version of an artifact from artifactory | |
| set -e | |
| usage(){ | |
| echo "Usage: $*" >&2 | |
| exit 64 | |
| } |
| /var/log/openresty/*.log { | |
| daily | |
| missingok rotate 52 | |
| compress delaycompress | |
| notifempty create 640 nobody trusted | |
| sharedscripts | |
| postrotate | |
| container_name=openresty | |
| openresty_running=$(docker inspect --format="{{ .State.Running }}" $container_name 2> /dev/null) | |
| if [ "$openresty_running" == "true" ]; then |
[libjpeg-turbo]
name = libjpeg-turbo official RPMs
baseurl = https://downloads.sourceforge.net/sourceforge/libjpeg-turbo
enabled = 1
gpgcheck = 1
gpgkey = http://pgp.mit.edu/pks/lookup?op=get&search=0x85C7044E033FDE16