Me manda o link com o arquivo publicado no stackedit
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
def call() { | |
if (env.CHANGE_BRANCH && env.BUILD_NUMBER == "1" && env.BRANCH_NAME.contains('PR')) { | |
try { | |
withCredentials([string(credentialsId: 'jira-token', variable: 'JIRA_TOKEN')]) { | |
sh """ curl -s -X POST https://${env.JIRA_URL}/rest/api/2/issue/${env.CHANGE_BRANCH}/comment -H 'Authorization: Basic ${JIRA_TOKEN}' -H 'Content-Type: application/json' -d '{ "body": "PR - ${env.CHANGE_URL} "}' """ | |
} | |
} catch (err) { | |
println("Can't update Task on Jira") | |
} | |
} else { |
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
apiVersion: apps/v1 | |
kind: DaemonSet | |
metadata: | |
labels: | |
name: startup | |
name: startup | |
namespace: default | |
spec: | |
selector: | |
matchLabels: |
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
0.0 TEL | Telepresence 0.102 launched at Tue Oct 8 11:21:41 2019 | |
0.0 TEL | /usr/bin/telepresence --swap-deployment api --namespace localdev --context minikube --local-cluster --logfile /tmp/telepresence.log --run npm run dev | |
0.0 TEL | Platform: linux | |
0.0 TEL | Python 3.6.8 (default, Aug 20 2019, 17:12:48) | |
0.0 TEL | [GCC 8.3.0] | |
0.0 TEL | [1] Running: uname -a | |
0.0 1 | Linux note-daniel 5.0.0-31-generic #33~18.04.1-Ubuntu SMP Tue Oct 1 10:20:39 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux | |
0.0 TEL | [1] ran in 0.00 secs. | |
0.0 TEL | BEGIN SPAN main.py:40(main) | |
0.0 TEL | BEGIN SPAN startup.py:73(__init__) |