Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • autosubmit autosubmit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 338
    • Issues 338
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 21
    • Merge requests 21
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Earth SciencesEarth Sciences
  • autosubmitautosubmit
  • Merge requests
  • !144

Fixed #428. Added a method on platform that writes the Job Id at the top of...

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged wuruchi requested to merge issue428 into master Sep 17, 2019
  • Overview 0
  • Commits 2
  • Pipelines 0
  • Changes 7

Fixed #428 (closed). Added a method on "platform.py" that writes the Job Id at the top of the file, this method is used in job.py.

Some helpful comments were added.

The method tries to efficiently add the job id in the format "[AUTOSUBMIT JOB ID] = JOBID" at the top of the files followed by two consecutive line breaks. If the prepend has already been inserted, the method does not perform any changes.

The method is used at "job.py" update_status() method when changes to COMPLETED, FAILED or UNKNOWN.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: issue428