1
0
Fork 0

global success should be defined outside

This commit is contained in:
Mikhail Goncharov 2019-12-18 18:22:47 +01:00
parent fba8c75447
commit 2b8ad25ec1

View file

@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.
def success = true
pipeline {
agent { label 'linux' }
parameters {
@ -33,7 +35,6 @@ pipeline {
steps {
echo "Building diff ${DIFF_ID} with PHID ${PHID}"
script {
def success = true
def revision_phid = sh(script:
'echo \'{"constraints":{"ids":[' + DIFF_ID + ']}}\' | '+
'arc call-conduit --conduit-uri=$PHABRICATOR_HOST --conduit-token $CONDUIT_TOKEN differential.diff.search | ' +