Verify (in repo):
- setup.py has been updated
- CHANGELOG has been updated
(env)classy:bootstrap-cfn filippos$ cat ~/.pypirc
| # `wrong` in Perl. https://github.com/sconover/wrong | |
| # | |
| # | |
| =head1 SYNOPSIS | |
| #!perl | |
| use strict; |
Jenkins script console allows one to run groovy scripts/code to automate jenkins setup e.g installing plugins, setting configuration parameters. These groovy scripts can be run either through the web ui, or event loaded as scripts using curl from command line. With these groovy scripts, jenkins configurations can be completely automated.
Lets explore this script console and learn how to write/load simple scripts.
From the jenkins UI, choose Jenkins => Manage Jenkins => Script Console . You should see script console installed, in which run the following,
| #!/bin/bash | |
| # author: Yoram van de Velde ( _@sp2.io ) | |
| # Examples of why pipefail is really important to use. | |
| # We enable exit on error functionality | |
| set -o errexit | |
| # These commands will fail but not stop the script because of the pipes | |
| # to succesfull commands. This works because error is output to stderr, |
| AWSTemplateFormatVersion: '2010-09-09' | |
| Metadata: {} | |
| Parameters: | |
| ########### | |
| KeyName: | |
| Description: The EC2 Key Pair to allow SSH access to the instance | |
| Type: 'AWS::EC2::KeyPair::KeyName' | |
| AvailabilityZone: | |
| Description: Availability zone to deploy |
| version: "2" | |
| services: | |
| varnish: | |
| #hostname: magento2.docker | |
| image: meanbee/magento2-varnish:latest | |
| environment: | |
| - VIRTUAL_HOST=magento2.docker | |
| - VIRTUAL_PORT=80 | |
| - HTTPS_METHOD=noredirect | |
| ports: |
The Sysdig Datasource Plugin for Grafana is now open-source!
You can visit the documentation and code at https://github.com/draios/grafana-sysdig-datasource.
| import com.cloudbees.plugins.credentials.* | |
| import com.cloudbees.plugins.credentials.common.* | |
| import com.cloudbees.plugins.credentials.domains.* | |
| import com.cloudbees.plugins.credentials.impl.* | |
| import com.cloudbees.jenkins.plugins.sshcredentials.impl.* | |
| import org.jenkinsci.plugins.plaincredentials.impl.* | |
| // def item = Jenkins.instance.getItem("your-folder") |