Skip to content

Commit bc22f68

Browse files
committed
Auto plugin push
1 parent a1ac0d2 commit bc22f68

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\\concealment.zip\" \"$USERNAME\" \"$TOKEN\""
85+
}
86+
}
8287
}
8388
else
8489
currentBuild.result = "FAIL"

0 commit comments

Comments
 (0)