This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl --silent --basic http://<username>:<password>@<jenkins-url>/me/configure | hxselect '#apiToken' | sed 's/.*value="\([^"]*\)".*/\1\n/g' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node('linux') { | |
properties([[$class: 'RebuildSettings', autoRebuild: false, rebuildDisabled: false], | |
parameters( | |
[ | |
string(defaultValue: "", description: 'To', name: 'to'), | |
string(defaultValue: "", description: 'Cc', name: 'cc'), | |
string(defaultValue: "", description: 'Subject', name: 'subject'), | |
string(defaultValue: "", description: 'Body', name: 'body'), | |
string(defaultValue: "", description: 'From', name: 'from'), | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as fs from 'fs'; | |
import * as queryString from 'query-string'; | |
import * as request from 'request'; | |
import config from '../config/index'; | |
/**************************************************/ | |
// Interface Declaration | |
/**************************************************/ | |
export interface ISendEmailDetails { | |
to: string[]; // List of emailId's |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# { | |
# "repositories": [ | |
# { | |
# "url": "https://xxx.git", | |
# "baseBranch": "origin/release/1.x", | |
# "targetBranch": "origin/daily" | |
# }, | |
# { |
OlderNewer