Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

Build Condition - Only when S3 repo was changed #4399

nini10 ·

Hi,

I want that my configuration will start running only when S3 repo. change, so "Build Condition" field was configure to:
"If specified script evaluate to true", with following code:
${groovy: _is_repo = repositories.get("myS3Repo").isChanged() logger.info ("Does repo changed?" + _is_repo.toString()) return _is_repo }

However, script return always false, even if S3 repo was changed.

Can someone help me to understand if it defined correctly and if so, why it didn't work well?

Thanks!

  • replies 1
  • views 406
  • stars 0
steveluo ADMIN ·

Hi@nini10 ,

QuickBuild doesn't support get changes from S3 because there is no API to get such info from S3. If you know there is, please let me know and so we can add this feature.