-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJenkinsfile
More file actions
25 lines (25 loc) · 835 Bytes
/
Jenkinsfile
File metadata and controls
25 lines (25 loc) · 835 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
pipeline {
agent any
options {
buildDiscarder(logRotator(artifactNumToKeepStr: '10'))
}
stages {
stage ('BuildPMMP') {
steps {
sh 'chmod +x scripts/build-pmmp.sh'
sh 'scripts/build-pmmp.sh'
}
post {
success {
archiveArtifacts artifacts: 'FallenCore_v1.phar', fingerprint: true
}
}
}
}
post {
always {
deleteDir()
discordSend(customAvatarUrl: "https://i.imgur.com/kEaewDN.png", webhookURL: "https://ptb.discord.com/api/webhooks/-", description: "**Build:** ${env.BUILD_NUMBER}\n**Status:** Success\n\n**Changes:**\n${env.BUILD_URL}", footer: "Fallentech Build System", link: "${env.BUILD_URL}", successful: true, title: "Build Success: FallenCore", unstable: false, result: "SUCCESS")
}
}
}