Skip to content

Commit

Permalink
fix python-swsssdk, python-asyncsnmp (sonic-net#176)
Browse files Browse the repository at this point in the history
Co-authored-by: Shilong Liu <[email protected]>
  • Loading branch information
liushilongbuaa and liushilongbuaa authored Oct 26, 2020
1 parent 42af14f commit 8b338ec
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions jenkins/common/python-asyncsnmp-build/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ pipeline {

options {
timestamps()
buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '', daysToKeepStr: '', numToKeepStr: '10'))
buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '', daysToKeepStr: '', numToKeepStr: '20'))
}

environment {
SONIC_TEAM_WEBHOOK = credentials('public-jenkins-builder')
}

triggers {
upstream 'python-swssdk-build'
upstream 'python-swsssdk-build'
pollSCM 'H * * * *'
}

Expand All @@ -25,7 +25,7 @@ pipeline {
extensions: [[$class: 'SubmoduleOption', disableSubmodules: false, parentCredentials: false, recursiveSubmodules: true, reference: '', trackingSubmodules: false]],
submoduleCfg: [], userRemoteConfigs: [[url: 'https://github.com/Azure/sonic-snmpagent']]])

copyArtifacts filter: 'target/python-wheels/*-py3-*.whl', fingerprintArtifacts: true, flatten: true, projectName: 'python-swssdk-build', target: 'target/python-wheels/'
copyArtifacts filter: 'target/python-wheels/*-py3-*.whl', fingerprintArtifacts: true, flatten: true, projectName: 'python-swsssdk-build', target: 'target/python-wheels/'
copyArtifacts filter: 'target/debs/stretch/*.deb', fingerprintArtifacts: true, flatten: true, projectName: 'dep-build', target: 'target/debs/'
}
}
Expand Down
4 changes: 2 additions & 2 deletions jenkins/common/python-swsssdk-build/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ pipeline {
agent { node { label 'sonic-slave' } }

options {
buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '', daysToKeepStr: '', numToKeepStr: '10'))
buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '', daysToKeepStr: '', numToKeepStr: '20'))
}

environment {
SONIC_TEAM_WEBHOOK = credentials('public-jenkins-builder')
}

triggers {
cron('H * * * *')
pollSCM('H * * * *')
}

stages {
Expand Down

0 comments on commit 8b338ec

Please sign in to comment.