Jenkins Test #8
This commit is contained in:
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@@ -85,7 +85,7 @@ pipeline {
|
|||||||
def debugUrl = "${env.BUILD_URL}artifact/builds/KhaoticEngineReborn_Debug.zip"
|
def debugUrl = "${env.BUILD_URL}artifact/builds/KhaoticEngineReborn_Debug.zip"
|
||||||
def releaseUrl = "${env.BUILD_URL}artifact/builds/KhaoticEngineReborn_Release.zip"
|
def releaseUrl = "${env.BUILD_URL}artifact/builds/KhaoticEngineReborn_Release.zip"
|
||||||
bat """
|
bat """
|
||||||
curl -X POST http://host.docker.internal:2500/ci-notify ^
|
curl -X POST http://192.168.1.131:2500/ci-notify ^
|
||||||
-H "Content-Type: application/json" ^
|
-H "Content-Type: application/json" ^
|
||||||
-d "{\\"userId\\": \\"378262266723696651\\",\\"status\\": \\"success\\",\\"urls\\":[\\"${debugUrl}\\",\\"${releaseUrl}\\"]}"
|
-d "{\\"userId\\": \\"378262266723696651\\",\\"status\\": \\"success\\",\\"urls\\":[\\"${debugUrl}\\",\\"${releaseUrl}\\"]}"
|
||||||
"""
|
"""
|
||||||
@@ -94,7 +94,7 @@ pipeline {
|
|||||||
failure {
|
failure {
|
||||||
script {
|
script {
|
||||||
bat """
|
bat """
|
||||||
curl -X POST http://host.docker.internal:2500/ci-notify ^
|
curl -X POST http://192.168.1.131:2500/ci-notify ^
|
||||||
-H "Content-Type: application/json" ^
|
-H "Content-Type: application/json" ^
|
||||||
-d "{\\"userId\\": \\"378262266723696651\\",\\"status\\": \\"failure\\",\\"urls\\":[]}"
|
-d "{\\"userId\\": \\"378262266723696651\\",\\"status\\": \\"failure\\",\\"urls\\":[]}"
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user