Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- try {
- def requestBody = Json.stringify([
- trigger: [
- batch: true/*,
- branches: [
- include:
- /*- dev_integracao
- - release
- - master
- /*- refs/tags/develop/*
- - refs/tags/release/*
- - refs/tags/production/*
- ] */
- ],
- variables: "",
- "pool": [
- "id": 8,
- "name": "Default",
- "isHosted": true
- ],
- retentionRules: [
- branches: [
- "+refs/heads/*"
- ],
- daysToKeep: 10,
- minimumToKeep: 1,
- deleteBuildRecord: true,
- deleteTestResults: true,
- buildNumberFormat: "\$(date:yyyyMMdd)\$(rev:.r)",
- jobAuthorizationScope: 1,
- jobTimeoutInMinutes: 60,
- jobCancelTimeoutInMinutes: 5,
- ],
- process: [
- yamlFilename: ".az-devops/pipeline-azure.yml",
- type: 2
- ],
- repository: [
- properties: [
- labelSources: 6,
- labelSourcesFormat: 0,
- reportBuildStatus: true,
- fetchDepth: 0,
- cleanOptions: 3,
- gitLfsSupport: false,
- skipSyncSource: false,
- checkoutNestedSubmodules: false
- ],
- id: repositoryId,
- type: "TfsGit",
- name: repositoryId,
- defaultBranch: "refs/heads/dev_integracao",
- clean: true,
- checkoutSubmodules: false,
- ],
- name: repositoryId + build.threadLocalRandomSeed,
- path: "\\hefesto\\",
- type: 2,
- project: [
- id: "47b49adc-f41d-4c70-861e-68157bc8794f"
- ],
- queue : [
- pool : [
- id : 1,
- name : "Default",
- isHosted: true
- ]
- ],
- pool: [
- vmImage: 'AWS-Pool'
- ]
- ])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement