Skip to content

Commit b398831

Browse files
author
m19936
committed
Updated jenkinsfile to target the official github repository
1 parent edadc72 commit b398831

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Jenkinsfilek8s

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ pipeline {
1616
DEPLOY_TOOL_URL = 'https://bitbucket.microchip.com/scm/citd/tool-github-deploy.git'
1717
DEPLOY_SCRIPT_FILE = 'tool-github-deploy/tool-github-deploy/tool-github-deploy.py'
1818
BITBUCKET_REPO = 'https://bitbucket.microchip.com/scm/mcu8mass/avr-iot-cellular-arduino-library.git'
19-
GITHUB_REPO = 'https://github.com/mchpTestArea/avr-iot-test'
20-
GITHUB_REPO_SHORT = 'avr-iot-test'
21-
GITHUB_ORG = 'mchpTestArea'
22-
TARGET_BRANCH = 'sandbox'
19+
GITHUB_REPO = 'https://github.com/microchip-pic-avr-solutions/avr-iot-cellular-arduino-library'
20+
GITHUB_REPO_SHORT = 'avr-iot-cellular-arduino-library'
21+
GITHUB_ORG = 'microchip-pic-avr-solutions'
22+
TARGET_BRANCH = 'main'
2323
}
2424

2525
stages {
@@ -99,7 +99,7 @@ pipeline {
9999
stage('GitHub-Release') {
100100
steps {
101101
script {
102-
withCredentials([usernamePassword(credentialsId: 'github_mchptest', usernameVariable: 'USER_NAME', passwordVariable:'PASS' )]) {
102+
withCredentials([usernamePassword(credentialsId: 'pic_avr_github', usernameVariable: 'USER_NAME', passwordVariable:'PASS' )]) {
103103
sh "python3 ${env.DEPLOY_SCRIPT_FILE} -rlo=true -gpat=${PASS} -dgid=${USER_NAME} -rpn=${GITHUB_REPO_SHORT} -rporg=${GITHUB_ORG} -rltt=\"${env.GIT_TAG}\" -rltv=\"${env.GIT_TAG}\" -rlua=\"avr-iot-cellular-${env.GIT_TAG}.zip, builds/mini/sandbox.ino.hex\""
104104
}
105105
}

0 commit comments

Comments
 (0)