mirror of
https://github.com/intel/intel-device-plugins-for-kubernetes.git
synced 2025-06-03 03:59:37 +00:00
Jenkinsfile: do not push images if job was PR-triggered
This commit is contained in:
parent
5ebd0d3053
commit
1b815e930c
11
Jenkinsfile
vendored
11
Jenkinsfile
vendored
@ -155,11 +155,12 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
stage('push images') {
|
||||||
post {
|
when { not { changeRequest() } }
|
||||||
success {
|
steps {
|
||||||
withDockerRegistry([ credentialsId: "e16bd38a-76cb-4900-a5cb-7f6aa3aeb22d", url: "https://${REG}" ]) {
|
withDockerRegistry([ credentialsId: "e16bd38a-76cb-4900-a5cb-7f6aa3aeb22d", url: "https://${REG}" ]) {
|
||||||
sh "make push"
|
sh "make push"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user