[JIRA] (JENKINS-38351) Add job DSL script support for aws device farm plugin

2016-10-17 Thread m...@daniel-spilker.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Daniel Spilker updated  JENKINS-38351  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Sanyasirao Mopada use the mailing list or Stack Overflow for any syntax questions, provide a minimal example that reproduces your problem and use proper formatting so that your example is readable. https://groups.google.com/forum/?fromgroups#!forum/job-dsl-plugin https://stackoverflow.com/questions/tagged/jenkins-job-dsl  
 

  
 
 
 
 

 
 Jenkins /  JENKINS-38351  
 
 
  Add job DSL script support for aws device farm plugin   
 

  
 
 
 
 

 
Change By: 
 Daniel Spilker  
 
 
Status: 
 In Review Closed  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to 

[JIRA] (JENKINS-38351) Add job DSL script support for aws device farm plugin

2016-09-20 Thread sanyasirao.mop...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Sanyasirao Mopada edited a comment on  JENKINS-38351  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Add job DSL script support for aws device farm plugin   
 

  
 
 
 
 

 
 {{ freeStyleJob(projectName) {  scm {git {  remote {url(gitUrl)credentials(gitCredentialsId)  }  extensions {submoduleOption {  // By disabling support for submodules you can still keep using basic git plugin functionality and just have Jenkins to ignore submodules completely as if they didn't exist.  disableSubmodules(false)  // Retrieve all submodules recursively (uses '--recursive' option which requires git>=1.6.5)  recursiveSubmodules(true)  // Retrieve the tip of the configured branch in .gitmodules (Uses '--remote' option which requires git>=1.8.2)  trackingSubmodules(true)  // Specify a folder containing a repository that will be used by Git as a reference during clone operations.  reference(null)  // Specify a timeout (in minutes) for submodules operations.  timeout(subModuleTimeOut)  // Use credentials from the default remote of the parent project.  parentCredentials(false)}  }}  }  triggers {bitbucketPush()  }  steps{shell(readFileFromWorkspace('shellScript.sh'))  }  publishers {archiveArtifacts {  // If set, does not fail the build if archiving returns nothing.  allowEmpty(true)  // Uses default excludes.  defaultExcludes(true)  // Specifies files that will not be archived.  exclude(null)  // Fingerprints all archived artifacts.  fingerprint(false)  // Archives artifacts only if the build is successful.  onlyIfSuccessful(false)  // Specifies the files to archive.  pattern(archiveArtifactPattern)} androidApkUpload {  // Specifies filenames or patterns matching one or more APKs that should be uploaded to Google Play.  apkFilesPattern(googlePlayApkPattern)  // Specifies filenames or patterns matching zero or more expansion files that should be associated with the APK files being uploaded to Google Play.  expansionFilesPattern(null)  googleCredentialsId(googlePlayCredentialId)  // You can optionally apply "What's new" text to the uploaded APK(s), in order to inform your user of changes contained in the new app version.  recentChangeList{}  // The percentage of existing production users to which the uploaded APK(s) should be rolled out.  rolloutPercentage(null)  // The release track to which the given APK file(s) will be assigned.  trackName(googlePlayReleaseTrack)  usePreviousExpansionFilesIfMissing(false)}awsDeviceFarmRecorder {  projectName('BoilerPlate')  devicePoolName('Test')  appArtifact('example')  runName('${BUILD_TAG}')  testToRun('example')  storeResults(true)  isRunUnmetered(true)  eventCount('example')  eventThrottle('example')  seed('example')  username('example')  password('example')  appiumJavaJUnitTest('example')  appiumJavaTestNGTest('example')  appiumPythonTest('example')  calabashFeatures('example')  calabashTags('example')  calabashProfile('example')  junitArtifact('example')  junitFilter('example')  uiautomatorArtifact('example')  uiautomatorFilter('example')  uiautomationArtifact('example')  xctestArtifact('example')  xctestUiArtifact('example')  ignoreRunError(true)}mailer(emailList, false, true)  }  wrappers {maskPasswords()artifactoryMaven3NativeConfigurator {  details {artifactoryName(mavenArtifactoryName)artifactoryUrl(mavenArtifactoryUrl)

[JIRA] (JENKINS-38351) Add job DSL script support for aws device farm plugin

2016-09-20 Thread sanyasirao.mop...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Sanyasirao Mopada edited a comment on  JENKINS-38351  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Add job DSL script support for aws device farm plugin   
 

  
 
 
 
 

 
 {{ freeStyleJob(projectName) {  scm {git {  remote {url(gitUrl)credentials(gitCredentialsId)  }  extensions {submoduleOption {  // By disabling support for submodules you can still keep using basic git plugin functionality and just have Jenkins to ignore submodules completely as if they didn't exist.  disableSubmodules(false)  // Retrieve all submodules recursively (uses '--recursive' option which requires git>=1.6.5)  recursiveSubmodules(true)  // Retrieve the tip of the configured branch in .gitmodules (Uses '--remote' option which requires git>=1.8.2)  trackingSubmodules(true)  // Specify a folder containing a repository that will be used by Git as a reference during clone operations.  reference(null)  // Specify a timeout (in minutes) for submodules operations.  timeout(subModuleTimeOut)  // Use credentials from the default remote of the parent project.  parentCredentials(false)}  }}  }  triggers {bitbucketPush()  }  steps{shell(readFileFromWorkspace('shellScript.sh'))  }  publishers {archiveArtifacts {  // If set, does not fail the build if archiving returns nothing.  allowEmpty(true)  // Uses default excludes.  defaultExcludes(true)  // Specifies files that will not be archived.  exclude(null)  // Fingerprints all archived artifacts.  fingerprint(false)  // Archives artifacts only if the build is successful.  onlyIfSuccessful(false)  // Specifies the files to archive.  pattern(archiveArtifactPattern)} androidApkUpload {  // Specifies filenames or patterns matching one or more APKs that should be uploaded to Google Play.  apkFilesPattern(googlePlayApkPattern)  // Specifies filenames or patterns matching zero or more expansion files that should be associated with the APK files being uploaded to Google Play.  expansionFilesPattern(null)  googleCredentialsId(googlePlayCredentialId)  // You can optionally apply "What's new" text to the uploaded APK(s), in order to inform your user of changes contained in the new app version.  recentChangeList{}  // The percentage of existing production users to which the uploaded APK(s) should be rolled out.  rolloutPercentage(null)  // The release track to which the given APK file(s) will be assigned.  trackName(googlePlayReleaseTrack)  usePreviousExpansionFilesIfMissing(false)}awsDeviceFarmRecorder {  projectName('BoilerPlate')  devicePoolName('Test')  appArtifact('example')  runName('${BUILD_TAG}')  testToRun('example')  storeResults(true)  isRunUnmetered(true)  eventCount('example')  eventThrottle('example')  seed('example')  username('example')  password('example')  appiumJavaJUnitTest('example')  appiumJavaTestNGTest('example')  appiumPythonTest('example')  calabashFeatures('example')  calabashTags('example')  calabashProfile('example')  junitArtifact('example')  junitFilter('example')  uiautomatorArtifact('example')  uiautomatorFilter('example')  uiautomationArtifact('example')  xctestArtifact('example')  xctestUiArtifact('example')  ignoreRunError(true)}mailer(emailList, false, true)  }  wrappers {maskPasswords()artifactoryMaven3NativeConfigurator {  details {artifactoryName(mavenArtifactoryName)artifactoryUrl(mavenArtifactoryUrl)

[JIRA] (JENKINS-38351) Add job DSL script support for aws device farm plugin

2016-09-20 Thread sanyasirao.mop...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Sanyasirao Mopada commented on  JENKINS-38351  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Add job DSL script support for aws device farm plugin   
 

  
 
 
 
 

 
 freeStyleJob(projectName) { scm { git { remote  { url(gitUrl) credentials(gitCredentialsId) }  extensions { submoduleOption  { // By disabling support for submodules you can still keep using basic git plugin functionality and just have Jenkins to ignore submodules completely as if they didn't exist. disableSubmodules(false) // Retrieve all submodules recursively (uses '--recursive' option which requires git>=1.6.5) recursiveSubmodules(true) // Retrieve the tip of the configured branch in .gitmodules (Uses '--remote' option which requires git>=1.8.2) trackingSubmodules(true) // Specify a folder containing a repository that will be used by Git as a reference during clone operations. reference(null) // Specify a timeout (in minutes) for submodules operations. timeout(subModuleTimeOut) // Use credentials from the default remote of the parent project. parentCredentials(false) }  } } } triggers  { bitbucketPush() }  steps { shell(readFileFromWorkspace('shellScript.sh')) }  publishers { archiveArtifacts  { // If set, does not fail the build if archiving returns nothing. allowEmpty(true) // Uses default excludes. defaultExcludes(true) // Specifies files that will not be archived. exclude(null) // Fingerprints all archived artifacts. fingerprint(false) // Archives artifacts only if the build is successful. onlyIfSuccessful(false) // Specifies the files to archive. pattern(archiveArtifactPattern) }   androidApkUpload { // Specifies filenames or patterns matching one or more APKs that should be uploaded to Google Play. apkFilesPattern(googlePlayApkPattern) // Specifies filenames or patterns matching zero or more expansion files that should be associated with the APK files being uploaded to Google Play. expansionFilesPattern(null) googleCredentialsId(googlePlayCredentialId) // You can optionally apply "What's new" text to the uploaded APK(s), in order to inform your user of changes contained in the new app version. recentChangeList{} // The percentage of existing production users to which the uploaded APK(s) should be rolled out. rolloutPercentage(null) // The release track to which the given APK file(s) will be assigned. trackName(googlePlayReleaseTrack) usePreviousExpansionFilesIfMissing(false) } awsDeviceFarmRecorder { projectName('BoilerPlate') devicePoolName('Test') appArtifact('example') runName('$ {BUILD_TAG} ') testToRun('example') storeResults(true) isRunUnmetered(true) eventCount('example') eventThrottle('example') seed('example') username('example') password('example') appiumJavaJUnitTest('example') appiumJavaTestNGTest('example') appiumPythonTest('example') calabashFeatures('example') calabashTags('example') calabashProfile('example') junitArtifact('example') junitFilter('example') uiautomatorArtifact('example') uiautomatorFilter('example') uiautomationArtifact('example') xctestArtifact('example') xctestUiArtifact('example') ignoreRunError(true) } mailer(emailList, false, true) } wrappers { maskPasswords() artifactoryMaven3NativeConfigurator { details { artifactoryName(mavenArtifactoryName) artifactoryUrl(mavenArtifactoryUrl) deployReleaseRepository { keyFromText(mavenArtifactoryTargetRelease) keyFromSelect(mavenArtifactoryTargetRelease) dynamicMode(true) } deploySnapshotRepository{ keyFromText(mavenArtifactoryTargetSnapshot) keyFromSelect(mavenArtifactoryTargetSnapshot) dynamicMode(true) } resolveReleaseRepository { keyFromText(mavenArtifactoryTargetRelease) keyFromSelect(mavenArtifactoryTargetRelease) dynamicMode(true) }  resolveSnapshotRepository  { keyFromText(mavenArtifactoryTargetSnapshot) 

[JIRA] (JENKINS-38351) Add job DSL script support for aws device farm plugin

2016-09-20 Thread sanyasirao.mop...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Sanyasirao Mopada updated  JENKINS-38351  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-38351  
 
 
  Add job DSL script support for aws device farm plugin   
 

  
 
 
 
 

 
Change By: 
 Sanyasirao Mopada  
 
 
Status: 
 Resolved In Review  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-38351) Add job DSL script support for aws device farm plugin

2016-09-19 Thread m...@daniel-spilker.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Daniel Spilker resolved as Fixed  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 This is already supported by the Automatically Generated DSL: 

 

job('example') {
  publishers {
awsDeviceFarmRecorder {
  projectName('example')
  devicePoolName('example')
  appArtifact('example')
  runName('example')
  testToRun('example')
  storeResults(true)
  isRunUnmetered(true)
  eventCount('example')
  eventThrottle('example')
  seed('example')
  username('example')
  password('example')
  appiumJavaJUnitTest('example')
  appiumJavaTestNGTest('example')
  appiumPythonTest('example')
  calabashFeatures('example')
  calabashTags('example')
  calabashProfile('example')
  junitArtifact('example')
  junitFilter('example')
  uiautomatorArtifact('example')
  uiautomatorFilter('example')
  uiautomationArtifact('example')
  xctestArtifact('example')
  xctestUiArtifact('example')
  ignoreRunError(true)
}
  }
}
 

  
 

  
 
 
 
 

 
 Jenkins /  JENKINS-38351  
 
 
  Add job DSL script support for aws device farm plugin   
 

  
 
 
 
 

 
Change By: 
 Daniel Spilker  
 
 
Status: 
 Open Resolved  
 
 
Resolution: 
 Fixed  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
   

[JIRA] (JENKINS-38351) Add job DSL script support for aws device farm plugin

2016-09-19 Thread m...@daniel-spilker.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Daniel Spilker updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-38351  
 
 
  Add job DSL script support for aws device farm plugin   
 

  
 
 
 
 

 
Change By: 
 Daniel Spilker  
 
 
Priority: 
 Blocker Minor  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-38351) Add job DSL script support for aws device farm plugin

2016-09-19 Thread sanyasirao.mop...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Sanyasirao Mopada created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-38351  
 
 
  Add job DSL script support for aws device farm plugin   
 

  
 
 
 
 

 
Issue Type: 
  Improvement  
 
 
Assignee: 
 Daniel Spilker  
 
 
Components: 
 job-dsl-plugin  
 
 
Created: 
 2016/Sep/19 4:59 PM  
 
 
Priority: 
  Blocker  
 
 
Reporter: 
 Sanyasirao Mopada  
 

  
 
 
 
 

 
 I'm unable to find script to configure aws device farm plugin job-dsl groovy script? I spent time to search them. I'm unable to find. Am I missing something? If not please add support for it  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This