Skip to content

Commit 1f15c64

Browse files
committed
Attempt plugin auto publish
1 parent aa35ccc commit 1f15c64

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

‎Jenkins/PluginPush.exe‎

6.5 KB
Binary file not shown.

‎Jenkinsfile‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,11 @@ node {
7979
powershell "Add-Type -Assembly System.IO.Compression.FileSystem; [System.IO.Compression.ZipFile]::CreateFromDirectory(\"\$PWD\\${packageDir}\", \"\$PWD\\${zipFile}\")"
8080
archiveArtifacts artifacts: zipFile, caseSensitive: false, onlyIfSuccessful: true
8181
}
82+
stage('Release') {
83+
withCredentials([usernamePassword(credentialsId: 'jimmacle-plugin-publish', usernameVariable: 'USERNAME', passwordVariable: 'TOKEN')]) {
84+
bat Jenkins/PluginPush.exe "..\\bin\\essentials.zip" "$USERNAME" "$TOKEN"
85+
}
86+
}
8287
}
8388
else
8489
currentBuild.result = "FAIL"

0 commit comments

Comments
 (0)