From f918dd5df8cea3b3b14e047c4d940680b646944b Mon Sep 17 00:00:00 2001 From: Emotion Date: Fri, 20 May 2022 02:05:13 +1200 Subject: [PATCH 1/2] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 99f8427..c817b08 100644 --- a/README.md +++ b/README.md @@ -1 +1,3 @@ # SupportChild + +this is a customized version of [SupportBoi](https://github.com/KarlOfDuty/SupportBoi) it is recommended you go and check out the awesome work that is there! From f4cb10f0270080d13484d28ce2dc4ce22ffb7e9e Mon Sep 17 00:00:00 2001 From: Emotion Date: Fri, 20 May 2022 02:08:22 +1200 Subject: [PATCH 2/2] Create Jenkinsfile --- Jenkinsfile | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..263f4a9 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,38 @@ +pipeline { + agent any + stages { + stage('Setup Dependencies') { + steps { + sh 'dotnet restore' + } + } + stage('Build') { + parallel { + stage('Linux') { + steps { + sh 'dotnet publish -p:PublishSingleFile=true -p:IncludeAllContentForSelfExtract=true -p:PublishTrimmed=true -r linux-x64 -c Release --self-contained true --no-restore --output Linux-x64/' + } + } + stage('Windows') { + steps { + sh 'dotnet publish -p:PublishSingleFile=true -p:IncludeAllContentForSelfExtract=true -p:PublishTrimmed=true -r win-x64 -c Release --self-contained true --no-restore --output Windows-x64/' + } + } + } + } + stage('Archive') { + parallel { + stage('Linux') { + steps { + archiveArtifacts(artifacts: 'Linux-x64/SupportChild', caseSensitive: true) + } + } + stage('Windows') { + steps { + archiveArtifacts(artifacts: 'Windows-x64/SupportChild.exe', caseSensitive: true) + } + } + } + } + } +}