sudo yum install sendmail sendmail-cf m4
Configurables defined in /etc/mail/.
#!/usr/bin/bash | |
## | |
## Read more about the definitions here regarding the REST-APIs: | |
## https://www.jfrog.com/confluence/display/RTF/Artifactory+REST+API | |
## | |
## Note: This script uses the maven-metadata.xml-file in order to determine the latest JAR-artifact. | |
## | |
## Script properties: | |
## - ARTIFACTORY = https://<artifactory-domain>/artifactory |
This is quite simple, and requires just that you add your script somewhere on the Jenkins server (you may also put shell code directly in to Jenkins, but..why). Anyway.
When failing tests, you must use:
exit
This causes Jenkins to go in to a failed-build state :-)
public enum DTMFUtils { | |
INSTANCE; | |
private static final ODLLogger LOG = ODLLogger.getODLLogger(ResourceSyncConstants.LOGGER); | |
private static final Map<Character, Character> KEYPAD_MAP = new HashMap<>(); | |
private static final String REGEX_ILLEGAL_CHARS = "[^\\p{IsAlphabetic}^\\p{IsDigit}]"; | |
private static final String EMPTY = ""; | |
static { |
Using the public API from Bring https://api.bring.com/pickuppoint/api/pickuppoint/no/all I needed to find all pickup point names, and the longest name. Used jq
for this:
jq '.pickupPoint[] | .name' response.json >> pickup-points.out
awk '{ if (length($0) > length(longest)) longest = $0 } END { print longest }' pickup-points.out
package com.vegaasen.fun.ldap.utils; | |
/** | |
* Simple utilities used to perform operations regarding LDAP-related tasks | |
* | |
* @author <a href="mailto:[email protected]">vegaraa</a> | |
* @since 18.8.2015 | |
*/ | |
public class LDAPUtils { |
-- This is a simple script (TOTALLY AND UTTERLY UNSUPPORTED) which simply just removes all accounds created in OIM. | |
-- The users with the keys 1, 2, 3 and .. is skipped, as they are all registered as system-specific users. | |
-- | |
-- Used with OIM version 11g R2 PS2 | |
-- | |
-- @since 01.06.2015 | |
-- @author vegaasen | |
-- @version 11gR2ps2 | |
--Custom tables |